pwliwanow/mike

Offline-capable Mike with a fake LLM, vendored Supabase runtime, and Cloudflare Tunnel auth

Single topic: a large combined commit adding local Supabase runtime, fake LLM, filesystem storage fallback, tunnel auth middleware, widened CORS, sample documents, and a dev port move to 3010. Followed by a README restructure. No upstream PRs visible.

View on GitHub →

pwliwanow's fork adds everything needed to run Mike with no cloud accounts and share a live demo over a Cloudflare Tunnel. The local runtime is a vendored Supabase Docker Compose stack; a fake LLM provider (MIKE_FAKE_LLM=1) returns deterministic responses for both chat and tabular extraction flows without an Anthropic or Gemini key. A filesystem storage fallback handles macOS/Docker filesystems where Supabase Storage's file backend fails on extended attributes.

The tunnel-auth addition is an independent feature: a requireExposureAuth middleware checks a token header or HTTP Basic credentials, mounted globally on the Express backend. The frontend adds a header injection helper and a separate proxy file - verify that proxy file is actually loaded as Next.js middleware before relying on it.

One commit covers the bulk of the work; a follow-up is a pure README restructure.

What's in it

Direction

infrastructuresecurity

Activity

Themed changes and pull requests touching this fork, newest first. Themed changes that haven't been turned into a public post yet still appear — they're real work even without a published writeup.

Threads of work (detailed view)

2 threads have been distilled into posts.

Fake LLM, local Supabase runtime, and tunnel auth for shareable local demos

pwliwanow makes Mike runnable end-to-end with no cloud accounts and adds a "shareable demo" mode for putting the local stack behind a Cloudflare Tunnel. The local-runtime pieces are clean env-flag opt-ins; the tunnel auth has a deployment gotcha worth reading before you pull it.