Application case study · In development
Chat Browser
A local archive for searching years of ChatGPT conversations by exact phrase or by meaning.
The problem
A useful reply can be buried years back, and the words you remember may differ from the ones you used. Related ideas can be spread across separate conversations.
The solution
Chat Browser imports ChatGPT exports into a SQLite archive on your computer. Text searches run against the local archive, and optional passage embeddings surface related ideas across independent chats. Each match links back to the original exchange.
Visual demonstration





Technical implementation
Django stores the original export, normalized messages, and a conversation graph in SQLite. Literal search reads current archive rows and word search uses FTS5. A background worker prepares passage vectors on request. The app stores them in SQLite and uses cosine similarity to rank passages by how closely they match the query embedding. Results link to the original message and recover its conversation path.
Challenges & lessons learned
Keeping text search independent of the embedding model makes the archive searchable as soon as chats are imported. Semantic matches are easier to assess when each result shows the matched passage and opens its original context. A link to an alternate reply also needs to recover the path through the conversation.
In the semantic demo, the query “keep balcony herbs hydrated while traveling” has no literal match. With local Ollama embeddings, it finds discussions about basil drying out over a long weekend, a reservoir planter for parsley, and wick watering for mint. Both demos use synthetic conversations.
In a local benchmark with 100,000 synthetic messages, a one-character literal search took 11.4 ms at the 95th percentile over five warm queries. The benchmark timed archive retrieval in Python and excludes browser rendering and model inference.