dustinedwards.info
Dustin's personal site.
- Ring
- What people use
- Kind
- site
- Address
- dustinedwards.info
- Visibility
- Public
- Parts
- 11
- Connections
- 10
How it connects
Used by 3
- Capsid coordinates
- Dustin Edwards Admin writes to, reads
- Carrel reads, publishes to, watches
Inside dustinedwards.info
Runs
Site Worker
Cloudflare Worker
Site Worker Serves the site, and the site-api routes Carrel writes through. writes to dustinedwards writes to APP_KV writes to dustinedwards-media writes to dustinedwards-og writes to dustinedwards-backups writes to dustinedwards-media-revisions writes to dustinedwards-webmention-verify writes to AskBudget writes to GitHub reads dustinedwards-media-events reads dustinedwards-webmention-verify reads Webmention sources reads Ask index reads Images reads Browser Run reads Cloudflare Access reads OpenAlexScheduled jobs
Workers cron trigger
Scheduled jobs Every minute, due Carrel schedules; every fifteen minutes, the colophon's health snapshot; daily, the zero-result purge, the publication check that mails each new DOI once, and the nightly D1 and media backups. writes to APP_KV writes to dustinedwards writes to dustinedwards-backups writes to Alert email
Stores
dustinedwards
D1
dustinedwards The posts and pages, with every saved version.APP_KV
Workers KV
APP_KV The health snapshot, the drift cache, the Ask cache, the DOIs already mailed and other site state.dustinedwards-media
R2
dustinedwards-media Media originals. Irreplaceable and never emptied. writes to dustinedwards-media-eventsdustinedwards-og
R2
dustinedwards-og Derived social cards and the CV PDF. Regenerable, so it may be emptied and rebuilt.dustinedwards-media-revisions
R2
dustinedwards-media-revisions Every earlier version of an uploaded file, kept before an overwrite so a revert can put it back. No site code path deletes from it.dustinedwards-backups
R2
dustinedwards-backups The nightly D1 dumps, pruned to 14 daily, 8 weekly and 6 monthly, and the nightly copies of the media and revision buckets.dustinedwards-media-events
Queues, R2 event notifications, dead-letter queue
dustinedwards-media-events Object-create events from the media bucket. The consumer derives the media table row.dustinedwards-webmention-verify
Queues, dead-letter queue
dustinedwards-webmention-verify Webmention ids waiting for verification. The consumer fetches each source and records the verdict.AskBudget
Durable Object with SQLite
AskBudget The whole site's exact rate limiter: sign-in, the operator API, webmention, health, CSP reports, preview links and Ask.
Outside
Ask index
Cloudflare AI Search
Ask index The one AI Search instance behind Ask mode. Classic search is D1 only and never waits on it.Images
Cloudflare Images binding
Images Derives every thumbnail size from the one original in R2.Browser Run
Cloudflare Browser Rendering binding
Browser Run Renders the CV PDF after each CV save.Cloudflare Access
Cloudflare Access application
Cloudflare Access Guards /admin. The Worker verifies each request's signed Access token.GitHub
Repo, pull requests, Actions
GitHub The repo the site's content saves commit to, CI, and the deploy workflow that runs ship after green CI on main. deploys Site WorkerOpenAlex
OpenAlex API
OpenAlex Citation counts for the publications, by DOI.Webmention sources
Other sites on the web
Webmention sources The pages a webmention names. The verifier fetches each one.Alert email
Workers send_email binding
Alert email Where the daily publication check mails a new DOI.
Uses 7
Step by step
Publishing a post
A post goes from a private draft in Carrel to a live page on dustinedwards.info. Every site speaks the same contract, and the site decides what may go live.
- Drafted: the writer works in Carrel's editor, which autosaves a draft only that person can see.
- Previewed: Carrel shows the draft as the site will render it, in a sandbox, next to any flags from the checks and reviewers.
- Saved: an Editor or the Owner saves the draft to the site and names the version it replaces. The site refuses an out-of-date save, so nobody overwrites newer work.
- Published: only the Owner can publish, and a first publish asks for confirmation. The site's own publish policy makes the call, so one place decides.
- Or by instruction: the Owner's AI session can publish through MCP, but never while a flag is open. It sends no text, so only the saved version goes live, and Dustin gets an email with an unpublish link.
- Recorded: Carrel indexes the live post, records who published it (an AI session by its client name) and clears the sent draft.
- Watched: every 15 minutes, Carrel runs site-api's conformance suite against the site and sends an email when the result changes.
Flows through it
- Publishing a post, in 7 steps: A post goes from a private draft in Carrel to a live page on dustinedwards.info. Every site speaks the same contract, and the site decides what may go live.
Its riskiest functions
| Function | Module | Complexity | Covered | CRAP |
|---|---|---|---|---|
primerMarkdown | app/kb/registry/catalog-primers.mjs | 28 | 2% | CriticalCRAP 765.9 |
renderPost | app/lib/content/pipeline.mjs | 24 | 1% | CriticalCRAP 577.8 |
validatePublicationFile | app/lib/publications/validate.mjs | 162 | 79% | CriticalCRAP 422.8 |
paperJsonLd | app/lib/publications/article-json-ld.mjs | 15 | 2% | CriticalCRAP 229.4 |
contentFor | app/lib/colophon-sections.mjs | 13 | 0% | CriticalCRAP 182 |