xs.dev
This site. A lab for code, AI and marketing, with projects, notes and an AI lab, and a home page that answers questions about itself.
XS as in extra small. This is where I ship small things: side projects, quick experiments and notes on code, AI and marketing. It started as a page of links and grew into a lab of its own.
How it works
- A headline made of cells. The home page headline is drawn on a canvas from about three thousand extra small cells, each cut by the real letter shapes.
- Ask the lab. A question box on the home page answers from the site’s own public pages with Workers AI, and shows the sources it used. While nobody is asking, it replays a recorded example.
- Live readouts. The latest build, how many projects, notes and patterns there are, and whether the GPU behind the ComfyUI studio is online right now.
- Everything one keystroke away. Projects, notes and the AI lab sit side by side, and ⌘K jumps to any of them from anywhere on the site.
- Plain files, one repo. Every project is a Markdown folder in a private Git repo. Only the files marked public are published, and a check guards that boundary before anything goes live.
- Pictures that keep up. The video on each project card is made from the site itself by a script, and a test fails when a page changes after its video was made. So a card never shows an older version of the thing it links to.
What I learned
- The pictures go stale first. Text gets edited together with the code, screenshots do not. Making them from a script, and letting a test notice when they are older than the code, keeps them honest.
- Keep the public boundary simple. One rule decides what is published: a file called public.md, plus notes and the lab folders. Everything else in the repo stays private, which makes it safe to keep all my working notes right next to the code.
- Every push to the main branch deploys on Cloudflare Pages within a minute, and every other branch gets a private preview. Shipping small things is easy when shipping is boring.