Skip to content
 
 

Repository files navigation

Outline

Outline

A ChatGPT-style LuCI theme for OpenWrt.

Latest release CI Downloads License: Apache 2.0
OpenWrt 23.05 and later Tailwind CSS 4 Vite

Quick start  ·  Features  ·  Gallery  ·  Settings  ·  Compatibility  ·  FAQ

English  ·  Русский  ·  简体中文


Outline makes your router's LuCI look and feel like ChatGPT's settings: pill controls, hairline cards, calm type, light and dark, with pages that switch without reloading. It is a drop-in theme: install it, and every page, including the apps you added, follows it.

Outline sign-in in light and dark

🚀 Quick start

  1. Install on the router (over SSH):

    wget -qO- https://raw.githubusercontent.com/tickcount/luci-theme-outline/master/install.sh | sh
  2. Reload LuCI. The script makes Outline the active theme.

  3. Make it yours in System › System › Language and Style, right under the Design field: mode, preset, colours, fonts, logo and app icon.

Tip

Press ⌘ K (or Ctrl K) anywhere to jump to any page or tab.

✨ Features

🧭 Navbar or sidebar

A docked, floating or inset sidebar with folding sections, or floating pills or a bar across the top, over an optional blurred backdrop picture. On phones, the sidebar's panel in a frosted drawer, under a top bar in the style you picked.

⚡ No full reloads

Moving between LuCI pages swaps only the content, so it feels instant. Opening the router, signing in and landing in LuCI is one column that carries over, with no blank page between. Browsers without the Navigation API keep classic page loads.

🌗 Light, dark and presets

System, light or dark, set in the settings or the command palette and remembered without a flash. Presets from ChatGPT and the Codex collection (Catppuccin, Dracula, Nord, Tokyo Night, …), or your own colours.

⌘ Command palette

A ChatGPT-style search: type a few letters to jump to any page or tab from the menu.

🎨 ChatGPT's look

Pill controls, hairline cards, secondary-ink descriptions, and Analytics-style charts and legends on the realtime graphs.

🧩 Apps fit in

Per-page fixes for third-party apps such as Podkop and its forks; apps built for Bootstrap's colours get Outline's; unknown sections get a letter icon.

🏷️ Your branding

The Outline logo, OpenWrt's, or your own, and one app icon from which every favicon and home-screen size is made. Pictures you no longer use are deleted, to spare the router's flash.

📦 Updates from LuCI

Check for updates and install them, or let the router do it every week (on by default), and remove Outline completely, from the theme's settings.

📸 Gallery

Interfaces

Interfaces

Interface settings, Advanced Settings

Interface settings in a dialog: Advanced Settings

Firewall zones

Firewall: zones and general settings

Firewall rules

Firewall rules

Outline settings
Outline settings under System › Language and Style

Sidebar and navbar layouts
Navigation: a docked, floating or inset sidebar, or pills or a bar along the top.

A backdrop picture behind Firewall rules, light and dark
A backdrop picture behind the whole window, the sign-in included: blurred under the page colour, in light and dark.

Outline on phones
On phones: the menu in a frosted drawer, the top bar in your navbar's style.

🔧 Settings

System › System › Language and Style, under the Design field while it says Outline, after ChatGPT and Codex's Settings › Appearance:

Section What it holds
Outline Check for updates and update; automatic updates (weekly, on by default); remove Outline completely
Appearance Mode (System, Light, Dark); navigation (a docked, floating or inset sidebar, or floating pills or a bar along the top); a backdrop picture, blurred behind the whole window; the logo (Outline, OpenWrt's, or an upload) and one app icon for every favicon and home-screen size; a preset (Outline, ChatGPT and the Codex collection: Absolutely, Ayu, Catppuccin, Dracula, Everforest, GitHub, Gruvbox, Linear, Nord, Rose Pine, Solarized, Tokyo Night, Vercel, …); accent, background and foreground colours; fonts and UI, content and code sizes; contrast; reduce motion; separate light and dark themes

Changes preview on that page only and are kept with its own Save or Save & Apply. Themes copy and import as outline-theme-v1: strings, and Codex codex-theme-v1: strings import too. How it works: .dev/docs/settings.md.

🧪 Compatibility

Supported
OpenWrt 23.05.0 or later (ucode templates and LuCI's JavaScript APIs); .ipk up to 24.10, .apk from 25.12
Chrome / Edge 111+ (March 2023)
Safari 16.4+ (March 2023)
Firefox 128+ (July 2024)

Note

Switching pages without a reload uses the Navigation API where there is one (Chrome and Edge 105+, Safari 26.2+, Firefox 147+). Other browsers keep classic page loads, with nothing missing.

📥 Install

wget -qO- https://raw.githubusercontent.com/tickcount/luci-theme-outline/master/install.sh | sh

The script picks the .ipk (opkg, OpenWrt 24.10 and earlier) or the .apk (apk, 25.12 and later) from the latest release, checks it against its checksum, installs it and makes Outline the active LuCI theme. Run it again to update.

Options and removal

Pass options after sh -s --:

wget -qO- https://raw.githubusercontent.com/tickcount/luci-theme-outline/master/install.sh | sh -s -- --uninstall
Option Effect
--no-activate Install without switching LuCI to Outline
--uninstall Remove the theme; its settings stay in /etc/config/outline
--purge Remove the theme, its settings and uploaded brand images

Updates and removal are also in LuCI, in the Outline section of System › System › Language and Style.

Build from source

htdocs/ is not in git: the theme's CSS and JS are built from .dev/ with pnpm (Node 22+) first, then the OpenWrt SDK packs them.

With Docker, as the release does:

git clone https://github.com/tickcount/luci-theme-outline.git
cd luci-theme-outline
.dev/scripts/build-packages.sh        # or: ipk | apk

It builds htdocs/, then the .ipk (OpenWrt 24.10 SDK) and the .apk (25.12 SDK) in Docker, and writes them with sha256sums.txt to dist/.

In your own source tree or SDK, with the feeds installed (24.10 and earlier build .ipk, 25.12 and later .apk):

git clone https://github.com/tickcount/luci-theme-outline.git package/luci-theme-outline
(cd package/luci-theme-outline/.dev && pnpm install --frozen-lockfile && pnpm build)
./scripts/feeds update -a && ./scripts/feeds install -a
make menuconfig    # LuCI → Themes → luci-theme-outline
make package/luci-theme-outline/compile V=s

The package lands in bin/packages/<arch>/base/; copy it to the router and install it with opkg or apk.

❓ FAQ

How do I go back to the default theme?

Pick another Design in System › System › Language and Style, or run the installer with --uninstall. Your Outline settings stay, so switching back later restores them.

Will my apps' pages look broken?

Outline styles LuCI's own building blocks, which most apps use, and carries fixes for the pages that do their own thing (Podkop and its forks among them). Apps written for Bootstrap's colour variables get Outline's colours instead.

My browser is older. Will it work?

It needs the browsers in Compatibility. Instant page switching is a bonus where the browser supports it; everywhere else pages load as usual.

🙏 Acknowledgments

Thanks to:


Made for OpenWrt · Apache 2.0 · Back to top ↑

Releases

Used by

Contributors

Languages