Migrating from v2
Migrate from Code Insights v2 (Firebase/Bring-Your-Own-Firebase) to v3's local-first SQLite architecture. Step-by-step upgrade guide.
v3 is a complete architectural change. The dashboard, which was a hosted web app at code-insights.app, is now an embedded local server. Firebase and Supabase are gone. All data lives in a local SQLite database.
What changed
| Aspect | v2 | v3 |
|---|---|---|
| Data storage | Your Firebase Firestore | Local SQLite at ~/.code-insights/data.db |
| Dashboard | Hosted at code-insights.app | Embedded at localhost:7890 |
| Auth | Supabase (Google/GitHub OAuth) | None required |
| Setup | 9 steps (Firebase project, Firestore, keys) | 1 command (install, then run code-insights) |
| Privacy | Your data in your Firebase | Data never leaves your machine |
Migration steps
-
Install v3:
npm install -g @code-insights/cli@latest -
Run Code Insights:
code-insightsThis syncs all your sessions and opens the dashboard automatically. Sessions are re-discovered from your local AI coding tool files — v3 does not read from Firebase.
code-insights initis optional. The first run auto-detects your tools and sets up the database without it. Runcode-insights initonly if you want to customize settings like which tools to include.
Your Firebase data
Your Firebase Firestore data is untouched. v3 doesn't access Firebase at all. If you want to keep both, you can — v3 and v2 are completely independent.
If you want to delete your Firebase data, do so through the Firebase Console.
The code-insights.app dashboard
The hosted web dashboard at code-insights.app has been repurposed as a marketing and documentation site. It no longer serves the session dashboard. All dashboard functionality is now in the embedded local dashboard at localhost:7890.