pwliwanow/mike
Offline-capable Mike with a fake LLM, vendored Supabase runtime, and Cloudflare Tunnel auth
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
- Fully local stack Run Mike end-to-end on your own machine with no cloud dependencies required to get going.
- Bundled local backend Ships its own self-contained backend services so you don't have to provision anything externally before trying it.
- Offline-friendly LLM mode Includes a stand-in model option so you can exercise the full app without signing up for a hosted LLM provider.
- One-command public sharing A demo mode puts your local instance behind a Cloudflare Tunnel, so you can share it with someone without standing up real infrastructure.
- Tunnel-aware authentication Auth is wired up to work correctly when the app is exposed through a tunnel, not just on localhost.
Direction
infrastructuresecurity
Activity
Threads of work (detailed view)
pwliwanow makes Mike run on a laptop, no AI keys required
This fork is built for kicking the tires - stand up the whole system locally, offline, before you commit to anything.
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.