No description
Find a file
2021-08-23 22:35:44 +02:00
.github/workflows add more tests. Push code coverage to codecov 2021-01-13 18:41:12 +05:30
public add manifest, new releases and add attribution 2021-05-02 18:00:26 +05:30
scripts add manifest, new releases and add attribution 2021-05-02 18:00:26 +05:30
src add manifest, new releases and add attribution 2021-05-02 18:00:26 +05:30
.dockerignore added a Dockerfile and gitlab-ci config 2021-08-23 20:30:31 +02:00
.env initializes the base for the firmware wizard 2019-06-26 02:43:24 +05:30
.env.development Add JS tests. Cleanup code and add github workflow to test. 2021-01-12 23:40:38 +05:30
.eslintignore Add JS tests. Cleanup code and add github workflow to test. 2021-01-12 23:40:38 +05:30
.eslintrc.js fix failing test 2021-03-21 18:56:05 +05:30
.gitignore Rewrite using typescript, integrate the latest changes from @mwarning/openwrt-firmware-selector 2021-01-10 19:56:13 +05:30
.gitlab-ci.yml maybe the artifacts path was wrong? 2021-08-23 22:35:44 +02:00
.prettierrc Rewrite using typescript, integrate the latest changes from @mwarning/openwrt-firmware-selector 2021-01-10 19:56:13 +05:30
Dockerfile added a Dockerfile and gitlab-ci config 2021-08-23 20:30:31 +02:00
jest.config.js fix failing test 2021-03-21 18:56:05 +05:30
LICENSE add MIT license 2020-06-07 13:16:19 +05:30
package.json add eslint-plugin-react-hooks 2021-03-22 12:29:03 +05:30
README.md add manifest, new releases and add attribution 2021-05-02 18:00:26 +05:30
tsconfig.json Add JS tests. Cleanup code and add github workflow to test. 2021-01-12 23:40:38 +05:30
yarn.lock Bump path-parse from 1.0.6 to 1.0.7 2021-08-22 20:38:15 -10:00

OpenWrt Firmware Selector codecov

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:

  1. Clone the repository

  2. Use yarn to install package dependencies
    yarn install

  3. Run scripts/collect.py to 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/
    
  4. 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:

    1. yarn deploy
    2. Enable Github Pages setting to use gh-pages branch.
  • Elsewhere:

    1. Build the app using:
      yarn build
    2. Host the files from /build directory.

LICENSE