Convert to local desktop app (Electron + SQLite + workspace folder)

↗ view on GitHub · riffyraf · 2026-05-01 · e2a80b08

Replace every cloud dependency with a local equivalent and ship as a
downloadable Windows app:

- Electron shell with workspace picker, scrypt-hashed local password,
  lock screen on every launch
- Supabase Auth → local HS256 JWT (Node crypto, no library deps)
- Supabase Postgres → SQLite via better-sqlite3 with a Postgrest-shaped
  compat shim, so existing route handlers stay unchanged
- S3/R2 storage → local filesystem under <workspace>/files with
  path-traversal guard and short-lived token-bearing URLs
- API key management via existing Settings UI, persisted in user_profiles
- LibreOffice runtime detection with graceful degradation
- electron-builder NSIS installer config, Next.js standalone build
- Full README rewrite for end users plus DECISIONS.md, TODO.md, and
  per-phase notes under .claude/phases/

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Repository rafal-fryc/mikelocal
Author riffyraf <rafstanfryc@gmail.com>
Authored
Parents d9690965
Stats 58 files changed , +19351 , -15651
Part of Local desktop port (Electron + SQLite + workspace folder)

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-e2a80b08.md from inside the repo you want the change in.

⬇ Download capture-commit-e2a80b08.md