ebubekirkupe rebuilds Mike as a local-first Electron app with a Word add-in
ebubekirkupe has replaced the cloud-hosted Supabase/R2 backend with a single-user Electron shell, SQLite storage, and a Microsoft Word task-pane add-in that attaches AI redlines as tracked changes with one-sentence justification comments. It's a deliberate product pivot, not an incremental patch.
The bulk change (92fdb84, 137 files) drops the AWS S3 SDK, replaces Supabase auth and R2 storage with better-sqlite3 at ~/.mike/mike.db and local files at ~/.mike/storage/, and reorganises the repo into Bun workspaces. AI provider keys are stored AES-256-GCM encrypted in ~/.mike/secrets.enc using a scrypt-derived key. The backend opens an HTTPS loopback on port 3002 with a self-signed cert to satisfy Office's mixed-content rules, and a pair-code flow (routes/pair.ts) brokers trust between the Electron shell and the add-in.
The word-addin/ workspace is the most substantive new piece - roughly 25k LOC. It adds track-changes-mode and comment-mode AI edits, a risk-insights card, and full chat/projects/workflows tabs inside the Word task pane. Every AI edit gets a one-sentence justification comment attached in Word's native review format.
The packages/shared/ extraction collects canonical domain types; packages/mcp-server/ is present but the README marks it "to be developed." Setup is now bun install then bun start.
A few cautions: the single-user assumption is baked in - backend/src/index.ts runs DELETE FROM sessions on every boot to keep the in-memory secrets cache consistent. The add-in GUID in manifest.xml is a placeholder that would collide with any other deployment of this fork. Several files are still named supabase.ts despite having been repurposed as a generic data-access layer.
Spotted something wrong? Or know the PR text has fresher detail than the writeup above?