[ Case Study ]
Paperboy
A daily news digest and the monitor behind it. About two dozen publisher feeds are read every morning, and a source going quiet shows up as a row that changes, not a gap in the news.
- React
- TypeScript
- Azure
- Node.js
[ The Problem ]
A news feed is a list a publisher keeps of its latest stories. A digest built from feeds can lose a source without anything looking broken. The feed keeps answering normally while its stories stop changing, or the publisher starts refusing article requests, and the digest just gets a little shorter. Paperboy is a daily digest of about two dozen feeds with a monitor beside it, which shows which sources are failing, how, and for how long.
[ The Digest ]
Every morning, a run reads the feeds and builds that day's digest of full articles.
A run every morning
A timer on Azure starts the run at 09:00 UTC and reads every feed, grouped into sections from world news to entertainment. Each entry in a feed, called an item, is checked before any article is requested. Video links, undated items and anything older than 48 hours are rejected. Stories an earlier digest carried, repeats from another feed and anything past a feed's five newest are set aside. The rest are read from the publisher's page, and a page with under 700 characters of text is treated as a teaser and left out of the digest.
Reading the digest
The digest lists the day's stories, newest first, with a reading pane beside the list. It can be narrowed to one section or one publisher at a time, or searched, and the last 14 days stay available.
[ The Monitor ]
Each run also writes a report on every source. The monitor is built entirely from those reports, and gives each source one of seven states per run: Down, Blocked, Thin, Stale, Empty, Dry or OK.
What needs a look
The monitor opens on the sources that need attention, with one card per state, worst first. Each card says what its state means and links to the sources in it. Stale, for example, arrives with the note that every item in the feed is older than the 48-hour window, which is often just a quiet day and worth a look only if it repeats. When nothing is wrong, the page says that every source is reporting.
Where the items went
One bar per section splits the morning's items into rejected, set aside and fetched. A single total would make a section that hit its per-feed limit look the same as a section whose stories had all aged out. The bars use no warning colors, because rejecting a large share of items is normal, and red is kept for a source that is actually failing.
Fourteen mornings at once
A grid has a row for each source and a column for each of the last 14 runs. Problems are marked with a symbol: a cross for down or blocked, a tilde for thin, an equals sign for stale, and a dot for empty or dry. Healthy cells are shaded on a single blue scale by how many articles the source produced. A feed that stops updating becomes a row of the same symbol, and a publisher refusing requests shows up across its feeds in one column. No single morning can show either.
One source, over time
Each source has its own page, opening with its state, what that state means and how old its newest item was when the run read it. Below that are the run's counts and four charts covering up to 90 runs: items by outcome, fetch results, median article length and boilerplate removed. A median length that halves is how a broken page layout shows up, because extraction still returns text, only less of it.
Red and green are hard to tell apart with red-green color blindness, so no state depends on color alone. Each one has a name and a sentence saying what it means, and each problem state has its symbol in the grid. The interface is built on Loom, with amounts drawn in shades of one blue and Loom's status colors kept for problems.
[ Under the Hood ]
The code behind three of the rules above.
A source's state is worked out from one run's counts, checking the worst states first.
export function level(s: SourceReport): Level {
if (s.feedStatus !== 200 || s.feedError) return 'down';
if (s.itemsInFeed === 0) return 'empty';
if (s.fetched > 0 && s.fetchErrors === s.fetched) return 'blocked';
if (s.thin > s.articles) return 'thin';
// A `seen` skip proves an item was inside the window; none, with `stale`
// present, means nothing in the feed was fresh. Whether that is a dead
// publisher or a quiet day is not knowable from one run.
if (s.fetched === 0 && !s.skipped.seen && (s.skipped.stale ?? 0) > 0) return 'stale';
if (s.fetched === 0) return 'dry';
return 'ok';
}[ More Case Studies ]
| Project | What it is |
|---|---|
| Loom | A design system generator — describe a brand in one file, get the styles and Figma library every project is built from. |
| JAMIE | A persistent AI development partner built on agent harnessing and context engineering. |
| Lazy Dunmas | A D&D rules attorney on a local model, and the evals that score its retrieval and its rulings apart. |
| Party Wipe | A solo D&D combat roguelike for encounters that go sideways. |
| Taulu | A digital bulletin board for spontaneous event planning — events are posters, your people and calendars are the boards. |
| ez-prompt | A glossary of camera, tone, light and texture terms that turns a chosen look into an image prompt. |