mirror of
https://git.netzspielplatz.de/docker-multiarch/openwrt-firmware-selector.git
synced 2025-11-08 19:09:24 +00:00
No description
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2. - [Release notes](https://github.com/npm/ssri/releases) - [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md) - [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2) Signed-off-by: dependabot[bot] <support@github.com> |
||
|---|---|---|
| .github/workflows | ||
| public | ||
| scripts | ||
| src | ||
| .env | ||
| .env.development | ||
| .eslintignore | ||
| .eslintrc.js | ||
| .gitignore | ||
| .prettierrc | ||
| jest.config.js | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| yarn.lock | ||
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: