mirror of
https://github.com/daeuniverse/honk.git
synced 2026-12-05 16:02:23 +00:00
Documentation / 文档
This directory holds the design, configuration, and operations docs for honk, split by language: English under en/, Chinese under zh/. Both trees have the same layout.
本目录存放 honk 的设计、配置与运维文档,按语言分目录:英文在 en/,中文在 zh/。两棵树结构相同。
Start from the root README.md for a project overview. New to the configuration format? Read the Guide first, then the per-section Reference files.
项目概览请先看仓库根目录 README.md。初次接触配置格式?先读指南,再按需查阅各小节的参考文档。
Guide / 指南
| Document | English | 中文 |
|---|---|---|
| Configuration guide | en/configuration.md | zh/configuration.md |
| Startup guide | en/how-to-start.md | zh/how-to-start.md |
Design / 设计
How honk works, by subsystem. / honk 的工作原理,按子系统划分。
| Document | English | 中文 |
|---|---|---|
| Architecture overview | en/design/overview.md | zh/design/overview.md |
| eBPF datapath | en/design/datapath.md | zh/design/datapath.md |
| Routing engine | en/design/routing.md | zh/design/routing.md |
| Held-first-packet UDP (NFQUEUE) | en/design/nfqueue.md | zh/design/nfqueue.md |
| Userspace control plane | en/design/control-plane.md | zh/design/control-plane.md |
| DNS subsystem | en/design/dns.md | zh/design/dns.md |
| Outbound stack | en/design/outbound.md | zh/design/outbound.md |
| Groups, health, warm-up | en/design/groups.md | zh/design/groups.md |
Reference / 参考
Field-by-field configuration and API reference. / 逐字段的配置与 API 参考。
| Document | English | 中文 |
|---|---|---|
global { } |
en/reference/global.md | zh/reference/global.md |
node { } + share links |
en/reference/nodes.md | zh/reference/nodes.md |
group { } |
en/reference/groups.md | zh/reference/groups.md |
routing { } |
en/reference/routing.md | zh/reference/routing.md |
dns { } |
en/reference/dns.md | zh/reference/dns.md |
subscription { } |
en/reference/subscription.md | zh/reference/subscription.md |
assets { } |
en/reference/assets.md | zh/reference/assets.md |
experimental { } |
en/reference/experimental.md | zh/reference/experimental.md |
Clash API + /stats |
en/reference/api.md | zh/reference/api.md |
CLI (honk-core + honk-tool) |
en/reference/cli.md | zh/reference/cli.md |
Operations / 运维
| Document | English | 中文 |
|---|---|---|
| DNS canary and rollback runbook | en/operations/dns-rollout.md | zh/operations/dns-rollout.md |
| Long connections and keepalive / 长连接与保活 | en/operations/long-connections.md | zh/operations/long-connections.md |
Conventions / 约定:
- Files under
en/link only withinen/; files underzh/link only withinzh/. /en/内文档只链接en/,zh/内文档只链接zh/。 - The reference files are exhaustive for their config section; the design files explain mechanisms and invariants. / 参考文档穷尽对应配置小节的字段,设计文档解释机制与不变量。
- The AGENTS.md at the repo root carries agent-oriented layout notes. / 仓库根目录的 AGENTS.md 提供面向代理的结构说明。