Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Local AI chat + coding agent for Apple Silicon, powered by Gemma 4 via MLX / Supports Ollama
| Date | Stars |
|---|---|
| 2026-07-31 | 1422 |
| 2026-08-02 | 1424 |
| 2026-08-03 | 1425 |
| 2026-08-06 | 1424 |
Today
-1 stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
<p align="center"> <img src="gemma-extruded-app.png" alt="Gemma Chat" width="180" /> </p> <h1 align="center">Gemma Chat</h1> <p align="center"> <strong>Vibe code without the internet.</strong><br/> A local coding agent powered by Google's Gemma 4 — runs entirely on your Mac via Apple's MLX framework.<br/> No API keys. No cloud. No Wi-Fi required. </p> --- <img width="960" height="593" alt="Gemma4-Vibecoding" src="https://github.com/user-attachments/assets/b4149e63-48df-456e-8007-c607b7d46f37" /> ## The Idea What if you could vibe code from an airplane? Or a cabin with no cell signal? Or just... without sending your code to someone else's server? **Gemma Chat** is an open-source Electron app that runs Gemma 4 natively on Apple Silicon. You describe what you want to build, and it writes the code — HTML, CSS, JavaScript, multi-file projects — with a live preview that updates as the model types. No internet connection needed after the initial model download. It's a proof-of-concept for **fully offline, local-first vibe coding** using a small open model. The model is ~3 GB. The whole thing runs on your laptop. ## How It Works 1. **Describe what you want to build** — "A retro calculator app" or "A landing page for a coffee shop" 2. **Watch it code** — Gemma writes files character-by-character with a live preview 3. **Iterate** — Ask for changes, it edits the files and the preview updates in real-time Everything happens locally. The model runs via [MLX-LM](https://github.com/ml-explore/mlx-examples/tree/main/llms/mlx_lm), Apple's framework for running LLMs on Apple Silicon. Your code, your prompts, your conversations — all on your machine. ## Features - 🛠 **Build Mode** — Coding agent with a live preview canvas. Writes multi-file projects into a sandboxed workspace. - 💬 **Chat Mode** — Conversational AI with tool use (web search, URL fetch, calculator, bash). - 🔄 **Model Switching** — Hot-swap between 4 Gemma variants on the fly. - 🎤 **Voice Input** — Local speech-to-text via in-browser Whisper. - ✈️ **Works Offline** — After the one-time model download, everything runs without internet. - 💾 **Zero Config** — Python venv + MLX runtime auto-provisions on first launch. ## Available Models | Model | Size | Best For | |---|---|---| | Gemma 4 E2B | ~1.5 GB | Fast Q&A, simple tasks | | **Gemma 4 E4B** | **~3 GB** | **Recommended.** Speed + capability balance | | Gemma 4 27B MoE | ~8 GB | Stronger reasoning (needs 16 GB+ RAM) | | Gemma 4 31B | ~18 GB | Maximum quality (needs 32 GB+ RAM) | ## Getting Started **Requirements:** macOS on Apple Silicon, Python 3.10–3.13, Node 20+. ```bash git clone https://github.com/ammaarreshi/gemma-chat-public.git cd gemma-chat-public npm install npm run dev ``` First launch will auto-detect Python → create a venv → install MLX-LM → download the model (~3 GB) → ready to vibe code. > **Tip:** Install Python via Homebrew if you don't have it: `brew install [email protected]` ### Building a Distributable ```bash npm run dist ``` Produces a signed `.dmg` in `dist/`. Share it directly — recipients just drag to Applications. ## Tech Stack | Layer | Tech | |---|---| | App Shell | Electron + Vite + React 19 + TypeScript + Tailwind | | Model Runtime | MLX-LM (auto-installed into a local venv) | | Speech-to-Text | transformers.js (Whisper, runs in-browser via WASM) | | Workspace | Per-conversation sandboxed filesystem + local HTTP server | ## Architecture ``` src/ ├── main/ Electron main process │ ├── index.ts Window + IPC + agent loop │ ├── mlx.ts MLX-LM venv install / server lifecycle / chat streaming │ ├── workspace.ts Per-conversation workspace + static file server │ └── tools.ts Tool definitions + system prompts + XML action parser ├── preload/ contextBridge API surface ├── renderer/src/ │ ├── components/ │ │ ├── Setup.tsx First-run onboarding + download progress │ │ ├── Chat.tsx Main layout + model switche
Excerpt of 5,359 characters
Read on GitHub9
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:d82cd45c31ec6cff, desc:coding agent