[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111745":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":13,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":24,"topics":25,"createdAt":10,"pushedAt":31,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":16,"starSnapshotCount":16,"syncStatus":35,"lastSyncTime":36,"discoverSource":37},111745,"luci-theme-carbon","mrjoechen\u002Fluci-theme-carbon","mrjoechen","A clean, glass-style LuCI theme for OpenWrt — dashboard, device brand icons, simple\u002Fpro navigation, light\u002Fdark, 中文\u002FEnglish","https:\u002F\u002Fmrjoechen.github.io\u002Fluci-theme-carbon\u002F",null,"JavaScript",164,22,54,1,0,5,37,92,81.73,"Apache License 2.0",false,"main",true,[26,27,28,29,30],"immortalwrt","luci","luci-theme","openwrt","router","2026-11-23 13:34:17","2026-11-23 17:59:28","\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"htdocs\u002Fluci-static\u002Fcarbon\u002Flogo.svg\" width=\"72\" height=\"72\" alt=\"Carbon\">\n\n# luci-theme-carbon\n\nA clean, glass-style LuCI theme for OpenWrt — built for everyday users.\n\n**English** · [简体中文](README.zh-CN.md)\n\n[![Build](https:\u002F\u002Fgithub.com\u002Fmrjoechen\u002Fluci-theme-carbon\u002Factions\u002Fworkflows\u002Fbuild.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fmrjoechen\u002Fluci-theme-carbon\u002Factions\u002Fworkflows\u002Fbuild.yml)\n[![Release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fmrjoechen\u002Fluci-theme-carbon)](https:\u002F\u002Fgithub.com\u002Fmrjoechen\u002Fluci-theme-carbon\u002Freleases\u002Flatest)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fmrjoechen\u002Fluci-theme-carbon)](LICENSE)\n[![Download](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002Fmrjoechen\u002Fluci-theme-carbon\u002Ftotal?style=flat)](https:\u002F\u002Fgithub.com\u002Fmrjoechen\u002Fluci-theme-carbon\u002Freleases\u002Flatest)\n[![Star](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fmrjoechen\u002Fluci-theme-carbon)](https:\u002F\u002Fgithub.com\u002Fmrjoechen\u002FShowcaseApp\u002Fstargazers)\n\n\n**[Live demo](https:\u002F\u002Fmrjoechen.github.io\u002Fluci-theme-carbon\u002F) · [English demo](https:\u002F\u002Fmrjoechen.github.io\u002Fluci-theme-carbon\u002F?lang=en)**\n\n\u003C\u002Fdiv>\n\n## Screenshots\n\n\n\u003Cp align=\"center\">\u003Cimg src=\".github\u002Fscreenshots\u002Foverview-light.jpg\" alt=\"Light\" width=\"100%\">\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Cimg src=\".github\u002Fscreenshots\u002Foverview-dark.jpg\" alt=\"Dark\" width=\"100%\">\u003C\u002Fp>\n\n## Features\n\n- **Dashboard** on *Status → Overview*: live traffic chart for any interface, CPU \u002F memory \u002F storage rings, memory breakdown, load sparkline, connection count, uptime, temperature sensors (thermal zones and hwmon), WAN IPv4\u002FIPv6, connected devices and interface status. LuCI's original status widgets are kept behind *Show detailed status* and stop polling while collapsed.\n- **Discovered devices** — DHCPv4\u002Fv6 leases, Wi‑Fi stations (band and signal) and IPv4 ARP neighbours are merged by MAC. Discovery still works with the local DHCP server disabled, including when LAN obtains its own address by DHCP. Gateways, neighbour entries and DHCP leases are labelled separately; a missing local lease does not imply a fixed IP. Devices are recognised by hostname and MAC vendor prefix (35 brands, ~9,200 IEEE OUI prefixes). The count includes devices known to this router, possibly offline ones, and is not a live census of the entire network. Recognisable separate uplinks are excluded; a gateway sharing LAN is retained and labelled. Without an interface named `lan`, custom interface roles may be ambiguous, so discoveries on those interfaces are retained.\n- **Simple \u002F Pro navigation** — *Simple* shows only the pages most people need (overview, internet, Wi‑Fi, software, password, backup, reboot); *Pro* shows the full LuCI menu with an icon for every page.\n- **Frosted-glass sidebar** that collapses into an icon rail (button on the sidebar edge or \u003Ckbd>Ctrl\u003C\u002Fkbd>\u002F\u003Ckbd>⌘\u003C\u002Fkbd> + \u003Ckbd>\\\\\u003C\u002Fkbd>); hovering a rail icon opens its sub-menu.\n- **Light \u002F dark \u002F auto** theme switch (top-right) and a **language switch** (bottom-left) for every installed LuCI language. Theme strings ship in English, Simplified and Traditional Chinese, German, Spanish, French, Italian, Japanese, Korean, Brazilian Portuguese, Russian, Turkish and Vietnamese; more can be added as gettext files in `po\u002F`.\n- **Keyboard and touch friendly** — arrow keys in segmented controls, a focus-managed phone drawer, and rail sub-menus that open with a tap, \u003Ckbd>Enter\u003C\u002Fkbd> or \u003Ckbd>→\u003C\u002Fkbd>.\n- **Mobile friendly** — drawer navigation and tables that reflow into cards.\n- **Custom logo** — upload a PNG, JPEG, WebP, GIF or SVG in *System → Carbon Theme Settings*. It replaces the sidebar, login, overview and browser-tab logo, and is kept across theme and firmware upgrades. SVGs with scripts or embedded content are rejected.\n- **Online updates** — check and install stable releases from *System → Carbon Theme Settings*, optionally through an HTTPS download mirror. APK signatures remain verified; download size and SHA-256 are checked against GitHub before installation.\n- Existing LuCI pages and plugins keep working;\n- Architecture independent: one theme package for every router.\n\n## Installation & Usage\n\n### Compatibility\n\n| Firmware | Package manager | Package |\n|---|---|---|\n| OpenWrt \u002F ImmortalWrt 23.05, 24.10 | opkg | `.ipk` or install script |\n| OpenWrt \u002F ImmortalWrt 25.x, snapshot | apk | `.apk` or install script |\n\nRequires the ucode-based LuCI (23.05 or newer).\n\nAll files are on the [Releases](https:\u002F\u002Fgithub.com\u002Fmrjoechen\u002Fluci-theme-carbon\u002Freleases\u002Flatest) page.\n\n### Option 1 — install script (any firmware)\n\nRun on the router (SSH):\n\n```bash\nwget -O \u002Ftmp\u002Fcarbon-install.sh https:\u002F\u002Fgithub.com\u002Fmrjoechen\u002Fluci-theme-carbon\u002Freleases\u002Flatest\u002Fdownload\u002Fcarbon-install.sh && sh \u002Ftmp\u002Fcarbon-install.sh\n```\n\nThe script embeds the release's signed `.apk`, its `.ipk` and Carbon's public key, and installs through the system package manager — so online updates work and **no key import is needed**. The APK signature is checked with the embedded key in a private key directory; `\u002Fetc\u002Fapk\u002Fkeys` is left alone. Missing dependencies (`curl`, `ca-bundle`, `flock`) come from your firmware's feeds. Options:\n\n| Command | Effect |\n|---|---|\n| `sh carbon-install.sh --trust-key` | also add Carbon's key to `\u002Fetc\u002Fapk\u002Fkeys`, so later LuCI uploads of Carbon APKs work |\n| `sh carbon-install.sh --files` | only copy files (no package record, no online updates) |\n\nRunning the script again upgrades in place, and turns an older script-only install into a registered package. If a native install is impossible (for example offline with missing dependencies), it falls back to copying files and says so.\n\nIf the router has no internet access, download `carbon-install.sh` on your computer and copy it over (`-O` is needed because OpenWrt's SSH server has no SFTP):\n\n```bash\nscp -O carbon-install.sh root@192.168.1.1:\u002Ftmp\u002F\n```\n\n```bash\nssh root@192.168.1.1 \"sh \u002Ftmp\u002Fcarbon-install.sh\"\n```\n\n### Option 2 — opkg (`.ipk`, 23.05 \u002F 24.10)\n\nUpload `luci-theme-carbon_*_all.ipk` in *System → Software → Upload Package*, or:\n\n```bash\nopkg install \u002Ftmp\u002Fluci-theme-carbon_*_all.ipk\n```\n\n### Option 3 — apk (`.apk`, 25.x \u002F snapshot)\n\n**v1.0.1 and newer Release APKs are signed.** Import `carbon-apk.pem` once per device, then install or upgrade directly in LuCI:\n\n1. Download the public key and APK from [Releases](https:\u002F\u002Fgithub.com\u002Fmrjoechen\u002Fluci-theme-carbon\u002Freleases\u002Flatest).\n2. In Pro mode, open **System → Administration → Repo Public Keys**, paste the full public key and click **Add key** (if your firmware provides this page).\n3. Open **System → Software → Upload Package**, upload the APK and install.\n\nOlder LuCI needs a one-time SSH key import. See [APK configuration and troubleshooting](docs\u002Fapk-install.md) for the verified key fingerprint, commands and preserving the key across firmware upgrades. The old v1.0.0 APK is unsigned; download a new version. Repository `wget` \u002F `packages.adb` errors are separate network\u002Ffeed problems and still need fixing for reliable web installs.\n\n### After installing\n\nCarbon becomes the default theme. Refresh the page, then **log out and log in once** so the dashboard gets its read-only permissions. Switch themes any time in *System → System → Language and Style*.\n\n### Usage\n\n| What | Where |\n|---|---|\n| Simple \u002F Pro menu | segmented control at the top of the sidebar |\n| Collapse sidebar | round button on the sidebar edge, or \u003Ckbd>Ctrl\u003C\u002Fkbd>\u002F\u003Ckbd>⌘\u003C\u002Fkbd> + \u003Ckbd>\\\\\u003C\u002Fkbd> |\n| Light \u002F dark \u002F auto | top-right of the toolbar |\n| Language | bottom-left of the sidebar (changes LuCI's language, same as *System → Language*; a list when more than two are installed) |\n| Live traffic interface | picker in the *Live Traffic* card: *Auto* follows the WAN; any interface or network device (e.g. an xPON port such as `pon0` that also carries IPTV) can be picked, remembered per browser |\n| Check and install theme updates | System → Carbon Theme Settings (Simple and Pro modes) |\n| Custom logo | System → Carbon Theme Settings → Logo (*Restore default* undoes it) |\n| LuCI's original status page | *Show detailed status* under the dashboard |\n\n### Online upgrades (v1.1.0+)\n\nInstall v1.1.0 or newer through the native package manager once. Open **System → Carbon Theme Settings** (**Carbon Update** in v1.1.0), click **Check for updates**, then **Install update** and confirm. The page shows release notes, progress and installation logs; refreshing it resumes monitoring. Theme preferences and router configuration are retained. Same-version installs, downgrades and expired update requests are rejected.\n\nAPK updates verify the bundled Carbon public key, then use APK's normal signature verification again during installation. They use already-installed dependencies without fetching firmware indexes. This does not change `\u002Fetc\u002Fapk\u002Fkeys`; standard LuCI package uploads still need the one-time key import above. IPK updates use HTTPS plus the release asset's SHA-256 and size checks. Update checks need router access to GitHub and correct system time. See [online update details](docs\u002Fonline-update.md).\n\nIf GitHub downloads are slow or blocked, enter an HTTPS **Download mirror** prefix on the same page. Only the package bytes use the mirror; version, size and SHA-256 still come from GitHub, and the updater falls back to GitHub if the mirror fails.\n\nRequired packages: `curl`, `ca-bundle`, `flock` (installed as native package dependencies). Installs made with `--files` or with installers before v1.1.3 are not registered with apk\u002Fopkg; run the current `carbon-install.sh` once to enable online updates.\n\n### Uninstall\n\n```bash\nsh \u002Ftmp\u002Fcarbon-install.sh uninstall\n```\n\nor remove the package with `opkg remove luci-theme-carbon` \u002F `apk del luci-theme-carbon`. The previous theme is restored automatically.\n\n## Build from source\n\n**Without the SDK** (produces the install script and an `.ipk`):\n\n```bash\nsh scripts\u002Fbuild-installer.sh\n```\n\n```bash\nsh scripts\u002Fbuild-ipk.sh\n```\n\n**With the OpenWrt SDK**: put this directory under `package\u002F` and run `make package\u002Fluci-theme-carbon\u002Fcompile`.\n\n**APK signing**: raw SDK APKs are unsigned. See [signing setup and validation](docs\u002Fapk-signing.md) for local signing and the `APK_SIGNING_KEY` Actions secret required for releases.\n\n**Brand data** (`brands.js`) is regenerated with `python3 -I scripts\u002Fgen-brands.py`.\n\n### Development\n\n| Source | Generated | Command |\n|---|---|---|\n| `styles\u002FNN-*.css` (one file per section) | `htdocs\u002Fluci-static\u002Fcarbon\u002Fcarbon.css` | `python3 -I scripts\u002Fbuild-css.py` |\n| `po\u002F\u003Clang>\u002Fcarbon.po` (gettext) | `po\u002Ftemplates\u002Fcarbon.pot`, `htdocs\u002Fluci-static\u002Fcarbon\u002Fi18n\u002F\u003Clang>.js` | `python3 -I scripts\u002Fgen-i18n.py` |\n| `Makefile` `PKG_VERSION` \u002F `PKG_RELEASE` | `root\u002Fusr\u002Fshare\u002Fcarbon\u002Fversion` (keep in sync) | `sh scripts\u002Fcheck-version.sh` |\n\nGenerated files are committed so every install path works without a build step; CI fails if they are stale (`--check`). The version file is the only version source: the theme template appends it to asset URLs and `carbon.js` reads it from there.\n\nTo add a language, create `po\u002F\u003Clang>\u002Fcarbon.po` (copy the template), translate it and run `gen-i18n.py`. The SDK also builds it into a `luci-i18n-carbon-\u003Clang>` package.\n\nRelease notes: write `docs\u002Freleases\u002FvX.Y.Z.md` (copy the layout of the previous one) with a `## English` and a `## 简体中文` section. The release job (`scripts\u002Frelease-notes.sh`) appends the matching section of `docs\u002Freleases\u002Finstall.md` to each, so every language reads through once.\n\nRelease packages ship minified CSS\u002FJS (`node scripts\u002Fminify.mjs`, run by CI on a disposable checkout). Tests:\n\n```bash\nnpm ci && npm test\n```\n\n```bash\nnpx playwright install chromium && npm run test:browser\n```\n\nSee [tests\u002FREADME.md](tests\u002FREADME.md) for the Docker-based updater and template tests.\n\n## Notices\n\n- Brand glyphs: [Simple Icons](https:\u002F\u002Fsimpleicons.org) (CC0 1.0). All trademarks belong to their respective owners.\n- MAC vendor prefixes: IEEE Registration Authority MA-L registry.\n- Widget behaviour follows the official `luci-theme-bootstrap`.\n\nLicensed under [Apache License 2.0](LICENSE).\n","这是一款为OpenWrt（及ImmortalWrt）设计的现代化LuCI Web管理界面主题，采用简洁通透的玻璃拟态（frosted-glass）视觉风格。支持深色\u002F浅色\u002F自动模式切换、中英文语言切换、双导航模式（简易版与专业版）、带实时流量图与硬件状态环形图的增强型仪表盘，以及融合DHCP\u002FARP\u002FWi-Fi设备的统一终端识别功能。适用于家庭或小型办公场景下的路由器日常管理，尤其适合注重界面美观性、易用性与信息密度的OpenWrt终端用户。",2,"2026-11-24 04:41:39","CREATED_QUERY"]