Skip to content

DfRouter

The single production entrypoint for df.criccadamus.eu.

Updated View as Markdown
For humans

DfRouter is the only Worker with the df.criccadamus.eu custom domain. It keeps the public URL stable while the internal services can evolve behind service bindings.

Routes

Public path Destination Purpose
/ MangaDocs Nimbus documentation (default surface)
/api/* SyncApi Canonical search, auth, and personal sync API
/admin/* df-admin TanStack Start infrastructure dashboard
/paperback/* PaperbackCatalog Paperback source repository

The router strips the /api and /paperback prefixes before forwarding so each mounted tree is rooted at /. The /admin prefix is forwarded intact — the dashboard is built with a matching base path. Every other path — including the hostname root — forwards untouched to MangaDocs, whose Astro routes are generated from the src/content/docs/ folder ordering. Unknown paths render the docs 404 page.

Deployment boundary

The custom domain is provisioned by iac/alchemy.run.ts. The router has no provider credentials and does not make upstream API calls. It only dispatches requests to the bound Workers.

Health check

Use the mounted health route when checking the deployment:

curl https://df.criccadamus.eu/api/health
Navigation

Type to search…

↑↓ navigate↵ selectEsc close