## Problem / 问题 The README already lists dae as a backend, but doona treated every backend as honk. Against dae's native API every probe failed with 422 (dae accepts only cold probes, `component/nativeapi/handlers_probes.go:85-89`), mode switching, rule templates and new groups were always off because dae keeps the entry file read-only and the sections in `config.d` modules, group edits wrote honk's policies and filters that dae rejects, and messages said honk. ## How I fixed it / 解决方法 A dae engine profile (`src/api/engines/dae.ts`) holds what differs, and the pages ask the engine instead of assuming honk. Probes send cold and offer the kinds dae declares. Writes go to the module that owns the section, falling back to `config.d/group.dae` as dae does (`cmd/config_groups.go:103-115`). The group dialog follows dae's grammar: its policies, no nested groups or `subtag(keyword: …)`, names dae can parse and does not rewrite (`must_`), `&&` continuation lines and latency annotations kept, `fixed`/`select` index within the members. Node delete is offered only for `config.d/node.dae`, the one file dae's DELETE edits. Messages name the running backend. honk keeps its behaviour and wording. Not fixed here, dae side: rules report `source: null` (so the rules page stays read-only), groups advertise empty `probe_transports` (so group-wide tests stay off), and `read_only_reason` values `entry_source`/`layout_unmanaged` are not in the contract enum. dae publishes `operation.updated` for every probe job, which fills the notices; honk publishes the same event, so it is left as it is. ## Verified / 验证 `pnpm check` passes (254 files, 4,470 tests). The full e2e suite ran once at the last code state but two: 10 failures, all from expected text (fixed in this commit) and from a notice change that is reverted here; the rerun was stopped by host memory pressure, so CI's e2e is the final check. Group text written for dae was parsed with dae's own Go parser (`config_parser.Parse` + `config.New`). Live against dae `0d85246` on a test VM: nodes, single and all-node probes (cold, healthy nodes 8–14 ms, a dead node unavailable), new group written to `group.dae` and reloaded, global and rule mode written to `routing.dae` and reloaded, configuration page, DNS, logs and connections. That live run predates the last two fixes (policy labels, `must_` and index checks), which are covered by unit tests only. No honk screen changes. | Nodes after test all | Global mode written | Entry file read-only | |---|---|---| |  |  |  | --- - [x] I understand this change and answer for every line - [x] This branch is based on the current main - [x] I ran the repository's gates and recorded the results in Verified - [x] Each commit is one coherent change - [x] If behaviour changed, I updated the documentation - [x] If interface text changed, I updated `en.json` and every complete language's catalogue - [ ] If interface appearance changed, I attached light and dark screenshots - [ ] If the API contract changed, I ran `pnpm gen:api` and `pnpm check:gen` - [ ] I checked the boxes above without reading them - [ ] I am an AI agent, and this content was submitted without human review
7.9 KiB
doona
Static web UI for the daeuniverse engines: manage nodes, groups, rules and configuration in a browser.
Live demo / Lite demo (preview) / Documentation
Features / Two editions / Try the demo / Install / Backend protocols / Documentation
doona is a static web UI for monitoring proxy traffic and managing nodes, groups, rules and configuration. It requires a running honk or dae (v2.1.2 or later) backend with the native API enabled. For dae, see its native API guide.
Features
Monitor
- Edit the Activity dashboard’s cards and their sizes.
- Inspect connections, flow records and DNS queries.
- Read backend logs and events.
Adjust card sizes on the Activity dashboard.
The Flows map; selecting a rule or node shows the traffic path through it.
Nodes and subscriptions
- Paste several node links at once.
- Test filtered nodes and sort by latency.
- Refresh subscriptions and inspect probe results.
Inspect a node’s probe results and add it to a group.
Groups and routing
- Edit groups, membership filters and selection policies.
- Edit the rule list and apply routing templates.
- Trace routing decisions with a process name and firewall mark.
Edit a group’s filters and policy.
Inspect the rule list in advanced view.
Configuration
- Edit source files with validation diagnostics.
- Change global settings through a form.
- Inspect revisions and export configuration.
Locate validation errors in the source editor.
Appearance and phones
- Choose palettes and light or dark themes.
- Use English, Simplified Chinese or Traditional Chinese.
- Use page tabs, lists and menus on phones.
Compare the available palettes.
Browse connections and change appearance on a phone.
Available features depend on the backend’s capabilities and configuration; see the feature requirements.
Two editions
doona lite is a preview in testing in 0.1.0-rc.8; its pages and behaviour may change. Both editions connect to the same honk with the same administrator credentials.
| Area | Standard edition | doona lite (preview) |
|---|---|---|
| Traffic monitoring | Activity, connections, flows, DNS, logs and events | no monitoring pages |
| Configuration | source editor, diagnostics, global settings and revisions | forms for nodes, subscriptions and global settings |
| Groups and rules | editors, templates and route trace | group, routing and DNS editors |
| Intended use | full interface for everyday management | smaller configuration editor |
| Status | release candidate | preview in testing |
See the edition comparison for features, backend requirements and switching editions.
Try the demo
Try the UI with sample data; no backend is needed.
To see error states, use ?scenario=faults; ?scenario= returns to the healthy demo.
Install
honk's full releases already embed doona. Follow the quick start to use it; the documentation also covers installing doona separately. On Debian, Ubuntu, Fedora and openSUSE, install it from the daeuniverse package repository: doona-web on Debian and Ubuntu, doona on Fedora and openSUSE, with the repository set up as described for Debian, Fedora and openSUSE. The release archives and packages stay available from the GitHub releases.
Backend protocols
honk handles proxying; see the honk node reference for supported protocols, transports and limits.
Latest release
0.1.0-rc.8 has 12 entries: 7 additions, 1 change and 4 fixes.
This release adds a Manual tab to the Add node dialog, and new nodes can join groups in the same step. Manual policy groups fold, group members name their subscription, and help links open the manual on daeuniverse.org. Dark Reader no longer recolours doona, links into a setting or card scroll to their target, and page skeletons match the loaded pages.
Documentation
- Installation and packages: 简体中文 / 繁體中文
- Pages, page tour and phone layout: 简体中文 / 繁體中文
- Themes and palettes: 简体中文 / 繁體中文
- Fonts
- Country flags
- Changelog
- Documentation site
Development
The build, test and packaging commands, the source layout and the contract pin are on the development page. See CONTRIBUTING.md before opening a pull request.
For lite’s separate dependency install and build commands, see Development.
Support
Report interface problems and ask questions in doona issues. Report proxy, routing, DNS and other engine problems to the engine in use: honk issues or dae issues. See SECURITY.md for reporting a vulnerability.
License and credits
doona is licensed under AGPL-3.0-only. If you provide a modified version to users, including over a network, you must offer them its corresponding source code.
Noto Sans TC and SC, bundled from Fontsource npm packages, are copyright Adobe and licensed under the Open Font License; NOTICE credits the Adobe Spectrum icons (Apache-2.0).









