Zakk c7ec045bb2 refactor(ui): unify confirmations, retries and labels
Share confirmation dialogs, formatters, cards and menus across features. Make failed reads retryable, correct cancellation behavior and standardize terminology and status text.
2026-09-23 17:49:06 +10:00

doona

doona

Web UI for the daeuniverse engines: nodes, groups, rules and the configuration, from a browser.

English · 简体中文 · 繁體中文

Install • First run • Pages • Development • Guide

doona is a static web UI for the native API the daeuniverse engines share: honk today, dae once it implements the same contract. The engine serves it itself or any web server does; it shows what the engine is doing and manages nodes, groups, routing rules and configuration files.

The activity page

Every palette

Eleven palettes support light and dark modes; Rosé Pine and Catppuccin include multiple dark flavours. Use the palette picker in the top bar.

Every palette in light and dark

Status

doona targets the native API implemented by honk's feat/native-api branch; that API is not released yet. The contract it is built against is pinned in SOURCE.md. Backends that omit newer resource keys are accepted: doona fills those keys as unavailable. With no backend configured, a built-in mock supplies demo data; every screenshot here shows the mock.

Install

Release archives (doona-<version>.tar.gz, the optional doona-fonts-<version>.tar.gz with Noto Sans TC and SC, and SHA256SUMS) are attached to tags on the releases page; until the first tag, build them yourself as described under Development. Verify and extract the files into the directory the engine or web server will serve:

VERSION=v0.1.0-beta.1  # replace with the downloaded release tag
sha256sum --ignore-missing -c SHA256SUMS
sudo mkdir -p /usr/share/doona
sudo tar -xzf "doona-${VERSION}.tar.gz" -C /usr/share/doona
if [ -f "doona-fonts-${VERSION}.tar.gz" ]; then
    sudo tar -xzf "doona-fonts-${VERSION}.tar.gz" -C /usr/share/doona
fi

honk's native API is opt-in. Point ui at the extracted files and honk serves them at /ui/, same-origin with the API:

experimental {
    native_api {
        enabled: true
        listen: '127.0.0.1:9527'
        secret: 'operator-supplied-random-token'
        ui: '/usr/share/doona'
    }
}

Keep this block in its own include (include { api.dae }) so the main file stays editable from the configuration page. Requirements, serving from another web server or a reverse proxy, and the distribution packages are in the guide.

First run

Open /ui/ on the engine host. On a first visit doona asks the origin it was served from for /api; when the engine answers it becomes the saved backend and a token prompt follows. Served from elsewhere, or to reach another engine, open Settings and enter the server root and the token; a pairing link such as /ui/#/settings?api=http://router:9527&token=… fills the form and drops the token from the address bar on load.

The activity page then shows the running engine. Add a subscription or paste share links on Nodes, pick or pin members on Policies, add rules on Rules, and edit, validate and reload the sources on Configuration. Every write goes through the engine with the hash doona read the source at, and a failed reload keeps the previous generation active. The guide walks through each page.

Pages

The policies page
Page Shows
Activity Outbound mode, traffic and memory, active connections, node latency, outbound usage, top clients, notifications
Overview Engine and eBPF state, traffic counters, backend capabilities, the status as JSON
Connections Live connections with source, destination, rule, chain and traffic; close one or all
DNS Queries with their answers, the cache, the log; a flush
Policies Groups, their members and health; selection, pinning, probing and editing
Rules A routing tree from rules or devices through outbounds to nodes, the rule list with hits, the flow log, a trace
Nodes Subscriptions and their refresh interval, inline nodes, add and remove, probe and join a group
Configuration Sources with diagnostics, an editor with validation, quick setup and export
Events, Logs The backend event stream; the log stream with filters, pause and export
Settings Backends, runtime settings and backend actions, language, appearance and palette

A page is marked unavailable only when every resource it needs is unavailable. Ctrl K searches pages, connections, nodes, groups, rules and sources from anywhere. Which resources each page needs, and where doona keeps its own settings, are in the guide.

The rules page

Development

pnpm install --frozen-lockfile
pnpm build                       # writes dist/
pnpm check                       # types, lint, translations, formatting, unit tests, generated API types
pnpm check:size                  # gzip budgets for the dist/ build
pnpm e2e:install --with-deps     # once, for the browser tests
pnpm e2e                         # rebuild, then test against the mock at the root and under /ui/
pnpm package                     # release/doona-<version>.tar.gz, doona-fonts-<version>.tar.gz, SHA256SUMS

pnpm dev serves the mock on Vite's dev server. The live-backend test run, the performance and screenshot tools, the source layout and the contract pin are described in the guide; see CONTRIBUTING.md before opening a pull request.

Support

Report bugs and ask questions in the issues. Report backend issues to the connected engine's project: honk or dae. See SECURITY.md for reporting a vulnerability.

License and credits

GPL-3.0-only. Noto Sans TC and SC are under the Open Font License; NOTICE credits the Adobe Spectrum icons (Apache-2.0). The duck is the maintainer's own artwork.

Languages
TypeScript 88.4%
JavaScript 6.6%
CSS 4.5%
Shell 0.3%