~/richi.codes $ ls lab
Learning by building, in the open.
Richi Gallego's second brain and code lab: working prototypes, automated technical notes and a new game every day. Stuck on a problem with your website or your code? You can write to me.

- technical notes published
- 73
- games to play
- 24
- radar editions
- 17
- years writing code
- 20+
Autopilot
This site works while I sleep
Every day, on schedule, a team of AI agents and n8n workflows writes, checks, publishes and improves this site. This is what it has done today and what comes next. Nobody presses a button.
Now in Madrid
- 06:00

Inky · Writes and fact-checks the note of the day
Done today: Cover to player: View Transitions in Next.js
- 09:30

Devvy · Republishes it on dev.to
- 12:00

Dicey · Invents, playtests and publishes the game of the day
- 17:00

Bluebell · Shares it on Bluesky
- 17:15

Tusk · Shares it on Mastodon
- 20:00

Loopy · Schedules the game clip on TikTok
- Today

Dr. Kernel · Ships one site improvement, tested in three browsers
Experiments
Things I build to understand how they work. All of them are live and you can play with them.
On the lid
The laptop stickers
The tools I work and experiment with, stuck where they belong: on the laptop lid. Peel one off and put it wherever you like.
Drag a sticker (on a phone, press and hold first). With a keyboard: Tab to the lid, arrow keys to pick a sticker, Enter to peel it off, arrow keys to move it (Shift moves it further) and Enter to stick it; Escape puts it back.

One a day
The game shelf
24 pocket games, each one invented, playtested and shipped by an agent on its day. Scroll the shelf, pick one, play.
Schedule a weather alert
A Web Push experiment: install the PWA on your phone, pick a place and a time, and an n8n workflow sends you the forecast right then.
Step 1 · on your phone
Open this page on your phone and enable it there: the notification goes to that device, not this one.
Step 2 · schedule the alert
The honest friend
That friend who looks at your website and tells you what's wrong, no sugar-coating. It may sting, but better to hear it from them than from a client, from Google or from a user who leaves and never comes back.
- 01 · Reads the public HTML of the page you give it.
- 02 · An AI (Gemini) reviews it like a friend would, not like a salesperson.
- 03 · Asks for no email or personal data: the result shows up right here.
Second brain
73 technical notes connected by topic. Search, or tap a node in the graph to filter.
For now most notes are in Spanish; English ones are on the way.
73 notes
- Cover to player: View Transitions in Next.js03 Dec 2026 · made-here, viewtransitions
- CSS :open and ToggleEvent.source: who opened what02 Dec 2026 · css, html
- WebMCP: your HTML forms become tools for AI agents01 Dec 2026 · webmcp, ai
- CSS Typed OM: CSS values as objects, not strings30 Nov 2026 · css, javascript
- Week in the lab: CSS learns to roll dice29 Nov 2026 · week-in-review, css
- CSS :playing and friends: style media by its state28 Nov 2026 · css, selectors
Each line joins two topics that show up together in a note.
Frontend & UX/UI trend radar
Next.js 16.5 speeds up its builds, the HTMHell advent calendar brings two lessons on forms and accessible canvas, and a CSS trick to keep the fallback font from breaking headings.
Next.js 16.5: faster builds
Next.js 16.5 shipped on 2 December. On Vercel's dashboard, cold Turbopack compilation is about 4.2 times faster than in 16.4.6 and uses 38% less memory, and functions with 'use cache: remote' can reuse their cache across deployments when their code has not changed. Experimental additions include Go route handlers (route.go) and a safe mode for image optimization.
Enter in an IME should not submit
In the HTMHell advent calendar (3 December), mehm8128 explains why confirming Japanese or Chinese text with Enter can submit a form: keydown also fires during composition. The fix is to check event.isComposing and also keyCode === 229, because Safari fires compositionend first and WebKit's fix is still switched off.
Accessible canvas with fallback HTML
In HTMHell (2 December), Rhiana Heppenstall describes how Reading Eggs made thousands of canvas activities accessible without rewriting them: native HTML with buttons, headings and aria-live placed right after the canvas, because inside it did not work in Safari. Testing so far was mainly with VoiceOver; sessions with screen reader users are still to come.
Tuning the fallback font
On 2 December Geoff Graham suggested in CSS-Tricks registering the system font with @font-face, local() and size-adjust so headings don't come out huge if the variable web font fails to load. Caveat: a comment the same day warns that local("system-ui") seems to work only in Chromium, not in Firefox.

About this lab
I'm Richi Gallego and I've been programming for over twenty years. This site is my notebook: I build whatever makes me curious, leave it running and write down what I learn along the way.
- Everything published here works and you can try it. If it breaks, that is part of the experiment too.
- The notes and the radar are written by an AI pipeline, and every piece says so.
- No courses or subscriptions here. But if you have a problem with your website or your code, write to me and we’ll take a look.
Want to tell me something?
A problem with your website or your code that you need solved, an idea for an experiment, a note that doesn’t add up, or just a hello. I read it myself, no bots in between.
Email is optional, but if you need a hand, leave it so I can reply.























