
AT A GLANCE
- My role
- Product, design and code, on my own
- Built with
- Cloudflare Workers, Hono, D1, R2, React, three.js and Zod
- Status
- Live at inspo.jahattrinidad.com, about 190 items, in daily use
- Who adds to it
- Me, plus Claude Code, Codex and OpenCode through the same API
01 — THE PROBLEM
My references were everywhere, so I could never find them.
Ideas I saved lived in bookmarks, screenshots, chats and a hundred open tabs. When a project needed them, they were gone.
I wanted one place that is quick to fill and easy to search, and that an AI assistant can help keep in order, not only me.
- Requirements
- Six item kinds with shared and specific fields. Public reads; writes only from the owner and owner-issued agent tokens.
- Constraint
- No server to babysit and no database that sleeps: Cloudflare Workers, D1, R2, Images and Access.
02 — WHAT IT DOES
One place to save, find and reuse what inspires me.

Find anything in seconds
Search with filters for kind, tag and colour, all inside one bar at the bottom of the screen.
- Under the hood
- FTS5 prefix search over D1, with kind, category tree, tags and dominant colour as filters on the same request.

Six kinds of things, one place
Images, links, notes, videos, colour palettes and fonts, each one with its tags and where it came from.
- Under the hood
- Links unfurl their title and preview on save, and the preview image is copied to R2 so it outlives the source page. Image colours are indexed for search.

Works on a phone, too
Install it like an app. Every window becomes a sheet you can reach with your thumb.
- Under the hood
- Installable as a PWA. Below 480 px every dialog rises as a bottom sheet sized to its content; the canvas, search and API stay the same.
~/projects · claude
> organize the garden: clean up the tags, put everything in English and sort it into categories
● Loading skill inspiration-garden
GET /api/tags 75 tags
PATCH /api/tags/:id merge ia → ai, ui → ux/ui …
PATCH /api/items/:id ~35 translated, 26 titled
POST /api/categories 4 roots, 9 leaves
Done: 75 → 64 tags, 190 items sorted into Web Design, AI, Learning and Dev Resources.Reconstructed from the 15 Nov cleanup session [Owner: confirm wording]AI agents keep it tidy
Claude Code, Codex and OpenCode save, tag and clean up items for me, through the same API the app uses.
- Under the hood
- An Agent Skill teaches them to search narrowly, so a page of 100 items (about 70 KB) never floods their context. The OpenAPI 3.1 spec comes from the same Zod schemas.
03 — DECISIONS
Four decisions, and what each one cost.
The site and its data live at one address
one origin · API + app on one WorkerMy login is a cookie the browser sends on its own. With the API on another address that breaks: CORS becomes mandatory and the CSRF guard loses its same-origin check.
One deploy unit: the interface and the API always ship together.
AI assistants are trusted helpers, not guests
agents write directly · no review inboxAgents use the same API as the app, with read or read + write tokens I can revoke one by one.
Trust over moderation. Revision history, soft delete and a recorded source soften it, but on day 53 one bad patch still cleared 58 items’ tags.
One shape for every kind of item
hybrid data modelCore columns for what every item shares and a JSON field for what each kind needs, so a new kind does not need a new table.
D1 cannot enforce the JSON, so shared Zod schemas validate it in the client and in the API.
Thumbnails, never originals
thumbnails at the edgeCards were downloading full originals: 265 MB per session on a phone. Cloudflare Images makes WebP thumbnails once per width, and media fell to about 1.2 MB.
A dependency on Cloudflare Images. If a thumbnail cannot be made, the card falls back to the original and retries later.
04 — WHAT I GOT WRONG
Two things I got wrong.
The sky I loved went unnoticed
The first version had a sky behind the canvas and light frosted glass panels. After a few days of real use, nobody noticed the sky and the glass no longer fit. On day 11 (PR #1) I cleared the canvas to a solid dark colour, swapped the glass for solid cartoon panels and made navigation faster. Glass came back on day 35: dark, 75% opaque, and tuned so text stays at WCAG AA even over a pure white card.


KIND
Image Link Video FontTAGS
design 137 · portfolio 61 · ai 39Lavender sky, glass at 65%, ink text
KIND
Image Link Video FontTAGS
design 137 · portfolio 61 · ai 39Ink on solid lavender: about 14:1

KIND
Image Link Video FontTAGS
design 137 · portfolio 61 · ai 39Text 5.3:1 even over a pure white card
Panels rebuilt from each release’s design tokens, not screenshots.
An agent wiped the tags of 58 items
On day 53 an agent cleaned up the garden for me, and 58 items lost every tag. The API read a missing tags field as an empty list: a Zod default survives .partial(), so a patch that only fixed a title also cleared the tags. I restored them from a local snapshot, and hotfix v1.2.1 shipped the same day: an omitted list now keeps the stored one.
// packages/shared/src/primitives.ts
export const tagsSchema = z
…
.default([]);
PATCH /api/items/:id
{ "kind": "link", "title": "…" }
→ tags: []58 items// patch schema: no defaults
// omitted ≠ cleared
tags: tagListSchema.optional(),
PATCH /api/items/:id
{ "kind": "link", "title": "…" }
→ tags: unchanged05 — HOW IT GREW
Small releases, one foundation, no rebuilds.
DAY 0
The foundation came first
Monorepo, data schema and FTS5 search in the first commit.
DAY 7
In daily use within a week
v0.1.0 live on Cloudflare Workers.
DAY 36
Shipped in small steps
10 releases in one day: v0.5.0 → v0.8.1, interface and speed.
DAY 46
v1.0 without a rewrite
Phones, PWA install and search on the same API.
Each one runs lint, typecheck, tests, D1 migrations, deploy and a health check on its own. Shipping small is cheap when the checks are automatic.
Where it is now
Live and in daily use: about 190 items under 64 tags, sorted into four categories. An agent did that last cleanup through the API, and the canvas keeps up with all of it.
What I would do differently
Use the product with real content before polishing the look. The sky took days to build, and I only learned it went unnoticed by using the first release.


