Go to file
2023-04-04 21:33:58 +02:00
.devcontainer add a devcontainer and common VS Code task definitions 2023-01-27 16:43:25 +01:00
.github/workflows fix publish ci workflow (#90) 2023-02-28 20:51:34 +08:00
.vscode quick and dirty hack for as openDTU installer 2023-04-04 21:33:58 +02:00
assets UX changes for file selection, validations etc. 2021-07-29 14:21:17 +05:30
binary_blob quick and dirty hack for as openDTU installer 2023-04-04 21:33:58 +02:00
src Merge pull request #83 from igrr/feature/timeout 2023-02-09 17:15:28 +01:00
.eslintignore first attempt to re write in typescript 2022-11-25 18:49:01 +08:00
.eslintrc first attempt to re write in typescript 2022-11-25 18:49:01 +08:00
.gitignore add a devcontainer and common VS Code task definitions 2023-01-27 16:43:25 +01:00
.nojekyll Add .nojekyll file 2021-06-16 22:04:54 +05:30
.prettierrc first attempt to re write in typescript 2022-11-25 18:49:01 +08:00
favicon.ico add review changes 2022-11-25 18:49:08 +08:00
index.html quick and dirty hack for as openDTU installer 2023-04-04 21:33:58 +02:00
index.js quick and dirty hack for as openDTU installer 2023-04-04 21:33:58 +02:00
LICENSE Added license 2021-05-31 23:17:52 +05:30
package-lock.json quick and dirty hack for as openDTU installer 2023-04-04 21:33:58 +02:00
package.json quick and dirty hack for as openDTU installer 2023-04-04 21:33:58 +02:00
README.md use rollup script for publish prepare script 2023-01-17 14:46:35 +08:00
rollup.config.js use stub JSON files from esptool.py v4.5.dev1-2-g32e801484 2023-01-13 14:16:02 +01:00
tsconfig.json enable strict mode 2023-02-03 19:11:09 +01:00

Javascript implementation of esptool

This repository contains a Javascript implementation of esptool, a serial flasher utility for Espressif chips. Unlike the Python-based esptool, esptool-js doesn't implement generation of binary images out of ELF files, and doesn't include companion tools similar to espefuse.py and espsecure.py.

esptool-js is based on Web Serial API and works in Google Chrome and Microsoft Edge, version 89 or later.

Live demo

Visit https://espressif.github.io/esptool-js/ to see this tool in action.

Testing it locally

npm install
npm run build
python3 -m http.server 8008

Then open http://localhost:8008 in Chrome or Edge. The npm run build step builds the bundle.js used in the example index.html.

License

The code in this repository is Copyright (c) 2021 Espressif Systems (Shanghai) Co. Ltd. It is licensed under Apache 2.0 license, as described in LICENSE file.