A local-first AI chat app in a single HTML file. No build, no sign-up.
Models it supports:
On-device: Chrome's built-in Gemini Nano / Gemma. Fully offline,
nothing leaves your machine.Ollama: any model you've pulled locally.
Cloud: OpenRouter, Groq, Cerebras, Mistral. Free/Paid tiers work.
Each chat remembers its own model, and you can run one prompt on two models side by side to compare them.
What you can do:
• Attach images, audio, PDFs, and text/code files and ask about them
• On-device tools: translate (16 languages), summarize, proofread, rewrite, expand a note into a draft
• Voice input and read-aloud
• Personas and saved prompts, with "/" slash commands
• Command palette, multiple conversations with search / pin / rename
• Markdown with tables and code blocks, edit-and-resend, regenerate
Conversations live in your browser (IndexedDB), API keys stay local, with one-file backup export/import. It also installs as an PWA.
There's a Learn button in the header too. It opens The Missing Manual a free web site I run for learning programming, tech, math, and logic. Free and No ads.
GitHub: X-Chat
Learn: The Missing Manual
Top comments (0)