A small "app store" for the projects in GLiNet-Community-Scripts: what each tool does, which routers it supports and how to install it. A static site built with Astro, deployed to GitHub Pages at https://gl-i.net.
Unofficial. This is a community project. It is not affiliated with, endorsed by or operated by GL.iNet.
nvm use # Node 22
npm install
npm run dev # http://localhost:4321
npm run build # fetches GitHub data, validates content, builds to dist/All text lives in three YAML files. Changing the site never touches HTML.
content/apps.yaml: one entry per repository (tagline, description, features, install command, supported models, caveats). The header of the file documents every field.content/categories.yaml: the sections and filter chips, in display order.content/site.yaml: hero, disclaimer, official GL.iNet links, andignorefor repositories that should not appear.content/advisories/: one file per security advisory, see below.content/notices.yaml: short notices without a page, e.g. maintenance of GL.iNet's forum.
Adding a project: suggestions arrive through the
project form
(.github/ISSUE_TEMPLATE/new-project.yml); its fields map one to one onto
apps.yaml, and the pull request that adds the entry can close the issue. Fork the project into the organization, then append a block to
apps.yaml. Copy the install command verbatim from the project's README;
the install sheet splits long commands into lines on its own, and the copy
button always copies the original one-liner.
Tile icons (see src/lib/icons.ts): router, shield, lock, chip,
signal, route, wave, radar, book, terminal, message,
antenna, usb, toggle, gauge, clock, phone, backup,
dashboard, satellite, monitor, chat, desktop, puzzle, layers,
vlan, speed, key, tailscale, globe, bug.
The build validates everything. Unknown categories, icons or types, duplicate repositories and malformed links fail with a clear message.
Security issues in GL.iNet routers and services get an advisory under
/security/. Each one is a YAML file in
content/advisories/, named after its ID (csa-2026-01.yaml for
CSA-2026-01). _template.yaml
documents every field; files starting with _ are ignored.
One file drives everything:
- its page
/security/<id>/, the archive on/security/and the RSS feed/security/feed.xml; - while
statusis active (investigating,fix-rolling-out,mitigated): the red (critical, high) or amber (medium, low) bar on every page (its "What to do" link goes to the advisory page), the "Security" pill in the navigation, a note in every install sheet and an "Advisory" pill on the cards listed inapps. Withbanner_untilthe bar (and the rest) ends at that date or moment while the advisory stays active on its page and in the archive; - once
fixed: a green "Resolved" bar for 48 hours afterupdated, dismissible. Giveupdateda time for exactly 48 hours.
Nobody has to remove a bar by hand. Each build writes into notices.json
when a bar next appears or ends on its own (next_change).
.github/workflows/notices-watch.yml reads only that file every 30 minutes,
no checkout and no build, and starts the deploy once the moment has passed.
Until then a small script in the page already hides a bar whose time is up.
Ground rules, partly enforced by the build:
- Every advisory has a community ID (
CSA-YYYY-NN). A CVE is optional: most issues never get one. confirmedsays how sure we are: GL.iNet said so publicly, GL.iNet staff confirmed it to us directly (only what GL.iNet agreed to share), or not confirmed. The build checks that a matching source exists.- Sources of type
gl-inet*and links in the steps must point togl-inet.com; CVE sources to nvd.nist.gov or cve.org. We never link firmware anywhere else. - Say what GL.iNet said, list what we don't know in
unknowns, and don't guess. - Our own assessment goes into
community, a separate box "The community team's view" after "Do this now", never into GL.iNet's statements. A note there can carry alinkto community work such as a script; say in its text that it is community work and not reviewed by GL.iNet. - A fix or check tool built by the community goes into
community_fix: a dark green card after "Do this now" and a "Community fix" link in the bar. It can get its own page below the advisory, likesrc/pages/security/csa-2026-01/fix.astro(/security/csa-2026-01/fix/). - Bump
updatedwith every change. The RSS feed shows the advisory again, and readers who dismissed the "Resolved" bar see it again.
Everything the site currently shows as a bar (open advisories, fixed ones
in their first 48 hours, entries from notices.yaml) is
also published for other sites and scripts. firmware.gl-i.net
and its terminal menu read it.
/notices.json:{ version: 1, generated, source, notices: [...], next_change }, each notice withkind(advisoryornotice),id,level(critical,warning,infoorresolved),text,url,updated,untilwhen the bar ends on its own, and for advisoriestitle,severity,status,exploited.next_changeis the next moment a bar appears or ends on its own, ornull./notices.tsv: one line per notice, tab-separated, no header:level id updated url text. An empty file means nothing to show.
Both change with every build of this site: each push to main, nightly,
and within 30 minutes of a bar's start or end (see above).
"Report privately" on /security/ uses GitHub's private vulnerability
reporting (site.yaml → security.report). Turn it on once under
Settings → Code security → Private vulnerability reporting.
scripts/fetch-github.mjs runs before every build. For each repository it
reads the original project (the fork parent, or upstream for mirrored
repositories), because the synced copy in the organization has no stars or
releases of its own:
- stars,
- the latest release, or else the highest version-like tag,
- the last commit (
pushed_at), which drives "Recently updated".
It is fail-soft: if the API is unreachable, it falls back to the committed
src/data/github-fallback.json, so builds never break. Refresh that file
now and then by copying a fresh src/data/github.json over it.
The script also lists all public repositories of the organization. Each one
without an apps.yaml entry (and not in ignore) shows up as a warning in
the workflow run, so new projects don't go unnoticed.
GitHub Pages is published by GitHub Actions, there is no gh-pages
branch. .github/workflows/deploy.yml builds and publishes the site on
every push to main, every night at 04:41 UTC and on manual dispatch. .github/workflows/ci.yml runs the same
build on pull requests.
One-time setup:
- Settings → General → Default branch:
main. Scheduled runs only happen on the default branch. If a deploy stops with "not allowed to deploy to github-pages due to environment protection rules", allowmainunder Settings → Environments → github-pages. - Settings → Pages: Source GitHub Actions, custom domain
gl-i.net, then Enforce HTTPS once the certificate is issued. - DNS for
gl-i.net(apex domain):A→185.199.108.153,185.199.109.153,185.199.110.153,185.199.111.153AAAA→2606:50c0:8000::153,2606:50c0:8001::153,2606:50c0:8002::153,2606:50c0:8003::153- optional
CNAME www→glinet-community-scripts.github.io
- Recommended: verify
gl-i.netfor the organization (Organization settings → Pages → Add a domain) so no other account can claim it.
No cookies, no analytics, no requests to third parties at view time. Fonts
use the system stack and all icons are inline SVG. Should a web font ever
be needed, its woff2 files go into public/fonts/ instead of being
loaded from Google.
public/og.png(1200×630): the Open Graph / X card of the site.social/github-preview.png(1280×640): upload it under Settings → General → Social preview, so links to this repository get the same card.public/apple-touch-icon.png(180×180) andpublic/favicon.svg: the Wi-Fi mark.
The three PNGs are rendered from the real content (the tile grid shows the
most-starred apps) by scripts/render-social.mjs. They are committed, not
built. Regenerate them after changing the hero copy, or when the top apps
have shifted:
npm i --no-save playwright && npx playwright install chromium
node scripts/render-social.mjs