anisayari / sparky
git clone https://github.com/anisayari/sparky.git
π Your private AI assistant, 100% local on Windows: chat, vision, documents (RAG), web search, images, videos with sound, voice, code projects, MCP tools β one-line install, models picked for your PC.
β
stars, 24h
+43
stars, 7 days Β· #1,021
+43
stars, 30 days Β· #6,816
43
β
total Β· +43% this week
2
forks Β· 0 open issues
Star history starts 2026-10-20; the chart appears after the second daily snapshot.
LanguagePython
LicenseMIT
Created2026-10-13 (7d ago)
Last push5d ago
Watchers0
OwnerUser
GitHub topics
chatgpt-alternativecomfyuiimage-generationllama-cppllmlocal-aimcpofflineprivacyragtext-to-videowindows
Links
- GitHub: github.com/anisayari/sparky
- Releases Β· Issues Β· Hacker News mentions
README excerpt
Sparky
Your private AI assistant. 100% local.
Chat, see images, generate pictures and videos with sound, build apps, ask your documents, dictate and listen β
everything runs on your own PC. Nothing is sent to the internet unless you turn it on.
π¬ The Studio β every video here was generated on the PC, with its sound, by LTX-2.5.
---
## β¨ What it does
### π¬ Chat
- π **Like ChatGPT, offline** β history, plus π» **temporary chats** that are never saved.
- βοΈ **Edit** any message, π **regenerate** or β‘οΈ **continue** an answer, and flip between versions (βΉ 2/3 βΊ).
- π§ **Adjustable thinking** β Off, Light, Normal or Deep, and see how the model reasoned.
- π **Rich answers** β tables, LaTeX formulas, Mermaid diagrams, task lists, syntax-highlighted code (all offline).
- ποΈ **Vision** β drop photos, screenshots or scans: the assistant sees and analyses them.
- π **Attach any file** β PDF, Word, PowerPoint, Excel, text, code, audio and video (transcribed offline).
- ποΈ **Organize your chats** β full-text search, rename, π pin, π folders, export (JSON / Markdown) and import.
### π Knowledge & web
- π **Ask your documents (RAG)** β collections of PDFs, Office files, text, codeβ¦ indexed on your PC, answers **with numbered sources** [1] [2].
- π **Web search, when you want it** β turn on *Web*: the assistant searches (DuckDuckGo or your SearXNG), reads pages and the links you paste, and cites them. Off by default.
- π§βπΌ **Assistants** β a role, its documents and web access, reusable in one click.
- β‘ **Prompt library** β type **/** to insert a saved prompt with `{{variables}}`; standing instructions for every chat or just one.
### π¨ Create
- π¬ **Studio: images & videos** β a gallery of everything you generated, with a Grok-Imagine-like prompt bar: **text β image**, **text β video**, **image β video** ("Animate"). Videos come **with synchronized sound** π (LTX-2.5), and your idea is expanded into a detailed prompt first.
- πΌοΈ **Images** β generate and edit by asking ("make it snow", "remove the bottle"); the agent checks its own result and retries.
- π§© **Code & apps panel** β games, pages, tools and scripts written live next to the chat, with a **running preview**.
- ποΈ **Multi-file projects** β websites (`index.html` + `css/` + `js/`), Python or Node.js programs; the assistant makes the pictures, then Sparky **tests the project automatically** (headless browser, `npm install`, run) and the model **fixes the errors until it works**. βΆ Run anytime, download as ZIP.
### ποΈ Voice
- π€ **Dictation, offline** β click the mic, talk, stop: Whisper writes it in the input box.
- π **Read aloud** β on any answer, offline Piper voices (English, French, German, Spanish, Italian).
### π οΈ Tools & automation
- π» **Computer mode** β Sparky can look at and act on your PC: browse folders and the desktop, read and search files (PDF and Office too), take a screenshot, write, copy, move, send to the Recycle Bin, open files and apps, run PowerShell commands. **You choose the se