GNU Affero General Public License v3.0

项目介绍

stylesuxx/esc-configurator 是一个托管在 GitHub 上的开源项目,主要使用 JavaScript 编写,采用 GNU Affero General Public License v3.0 许可证,目前获得 239 个 Star、75 次 Fork。

仓库全名
stylesuxx/esc-configurator
开源许可证
GNU Affero General Public License v3.0
Star 数
239
Fork 数
75
未关闭 Issue
26

README 摘要

ESC Configurator - PWA (Progressive Web App) A progressive web-app to flash your BLHeliS capable ESCs directly from the web using the Web Serial API or the Web USB API as a fallback for Chrome on Android. The Web USB solution will work on a majority of android devices, but not all. Unfortunately it is not possible to detect if it will work, you will simply have to try. Also see this SO thread and this Chromium…

完整内容见 GitHub 原始 README 或本页 。

常见问题

esc-configurator 用什么语言开发?

主要使用 JavaScript 编写,采用 GNU Affero General Public License v3.0 许可证,目前有 239 个 Star。

esc-configurator 可以免费商用吗?

仓库标注的许可证为 GNU Affero General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 esc-configurator 的源码?

可以直接克隆仓库:git clone https://github.com/stylesuxx/esc-configurator.git,默认分支为 master;安装与运行步骤见仓库 README。

esc-configurator 最近还在维护吗?

仓库最近一次更新为 1 周前,当前有 26 个未关闭 Issue;Star 数为 239,可作为社区活跃度的参考。

关于

A Web-App to flash your BLHeli_S and AM32 based ESCs from the browser using the Web-Serial API.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
397
价值分
165
活跃状态
活跃

README

ESC Configurator

Build Status Codacy Badge codecov Crowdin Netlify Status Discord

ESC Configurator - PWA (Progressive Web App)

A progressive web-app to flash your BLHeli_S capable ESCs directly from the web using the Web Serial API or the Web USB API as a fallback for Chrome on Android. The Web USB solution will work on a majority of android devices, but not all. Unfortunately it is not possible to detect if it will work, you will simply have to try. Also see this SO thread and this Chromium issue.

The latest state of the master branch can be viewed in the browser

This project is basically a re-write and clean up of the original BLHeli Configurator. Some bits and pieces have been re-used - mainly the ones concerning the actual flashing part.

I did this since I was interested in having this as an web app, but also because the original BLHeli configurator code was too much for me to re-factor and I thought I might be able to re-write it in the same amount of time.

I also tried to go with one front-end framework - React. Instead of having a mixture of lots of different stuff.

I re-used most of the look and feel of the original configurator, but since this is used on the web, adaptations to style are very much welcome. In the long run I can see this also be used on mobile phones via OTG port - once the Web Serial API makes it to there.

Supported Platforms & Firmware

Currently the SiLab EMF8 MCU’s are supported with the following firmware:

SiLab EFM8:

ARM:

Adding new firmware

If you are a firmware developer please feel free to drop an issue so I can add your firmware. Look at how BLHeli and Bluejay are implemented.

If your firmware is based on BLHeli, make sure that you set a NAME in your layout - this allows me to easily identify which firmware is flashed and act accordingly.

Adding new platforms

Right now only SiLabs EFM8 MCU’s are supported. But a lot of ARM and Atmel related code is ported, just the flashing is not implemented. If you want to see those features added and are willing to help, please tell me so in the issue section.

Translations

Translations are managed via crowdin so head on over there and contribute to the translations. Should your language not be enabled yet, let me know in the issues and I will add it.

Contributing

Contributions are very welcome. Feel free to submit PR’s and discuss feature requests - I am open for all suggestions. If you submit a PR please also provide tests where it makes sense. Some tests can not (yet) be easily automated, like playing music or the actual flashing process without having to heavily mock those components.

If you do submit a PR, please do so against the develop branch. Also make sure that your code matches the linting rules. If you get warnings, try to adapt your code accordingly. If the rule makes no sense or can’t really be satisfied it’s OK to submit your PR anyway.

Dev Setup

Simply clone the repository, install dependencies and run the dev server. Pull requests are more than welcome.

Search the codes for TODO or IMPROVEMENTS, there is a lot that still can be done.

Install dependencies
yarn
Start dev server
yarn start
Build
yarn build

The build is then available from the build directory and can be served by simply hosting the content of the directory or via serve:

serve -s build -l 1234
Linting and testing
yarn lint
yarn test
yarn test:watch
yarn test:coverage

Docker setup

A Dockerfile is supplied that will build esc-configurator into a container image. A companion script called ‘run.sh’ is also supplied, which will trigger a build, start a container with the image and open the app in a google chrome.

History & Credits

This configurator is based on BLHeli Configurator which was based on Cleanflight Configurator which itself was based on Baseflight Configurator. I would like to thank everyone who contributed to one of those projects, without you this project would not be possible.

Authors & Contributors

To continue the legacy of everyone who was mentioned as author or contributor in one of the previously mentioned projects:

Authors & Contributors for esc-configurator
  • Mathias Rasmussen aka. mathiasvr - primary motivator and contributor for esc-configurator
  • Chris Landa aka. stylesuxx - primary author and maintainer of esc-configurator
  • Georg Oberleitner aka. Noctaro - Logo
Translations

Thank you to everyone who contributed their time and added translations via crowdin:

  • Hugo Chiang aka. DusKing1 - Chinese translation
  • Asier Ruiz aka. Asizon - Spanish translation
  • djtms - Polish translation
  • Mat Cron - Italian translation
  • psicho100pro - Czech translation
  • Noctaro - German translation
Startup Melodies

A big shout out goes to all the talented people submitting startup melodies:

  • Airwolf359
  • arwebSE
  • cypher1591
  • GKLove
  • kilozebra
  • Lordnibbler
  • Noctaro
  • Ryano12
  • Shadow0624
  • Thorondor

If you feel that your name should be mentioned in the authors section, please do not hesitate to submit a pull request.

评论

暂无评论