anothaDev/luci-theme-vantage
حول
Vantage: a from-scratch LuCI theme and live dashboard for OpenWrt 25.12
التعلّم والتعليمالنمو المقاس للنجوم
- خلال 24 ساعة
- +٩
- خلال 7 أيام
- +٣٢
- خلال 15 يومًا
- +٨٨
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلVantage
A theme and live dashboard for LuCI, OpenWrt's web interface. Log in and see who's connected, how busy your connection is, and what needs fixing. For OpenWrt 25.12 and 24.10.
Website · Install · Screenshots · Changelog
The video and screenshots use recorded data with addresses and names replaced. The router and the larger access point are generated.
What you get
Two packages that work together or alone: the theme doesn't need the dashboard, and the dashboard on its own works under any LuCI theme. A third, optional one adds your other access points to the dashboard, a fourth, optional and experimental, the traffic of devices that share a port, and a fifth, optional, a Tailscale tile.
The dashboard (luci-app-vantage) is the page you land on after login.
- Health at a glance. Six checks: uplink, CPU, memory, Wi-Fi, client signal and storage. Each gives a one-line reason, and clicking it opens the details.
- A live network path. Your internet lines, this device, its radios and SSIDs, and its wired ports, with packets that move at the real uplink rate. Click anything for details. On a big network, Compact under Customize makes every network, port and access point one line.
- Your other access points too (optional add-on,
luci-app-vantage-aps). Pair each access point once and the router's dashboard shows its SSIDs, clients and wired devices beside its own. The router reads them over SSH with a key that can only fetch that report; nothing is shared until you pair. - Traffic per device, also behind a switch (optional add-on
luci-app-vantage-traffic, experimental). On a router, devices that share a port get the traffic that passes the router for each of them, from the router's own connection tracking. No firewall rules. - Your tailnet (optional add-on
luci-app-vantage-tailscale). A tile with the router's Tailscale state as tailscaled reports it: its addresses, subnet routes, exit node, DERP region, peers online, warnings, the devices online with their addresses and the subnets other devices route. Read-only. - Every client, by name. Your alias, a name from DHCP, mDNS, WPS or reverse DNS, or else the vendor. You get signal, link rate, Wi-Fi generation, live traffic and an experience score that explains itself. Wired devices are listed too, with their port and link speed, and a device you named stays in the list while it's offline.
- Live charts. Five minutes of throughput for the uplink and every radio, in the chart style you choose, plus radio cards, top talkers (Wi-Fi clients, and wired devices that have a port to themselves, so a router without Wi-Fi has them too) and a system tile.
- WireGuard peers. Where a tunnel is up, a tile lists its peers by name, with the time since their last handshake and their live traffic. For logins that may open LuCI's own WireGuard status.
- UPnP port maps. Where LuCI's UPnP app is installed, a tile lists the IPv4 ports devices on your network opened through UPnP, NAT-PMP or PCP: which device, which port, what for and how long. Read-only, for logins that may open LuCI's UPnP page.
- Every port. On a device with two Ethernet ports or more, a tile
shows each one: link and speed, live traffic, the wired devices behind
it and which port your internet line leaves through. Errors and drops
show up only where there are any. With
ethtoolinstalled, the ports of a switch chip (DSA) also count what the chip forwards by itself. - Firewall overview. What's open from the internet, which zones reach which, and warnings for risky setups. Every item links to the LuCI page that changes it.
- Your own layout. Drag, resize or hide tiles, with one layout per screen size. With the Vantage theme, your layout and chart style are saved on the router, so every browser matches.
- Tiles from other packages (experimental). Another package can add a
read-only tile of its own. The dashboard draws it in its own look and
marks it with the package's id; see
docs/TILES.md. - Settings that fit your router. With the Vantage theme, Appearance shows traffic in bits or bytes per second, can rate the router's own Wi-Fi clients and the hosts alone on a port every 2 seconds instead of 5 (with per-device traffic, the hosts sharing a port too, where its reads keep up), and its Low-power router mode asks for the slow parts only every 30 seconds and stops the motion.
The theme (luci-theme-vantage) restyles every LuCI page.
- Quick to get around. An icon rail, breadcrumbs, and Ctrl+K or / to search every page you can open. On the dashboard the search also finds clients, radios, Wi-Fi networks and interfaces.
- Good on phones. A bottom bar replaces the rail, and tables become cards.
- Light, dark or auto, with no flash on load. Your choice and your background picks are saved on the router, so every browser matches.
- Tidier stock pages. One control size, one tab style, field help folded to its first line, spare row actions tucked into a ⋯ menu, coloured firewall verdicts, and Status → Firewall as a flow chart of the way a packet takes.
- Its own login page, with moving packets, a starfield or nothing.
Nothing loads from the internet: Vantage uses system fonts, one fixed-width font from its own package and its own icons, with no CDNs or frameworks. The one exception is Check for updates under Appearance, and only when you click it, or once a day in a browser where you switch Daily update check on (off by default; it shows GitHub Pages your computer's IP address and the address you opened LuCI at). The dashboard's only writes are the names you give devices and their "Don't warn about its signal" marks, and it never reads Wi-Fi keys. See Security.
Install
These steps are for OpenWrt 25.12 (apk). On 24.10, follow the 24.10 steps. Both packages are architecture-independent, so the same files install on any router.
From the signed repository. Run this on the router. It stops before
installing anything if the key's hash doesn't match. You only need to do it
once; later versions come with apk upgrade.
key=$(mktemp) &&
wget -O "$key" https://anothadev.github.io/luci-theme-vantage/vantage-signing.pem &&
echo "c8a6c83eeb49ca2407932fb5e95785776128cef87db75ebaea0fe4171eee2157 $key" | sha256sum -c - &&
cp "$key" /etc/apk/keys/vantage-signing.pem &&
echo 'https://anothadev.github.io/luci-theme-vantage/25.12/packages.adb' >> /etc/apk/repositories.d/customfeeds.list &&
apk update &&
apk add luci-theme-vantage luci-app-vantage
From release files. Download them from a
release or
build your own, then run this in the same folder. 192.0.2.1
stands for your router's address.
f=$(awk '/ luci-(theme|app)-vantage-[0-9].*\.apk$/ {print $2}' SHA256SUMS) &&
grep -E ' luci-(theme|app)-vantage-[0-9].*\.apk$' SHA256SUMS | sha256sum -c - &&
ssh [email protected] 'mkdir -m 700 /tmp/vantage' &&
scp -O $f [email protected]:/tmp/vantage/ &&
ssh [email protected] 'apk add --no-network --allow-untrusted /tmp/vantage/*.apk; s=$?; rm -r /tmp/vantage; exit $s'
Log out of LuCI and back in, and the dashboard is your landing page. A fresh install switches to the theme for you. An upgrade keeps the theme you chose, and removing the theme switches LuCI back to Bootstrap.
The install guide covers the rest: requirements, verifying packages, installing just one of them, upgrades, uninstalling, building Vantage into your own firmware, troubleshooting, and a ready-made prompt for installing with a coding agent.
Screenshots
![]() |
![]() |
| Light mode: health checks, network path and live throughput | Client details: experience score, signal and link info |
![]() |
![]() |
| A larger access point (generated): four radios, ten networks, six wired ports | A router (generated): two internet lines and its paired access points |
![]() |
![]() |
| That access point's path in compact form: one line each | Further down the router's dashboard: WireGuard peers and every port |
![]() |
![]() |
| Firewall overview of that router: what's open from the internet, the zones, and a warning | LuCI's Status → Firewall page as a flow chart |
![]() |
![]() |
| Ctrl+K search over networks, clients, pages and Appearance options | LuCI's Status page under the theme, with a combined memory bar |
![]() |
![]() |
| LuCI's Channel Analysis page (neighbouring networks are generated) | Login page with grid packets, a starfield or nothing |
![]() |
|
| Phone layout with the bottom bar and Wi-Fi/Wired switch |
Security
Vantage is built to read your router, not change it. The full rules are in the spec.
- The dashboard only reads. Its permissions cover read methods. The
one program they can start reads a switch's own port counters:
ethtool -Sfor the device's own DSA switch ports, whereethtoolis installed, orswconfig … get mibfor an older switch's WAN port, with nothing from the browser on its command line. Its only writes are device names and a device's "Don't warn about its signal" mark, both stored in/etc/config/vantage, and an empty lock file in RAM while it reads those counters. - Wi-Fi keys stay out. Wireless settings come through Vantage's own plugin, which leaves out Wi-Fi keys, SAE passwords and RADIUS secrets.
- The theme writes one file. Appearance, and the dashboard's layout
and chart style, go to
/etc/config/vantage_themeand nowhere else. A user without that permission keeps their picks in their own browser. - Other access points are opt-in. The optional
luci-app-vantage-apsis the one part that does more than read: pairing creates the router's own SSH key and, on an access point, adds that key to Dropbear limited to one read-only report command (and lets no router in while an SSH listener there runs a command of its own in its place). It has its own permission (luci-app-vantage-aps), meant for administrators. Seeing the paired access points on the dashboard is a second one (luci-app-vantage-aps-view), since asking for their reports makes the router log in to them with that key; the dashboard's own read permission does not include it. - Per-device traffic is opt-in. The experimental
luci-app-vantage-trafficreads the router's connection table and neighbour tables, in a process of its own, never changing a setting; it keeps its counters in RAM, readable by root alone. Its answer is a MAC address and two byte counts per device, and it has its own permission (luci-app-vantage-traffic), since it shows how much each device sends and receives. - The Tailscale tile only reads.
luci-app-vantage-tailscaleruns a small service as root, as OpenWrt's other services run. It sends tailscaled one request, its status, while someone looks at the tile, and nothing else; nothing a dashboard sends reaches tailscaled. It passes on names, addresses, routes and counts, never the login link or keys. Its permission is its own (vantage-tile-tailnet). - Extras are separate permissions. Naming devices and silencing a
device's signal warning (
luci-app-vantage-names) and reverse DNS (luci-app-vantage-rdns) are their own groups, so you can leave them out. The firewall overview only appears for users who already hold LuCI's firewall permission, the WireGuard tile for those who hold LuCI's WireGuard one, and the UPnP tile for those who hold LuCI's UPnP one. - Tiles from other packages are text. A package may add a read-only
tile (experimental,
docs/TILES.md). The dashboard asks it one fixed question, only for logins that hold that package's own permission, and draws the answer itself, as text, with the package's id beside the tile's name. - Checked by tests. They reject HTML built from data, render the theme's templates with hostile input, confirm the permissions match what the code calls, and keep real addresses, MACs and SSIDs out of the repository.
One known exception: LuCI's own header adds its L.env script to every
page, including the menu tree on logged-out 404 pages. That's upstream
behaviour, tracked in docs/luci-contract.md.
Compatibility
| OpenWrt | Status |
|---|---|
| 25.12 | Built with the 25.12 SDK and tested |
| 24.10 | Signed .ipk packages, built with the 24.10 SDK and tested on a 24.10.8 router without Wi-Fi (install) |
Languages
Vantage is available in English, Simplified Chinese (dashboard
translation by @ntbowen), Russian
(@akorshun) and German
(@bakaranadnan-a11y). Each language
installs as its own packages, for example
apk add luci-i18n-vantage-zh-cn luci-i18n-vantage-theme-zh-cn; see
Languages in the install guide.
Translations are very welcome. In a fork, run
dev/i18n/update.sh --add <lang>, translate the new .po files and
open a pull request that touches only po/ files.
Translations has the details.
Build
With podman and the official OpenWrt SDK image:
dev/build/sdk-build.sh 25.12.6 # builds HEAD into dist/25.12.6/
The same commit and SDK always produce byte-identical packages, and each
package is checked against the source before it reaches dist/. Signing
and the other details are in the
install guide.
Develop
You don't need a router to work on Vantage. The replay in dev/replay/
serves the full LuCI interface from a recording or hand-written fixtures,
with the theme and app loaded from this repository, so you can reload to
see an edit. --demo swaps real addresses and names for documentation
values, which is how the screenshots were made.
node dev/replay/server.js --mirror ../vantage-mirror --port 8106 --demo \
--theme-dir luci-theme-vantage/htdocs/luci-static/vantage --theme vantage \
--app-dir luci-app-vantage
CONTRIBUTING.md has the setup and the checks to run,
docs/SPEC.md describes the product, and
docs/luci-contract.md lists what LuCI expects
from a theme. Coding agents should read AGENTS.md.
To put a tile of your own package on the dashboard, see
docs/TILES.md (experimental).
Contributing
Issues and pull requests are welcome; see
CONTRIBUTING.md. For a bug report, include your
OpenWrt version (cat /etc/openwrt_release), your browser, and screenshots
with personal data removed: no real IP addresses, MACs or SSIDs. Report
security problems privately as described in SECURITY.md,
not in a public issue.
Past releases are in CHANGELOG.md, and planned work is in
docs/ROADMAP.md.
License
GPL-3.0-or-later. See LICENSE and
luci-theme-vantage/NOTICE.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…













