← Work

005 · 2026

Capsule — save the web before it rots

Saved links rot: pages 404, services shut down. Capsule archives the full text of every page you save and lets you find your collection by meaning instead of keywords, then browse it as a connection graph.

Role
Design engineer · solo build
Status
In development · deployed on Vercel
Next.js 16Neon + pgvectorTransformers.jsReact FlowStripe
Capsule — save the web before it rots

Decision

AI that runs local and free

Semantic search runs MiniLM embeddings in the browser via Transformers.js — no API key, no per-call cost. Summaries aren't LLM-generated either: I embed every sentence and stitch back the three most representative ones, so a summary is always traceable to the real text.

How it's built

One vector store, two surfaces

Links are embedded into Neon with pgvector (HNSW), and those same vectors power both the search and a React Flow graph that draws edges between semantically related saves. The full page text is offloaded to Cloudflare R2 so your archive outlives the original URL.