Every time you visit Ephemera, Gemma 4 (26B-A4B on Cloudflare Workers AI) writes a self-contained HTML/CSS/SVG/JS page from scratch and streams it live before rendering it in a sandboxed iframe. Click New and the old page is gone forever, unless you archive it (https://ephemera.streefland.co.uk/dreams).
It's a very rough experiment to see what on-demand generated UI feels like, how well a cheap open weights model works, and a bit of a web art piece.
To stop it repeating the same ideas, each visit computes a brief from nine lists plus a random colour palette before calling the model, with thinking mode turned off so it streams straight into HTML.
It runs on Cloudflare's 10k Neurons/day free tier (~150 pages/day). When the quota is exhausted, generations will stop until it resets the next day.
Source (built with Gemini 4 Neon): [https://github.com/rstreefland/ephemera](https://github.com/rstreefland/ephemera)
Comments URL: [https://news.ycombinator.com/item?id=50729495](https://news.ycombinator.com/item?id=50729495)
Points: 1