mirror of
https://git.netzspielplatz.de/docker-multiarch/openwrt-firmware-selector.git
synced 2025-11-08 17:09:24 +00:00
1.2 KiB
1.2 KiB
OpenWrt Firmware Selector 
A simple OpenWrt firmware selector using autocompletion.
Features
- Easily search devices
- Option to download Vanilla images
- Option to download custom images
Setting up
You can set it up easily:
-
Clone the repository
-
Use yarn to install package dependencies
yarn install -
Run
scripts/collect.pyto generate required JSON files.Format:
./scripts/collect.py --image-url <image_url> <release_src> <config_path> <output_path>Example:
./scripts/collect.py --image-url 'https://downloads.openwrt.org/{base}/{target}' https://downloads.openwrt.org ./src ./public/ -
Use the following command to start a dev server:
yarn start
Deployment
In order to deploy the web app, follow the following steps:
-
For gh-pages:
yarn deploy- Enable Github Pages setting to use gh-pages branch.
-
Elsewhere:
- Build the app using:
yarn build - Host the files from
/builddirectory.
- Build the app using: