Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 814 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 814 Bytes

sl-web-tools

Open source tools to allow working with USB sticks containing SL chips in the browser. Powered by NabuCasa/universal-silabs-flasher and Pyodide.

Setup

npm install @nabucasa/sl-web-tools

Integration

Create a manifest to customize the flasher for your device and include the web component:

<nabucasa-zigbee-flasher manifest="./assets/manifests/skyconnect.json">
  <span slot="button">Connect</span>
</nabucasa-zigbee-flasher>

Building

To recreate src/requirements.txt, recompute dependencies with pip:

python -m venv venv
venv/bin/pip install -r requirements.txt
venv/bin/pip freeze > src/requirements.txt

Finally, build with npm:

npm run build