| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A static, GitHub-Pages-friendly web installer for WLED, built on ESP Web Tools.
No build step and no server component: index.html fetches the release list straight from the GitHub Releases API at page-load time and generates an install manifest on the fly for whichever version / variant / flash size combination the user picks.
Any static file server works, e.g.:
npx serve .Then open the printed local URL in Chrome or Edge (Web Serial is required).
Run python tools/update_build_info.py once beforehand (and again after any change you want to see reflected) to populate the "Installer build:" line in the footer - see Build info below.
Two ways to host this on GitHub Pages:
Either way, no build step is required for the site itself - the repository root is the site as-is.
lang/languages.json maps each supported language code to its display name, and lang/<code>.json holds that language's strings. Both are fetched at runtime - i18n.js never hardcodes a language list.
To add a language:
That's it - the language selector and every data-i18n element on the page pick it up on next load, no code changes required. Missing keys in a translation silently fall back to English.
The footer shows when this copy of the site was last built (date/time + short commit hash, with a + suffix if the working tree had uncommitted changes) - handy for confirming you're not looking at a stale cached or deployed copy. It reads build-info.json.
If deploying via the GitHub Actions workflow (see Deploying), this is fully automatic - the workflow regenerates it fresh on every deploy, and it's never committed to the repository at all (each deploy's artifact just carries its own current copy).
For local testing, or if deploying via "Deploy from branch" instead, nothing regenerates it for you - build-info.json isn't committed by default, so the footer line just stays hidden until you run:
python tools/update_build_info.pyTo have that happen automatically on every commit rather than remembering to run it by hand (useful for the "Deploy from branch" case, or just for local testing convenience), opt into the repo's hook once with:
git config core.hooksPath .githooksMIT, see LICENSE.
| Back | FazBrowse Home | New Git URL |