Offline chat on desktop or Android via Termux with Prefrontal
- Models & engines
- Runtime: Ollama (desktop) or llama.cpp (any platform, including Android/Termux)
Suggested models: gemma3:4b (recommended), gemma3:12b, llama3.2, mistral - Key gotcha
- The hosted live demo only supports OpenRouter and stores your key in a cookie; it's for previewing the UI, not private use
What they built
Prefrontal is an open-source chat interface for local models. When run with Ollama or llama.cpp, no chat data leaves your machine or LAN. OpenRouter is an optional cloud mode.
Setup
- Node.js app at http://localhost:3000
- Runtime: Ollama (desktop) or llama.cpp (any platform, including Android/Termux)
- Suggested models: gemma3:4b (recommended), gemma3:12b, llama3.2, mistral
Gotchas
- The hosted live demo only supports OpenRouter and stores your key in a cookie; it's for previewing the UI, not private use
Do it yourself
- ollama serve & then ollama pull gemma3:4b
- git clone the repo, npm install && npm start
- Open http://localhost:3000 → Settings → Runtime: Ollama, URL http://localhost:11434, model gemma3:4b
git clone https://github.com/sidx1-scratch/prefrontal
cd prefrontal
npm install && npm startSimilar setups
Link Séance: a local Gemma 3 writes grounded epitaphs for the dead links in your bookmarks
Abdul AmberNeel built a command-line tool that checks every link in a bookmarks file, finds the last living Wayback Machine snapshot of dead ones, and has a local Gemma 3 write a two-sentence epitaph only from what the archive kept.
Onira: on-device self-hypnosis scripts from a 2B model on Android
The Onira app writes 30-40 minute self-hypnosis sessions on a mid-range Android phone with a fine-tuned Gemma 4 E2B in llama.cpp, generating each block while the previous one is narrated and working in airplane mode.
Local AI: a one-click Windows app that picks a model for your PC and sets up Ollama for friends
Tired of setting up local LLMs for friends, a developer built a free MIT-licensed Windows app that detects your GPU and RAM, installs Ollama without admin rights, pulls a fitting model and opens a private chat.
A €200 mini PC as an offline AI box: a week with Gemma and Qwen
Diogo Soares ran Gemma 4 E4B and Qwen2.5-Coder 7B on a cheap NiPoGi P1 mini PC firewalled off the internet, used it from his Mac for a week, and measured what was fast and what wasn't.