Skip to content

dustinedwards.info

Dustin's personal site.

Ring
What people use
Kind
site
Visibility
Public
Parts
11
Connections
10

How it connects

Inside dustinedwards.info

dustinedwards.info in the network

Used by 3

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 OpenAlex
  • Scheduled 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-events
  • dustinedwards-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

  • 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 Worker
  • OpenAlex

    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.

  1. Drafted: the writer works in Carrel's editor, which autosaves a draft only that person can see.
  2. Previewed: Carrel shows the draft as the site will render it, in a sandbox, next to any flags from the checks and reviewers.
  3. 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.
  4. 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.
  5. 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.
  6. Recorded: Carrel indexes the live post, records who published it (an AI session by its client name) and clears the sent draft.
  7. 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

Its riskiest functions

The five functions with the highest CRAP
FunctionModuleComplexityCoveredCRAP
primerMarkdownapp/kb/registry/catalog-primers.mjs282%CriticalCRAP 765.9
renderPostapp/lib/content/pipeline.mjs241%CriticalCRAP 577.8
validatePublicationFileapp/lib/publications/validate.mjs16279%CriticalCRAP 422.8
paperJsonLdapp/lib/publications/article-json-ld.mjs152%CriticalCRAP 229.4
contentForapp/lib/colophon-sections.mjs130%CriticalCRAP 182

Every module