Repository navigation
Open
Labels
Description
Problem
docs.decdn.org has three tabs: Overview, Protocol, Run a node. The only guide is "run a node". A customer who wants to deliver content learns nothing from the site about how to publish, what it costs, which SDK to call, or how their users fetch.
The repo README (decdn/decdn) documents the publisher path as origin import, aws s3 sync, namespace create, assign, then an out-of-band vetting step. None of that is on the docs site, and it is a path the demand-side work replaces anyway.
Proposal
A fourth tab, Deliver, written for the publisher, not the operator:
- Publish. The one-command path once it ships (cli:
decdn publish ./dirpublishes a directory to a namespace in one command decdn#2591):decdn publish ./dir→https://<ns>.decdn.link/. Until then, the current four steps, written as a guide with the vetting step named honestly. - Gateway. The
decdn.linkURL surface (gateway: hosted public HTTP gateway at<ns>.decdn.linkthat pays a pool behind the scenes decdn#2593): browser,curl,HF_ENDPOINT, torrent webseed, with one copy-pasteable example each. Until it ships, the sponsord installers (decdn.sh/decdn.ps1) are the zero-wallet path and belong here. - SDK.
decdn-clientfor Rust embedders (docs.rs link, theopen_progressive_pullloop in ten lines), and the sponsord HTTP API (sponsord-apiOpenAPI) for everyone else. - Pricing. Per-MB settlement in USDC (ADR 003), the FeeRouter split (ADR 026 § FeeRouter split), what a pool deposit buys, and how a publisher funds one (sponsord: publisher dashboard with card-to-USDC pool funding, per-namespace spend and per-user allowances decdn#2594). Every number cites its ADR; nothing is estimated.
- Sponsor downloads. Move or mirror the sponsord guides (
docs/sponsord/in decdn/decdn: operator, installer, integrator, security) so a publisher finds them from the site.
Nav entry in docs/docs.json between Protocol and Run a node. The website's own copy (lib/copy.ts, FAQ) gets a "Deliver" link to it.
Notes
- Every protocol or economic claim cites
decdn/adr/with an absolute GitHub URL, per the workspace rule. Steps that do not exist yet are written as "coming" with the issue link, not as if they shipped. - Related: feat: show bytes paid for by pools whose owner is not a registered operator stats#65 (the demand-side number the site will eventually quote).
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
None yet
Activity