deer-workflow
An open-source Dynamic Workflow runtime that combines deterministic TypeScript orchestration with replaceable Agent runtimes.
It provides a privacy-respecting, self-hosted DoH resolver with automatic domain rule updates from a reputable source, ECS masking, and no logging of complete queries or client IPs.
一个部署在 Cloudflare Workers 上的 DNS-over-HTTPS 服务,支持国内外域名分流、ECS 和上游故障回退。
/24,IPv6 固定使用 /56点击上方 Deploy to Cloudflare 按钮,授权 Cloudflare 访问 GitHub。系统会复制项目模板,并在你的 GitHub 账户下创建一个独立的部署仓库。 Cloudflare 会通过该仓库自动创建并部署 Worker、KV 命名空间以及每日规则更新任务。
部署完成后打开详情页-域-启用
DoH 地址:
https:///doh
首次查询会自动下载并初始化国内域名规则。
| 分组 | 主上游 | 备用上游 |
|---|---|---|
| 国内域名 | AliDNS | 腾讯 DNSPod |
| 其他域名 | Google DNS | Cloudflare DNS |
主上游出现网络错误、超时、异常响应或 DNS SERVFAIL 时,才会尝试同组备用上游;不会在国内和国外分组之间回退。
所有配置都有默认值,一键部署时无需修改。
| 变量 | 默认值 |
|---|---|
DOH_PATH | /doh |
DOMESTIC_DOH_URL | https://dns.alidns.com/dns-query |
DOMESTIC_FALLBACK_DOH_URL | https://doh.pub/dns-query |
GLOBAL_DOH_URL | https://dns.google/dns-query |
GLOBAL_FALLBACK_DOH_URL | https://cloudflare-dns.com/dns-query |
国内域名规则来自 Loyalsoldier/v2ray-rules-dat 的 direct-list.txt,每天自动更新。
X-Forwarded-For 中最左侧的合法公网 IP;没有有效地址时回退到 CF-Connecting-IP,并自动掩码为 IPv4 /24 或 IPv6 /56。需要 Node.js 20 或更高版本。
npm install
npm run typecheck
npm test
npm run deploy:dry-run
MIT
基于 Cloudflare Workers 的 DoH 转发服务器,实现了国内外域名分流以及 ECS 查询
Similar projects matched by category, topics, and programming language.
An open-source Dynamic Workflow runtime that combines deterministic TypeScript orchestration with replaceable Agent runtimes.

TokHub is an open-source monitoring, recommendation, and OpenAI-compatible gateway system for AI API intermediaries, combining public status pages, supplier rankings, user workspaces, layered probing, metering, alerts, encrypted keys, and Docker self-hosting.
Recensa is a self-hosted web viewer that indexes Claude Code session transcripts into a local SQLite database, enabling full-text search, replay, and audit of all past agent conversations without uploading data anywhere.