Ratstack Tube

What it does

Ratstack Tube lists videos worth watching while learning this stack. Most are by the people who build the tools: Effect, Alchemy, XState and Cloudflare engineers. Each entry has a tier from S to F, a theme, and a take of one to three sentences that names what the viewer learns.

The list lives in .brain/data/tube.json. The TubeVideo schema30 in apps/web/src/client/tube/data.ts defines an entry. The content build reads the file through apps/site/scripts/tube-pages.ts and fails on any bad entry.

The page groups videos by theme and orders each theme from S to F. Inside a tier, the file’s order is the editorial order. The S tier also appears as a numbered “Start here” list at the top.

A thumbnail loads from YouTube’s image host. The player loads from youtube-nocookie.com, and only after the reader presses play. The built page holds no player at all. Every title links to the video on youtube.com, so a card still works when an image or the player fails.

The standard

To add a video, append an entry to .brain/data/tube.json with facts from YouTube, the date you checked them, and the basis you checked the take against, then rebuild. To remove one, delete its entry.

How to check

Run the tube tests:

pnpm --filter @rat-stack/web exec vitest run test/tube.data.test.ts test/tube.story.test.ts test/tube.scene.test.ts test/tube.seam.test.ts test/reader-csp.test.ts

They check that ranking orders tiers from S to F and keeps the file’s order inside a tier. They check that one planted fault in a generated list yields one fence message naming its entry and field. They check that the built page holds no player, that a press loads the youtube-nocookie.com player, and that only /tube gets the wider policy.

Then read the live page as Markdown:

curl --silent 'https://ratstack.sh/tube.md' | head -20

Sources

  1. YouTube oEmbed response for one listed video. YouTube. The endpoint that supplies each entry's title and channel. Accessed 2026-11-08.

Last changed 2026-11-08 in fa99c83. Source on GitHub. Change log.

Linked from

  1. Agent guide. An Effect stack so pure (aspirational) Kit Langton will blush.

    Ratstack Tube — Curated videos for learning the stack, ranked S to F, with a short take on each, built from one data file.

  2. Change log. What changed in the files served here, newest first.

    Ratstack Tube — new page: Initial commit from joelhooks/rat-stack template

  3. Full agent guide. An Effect stack so pure (aspirational) Kit Langton will blush.
  4. Rat Stack systems | rat-stack. The systems rat-stack ships, the standard each keeps, and how to check it.

    Ratstack Tube — Curated videos for learning the stack, ranked S to F, with a short take on each, built from one data file.

  5. Source change history (log.md). The generated change log as Markdown.

    Ratstack Tube — new page: Initial commit from joelhooks/rat-stack template