Live now · haX.baby 404 Hackathon · Cute world
A 404 you'll want to get lost on.
Every broken link comes back to a tiny post office. Mothball, a very small postal moth, reads the pencilled address with you, finds the letter that fell out, and forwards you to the page that moved.
Send a letter to the wrong address Watch it first
- Real HTTP 404
- No trackers
- 3 languages
- Works offline
- Zero frameworks
- 28real pages to be forwarded to
- 404honest status on every unknown path
- 3languages: English, हिन्दी, Español
- 157automated checks, unit and browser
- 0trackers, cookies or request logs
Watch it happen
Ten seconds, four taps. This is the whole game.
- Ring the bellMothball reads your address out loud.
- Fix the letterThe missing i waits in a dashed slot.
- Lift the flapThe page left you a note.
- Get deliveredYou land where you meant to go.
The idea
Most broken links aren't mysteries. A letter fell out (/prcing), two swapped (/abuot), a key was pressed twice (/contactt).
So in our post office the URL is the address on an envelope, and fixing it is the game. The sign still says, in plain words, what happened, and Home, Back, search and every page are visible before you touch a thing. Someone who skips all the fun still knows where to go.
What we built
One 404 page, with a whole post office behind it.
Mothball and the guesser
Plain, deterministic code scores every real page, in three languages, and can only ever suggest pages that exist. No AI at runtime.
Meet MothballLetter tiles
The missing letter waits in a dashed slot, the extra one wiggles, swapped letters glow. Tap them, or fix it all at once.
Try oneYour typo, as a stamp
Every lost address becomes its own commemorative postage stamp. Keep it as a picture or share it.
The stamp albumThe address bar fixes itself
As you put letters back, the browser's real address bar changes letter by letter, and the tab gets a green tick.
Watch the barThe sorting wall
When someone anywhere lands on a missing page, an envelope drops into a pigeonhole behind Mothball. Live, for everyone at the counter.
See the machineThe Dead Letter Office
Near misses hang in a museum with exhibit numbers and curator's notes. Yours might be next.
Visit the museumPostcards for the next lost visitor
A guestbook that is filtered, rate-limited and reviewed before anything goes public.
Read the wallSound, voice and a mute
Every sound is synthesised, no files. Mothball can read aloud with the browser's own voice. Both switch off in one tap.
Ring the bellA letter you can post
Print the page and it turns into an actual letter. It also works offline, and a cached 404 still answers with a 404.
How forwarding works
Letters that will come back
Each address is wrong in a different way. Open one and ring the bell.
Under the counter
All on Cloudflare. No framework, no build step for the site: vanilla HTML, CSS and ES modules.
- Workers + static assetssort every request, and answer unknown paths with a real 404
- HTMLRewriterwrites the guess and your city's postmark into the page as it streams
- Durable Objectsthe live counter, over hibernating WebSockets
- D1the Dead Letter Jar, the museum and the postcards
- Rate Limitingten letters a minute, with a key that changes every night
- Cron Triggersa night cleaner at 00:17 UTC
- Speculation Rulesyour page starts loading before you click
- Service workerthe counter opens offline
Kind to everyone
Accessible
Every step works by keyboard, Mothball's lines go to one polite live region, and reduced motion keeps every step. axe finds zero violations in 15 states.
AccessibilityPrivate
No analytics, cookies or request logs. The address you typed is read once to make a suggestion, never stored. Only single letters ever reach the jar.
PrivacyHostile-input tested
We attacked our own page with markup in paths, broken storage, a lying API, oversized and cross-site posts, and 320px with no JavaScript. The fixes have tests.
What we found
Everything, in one place
- Source codegithub.com/harshbhx/bureau-of-lost-pages
- READMEthe story, the architecture, how to run it
- The briefhaX.baby 404 Hackathon
- Engine roomevery machine, live
- Every pagethe whole building, floor by floor
- Searchfind a page by what it's about
- Dead Letter Officetonight's near misses
- Pressfor the curious
Lost something? Ring the bell.
Every unknown address gets a real HTTP 404. Mothball is just very polite about it.