← All projects

Ristretto

A personal project I designed and run end to end. AI sits inside a pipeline that runs every day.

A personal newspaper. Every dawn GitHub Actions collects 21 RSS feeds, has Claude edit them and deploys a static site to Cloudflare. No server, no database, a new issue every day since 8 Oct 2026.

What this project gave me

  • A working rule, tested in production, for what to hand to the model and what to pin down in code
  • A serverless structure that publishes daily at near-zero cost
  • Failure handling that marks partial failures and still publishes, and stops and alerts when everything fails
Period
Oct 2026 – running
Team
Solo
Role
Design · build · operate
Status
Running
Highlights
  • Published every day since 8 Oct 2026, 1,627 stories and 397 bull/bear tags as of 30 Nov
  • Zero npm dependencies, no always-on server or database. Data lives in git, pages are static files
  • Fixes for cron delays, daylight-saving market hours and null Yahoo Finance candles
Stack
  • Node.js
  • GitHub Actions
  • Claude Code
  • Cloudflare Workers
  • PWA
  • RSS

Background and goal

I wanted to follow AI news and the markets every day, and the time spent wandering through feeds felt wasted. The idea was to have AI make the paper I read in the morning while I sleep. Three conditions: no server left running, almost no cost, and a new issue every day without me.

How it runs

  1. GitHub Actions is scheduled at 05:00, 06:20, 07:00 and 08:00 KST. Whichever run comes first publishes, and later runs skip when today’s issue exists.
  2. It collects the last 24 hours from 21 RSS feeds (14 AI, 4 Korean market, 3 US market), drops undated items, duplicates and URLs already printed in earlier issues, and pulls five indices from Yahoo Finance.
  3. Claude Code is called headless once per desk (twice for the AI desk): at most 12 stories, evidence numbers required, output forced into a JSON schema.
  4. The result is committed as data/issues/<date>.json and pushed.
  5. Cloudflare Workers picks up the push, builds and deploys. The morning paper is up within a minute or two.

Fixed while operating

  • GitHub schedules sometimes ran two to four hours late, so four crons are set and the first one to run publishes.
  • The 05:00 run landed inside New York trading hours under daylight saving and printed mid-session index values, so runs skip during market hours.
  • A Yahoo daily candle came back null one day and was mistaken for the previous close. The code now compares the live price with the previous close, and that day’s data was corrected.
  • If some sources fail, the issue is published with those parts marked. If everything fails, nothing is published and a failure email arrives.

The reader

On desktop it is three columns: sidebar, headlines, reader. On the phone it is a PWA added to the home screen. Read marks, light and dark themes, J/K shortcuts (working under a Korean input method too) and an offline cache. The front-end is about 1,500 lines.

Results

  • 54 consecutive issues, 1,627 stories, 397 bull/bear tags (as of 30 Nov 2026)
  • About three minutes per run, roughly 100 Actions minutes a month, 30–40 KB of data per day

Looking back

The only thing handed to AI is the editing. Collection, de-duplication, source numbering and the market-hours check are all code.