# Yet Another Firmware Selector
A simple OpenWrt firmware selector using autocompletion. Uses plain
-HTML/CSS/JavaScript.
+HTML/CSS/JavaScript. Checkout the [Demo](https://mwarning.github.io/yet_another_firmware_selector/).
![image](misc/screenshot.png)
-Checkout the [Demo](https://mwarning.github.io/yet_another_firmware_selector/)!
## Run
Configure with [config.js](config.js).
+## Attended Sysupgrade Support
+
+This firmware selector can speak to a [ASU server](https://github.com/aparcar/asu) to build custom images. To enable the feature, the `asu_url` option in the config.js needs to be set.
+
## Update Database
The `names-<version>.json` files are based on JSON files created by OpenWrt
A [Python script](misc/collect.py) is included to merge the JSON files:
`./collect.py bin/ --url
'https://downloads.openwrt.org/releases/{version}/targets/{target}' >
-names-test.json`.
+overview.json`.
For the OpenWrt 18.06 and 19.07 releases, you need to patch OpenWrt to output JSON files for collect.py (commit [openwrt/openwrt@881ed09](https://github.com/openwrt/openwrt/commit/881ed09ee6e23f6c224184bb7493253c4624fb9f)).
-## Contributions
-
-It would be nice to have more features. E.g.:
-
-* more translations
-* help text for images
-* better CSS
-
## Similar Projects
- [Gluon Firmware Selector](https://github.com/freifunk-darmstadt/gluon-firmware-selector): Original source of this project for images generated by [Gluon](https://github.com/freifunk-gluon/), now with pictures.