How I built Glia: A local-first shared memory layer for browser chats and IDEs

Dev.to AI
Generative AI AI Research

Have you ever spent 15 minutes re-explaining your database schema, architecture, or codebase decisions to Claude or ChatGPT because your chat limit was reached or you opened a new session? If you use AI web chats and IDE coding agents (Cursor, Windsurf, Claude Code), this constant context loss is the biggest friction point in daily development. To solve this, I built Glia - a 100% offline, local-first shared memory layer that links your browser chats and IDE coding tools using a unified local database.