support link in data json file
[web/firmware-selector-openwrt-org.git] / README.md
1 # Yet Another Firmware Selector
2
3 A simple OpenWrt firmware selector using autocompletion. Uses plain HTML/JavaScript.
4
5 ![image](screenshot.png)
6
7 Run:
8
9 * Download repository.
10 * Go to the project www directory.
11 * Start webserver (e.g. `python3 -m http.server`)
12 * Go to `http://localhost:8000`
13
14 Configure with [config.js](www/config.js).
15
16 ## Update Database
17
18 OpenWrt master has a feature to create json files: `Global build settings ---> [*] Create JSON info files per build image`.
19
20 The included python script can merge all these files for a new data.json file: `./collect.py bin/ bin2/ > data.json`
21
22 The data JSON file can also include a link that will overwrite downloadLink from `config.json`.
23
24 ## Contributions
25
26 It would be nice to have more features. E.g.:
27
28 * more translations
29 * help text for images
30 * better CSS