Based on https://github.com/huangxd-/danmu_api at 5ef63a01bae7c4bad4dcd7bafbbcdcf33aa82564.
Upstream and this gateway are available under AGPL-3.0; see .upstream/LICENSE.
This archive includes patched upstream, gateway, exact dependency lock and build configuration.
Build directly: pnpm install --frozen-lockfile; python3 scripts/source-archive.py; pnpm build. Do not run prepare-source on the source archive.
For a fresh Git checkout, prepare-source clones the pinned upstream and applies documented patches.
Deployment account/instance identifiers are intentionally replaced by a neutral deployment template; runtime source is retained.
Set your own account/worker names, domains and LOGVAR_TOKEN secret before deploying. Do not use this template to replace an existing stateful Worker without preserving its DO identity.
Secrets, dependencies, runtime databases, logs, request histories and danmaku payloads are excluded.
