Repdix is a community-driven Telegram bot that turns plain-language questions into real answers from your MySQL, PostgreSQL, or SQLite databases — no SQL expertise needed. It runs entirely on local LLMs through LM Studio or Ollama, complete with Tool Calling and a full audit trail, so your data stays close to home. Built with an open, extensible architecture, it welcomes contributors and tinkerers alike to shape where the project goes next.
📋 System Requirements
- Windows 10 or Windows 11
- PowerShell 5.1 or newer (already available on Windows)
- Active network connection
- No admin rights needed
Features
Here's what makes Repdix a joy to use every day:
🗣️ Ask in plain language, get real answers — Type a question the way you'd say it out loud, and Repdix turns it into a working SQL query, runs it, and explains the result in a friendly, readable reply. No query syntax memorized, no dashboards to click through.
🔌 One bot, many databases — MySQL, PostgreSQL, and SQLite all live happily side by side. Switch between them with a quick command and keep your whole data landscape a single chat away.
🧠 Your own local brainpower — Powered by local models through LM Studio or Ollama, so your data never has to leave your machine to get an answer. Point it at the model you trust and let it think.
🛠️ Smart tool calling — The model doesn't just guess — it knows when to reach for the database, builds the query, checks it, and brings back the goods. It's a genuine assistant, not a fancy search box.
🛡️ Guardrails that respect your data — Read-only validation, SQL auditing, and security logging mean curious questions never turn into accidental changes. Peace of mind is built in, not bolted on.
📚 Context that remembers — Conversations are cached and carried across restarts, so you can pick up right where you left off. Compact, clear, or inspect your history whenever you like.
🔄 Bring your own models — Swap between models on the fly, list what's available, and tailor the setup to your hardware and your needs — all without touching a config file mid-chat.
🐳 Docker-ready, community-friendly — Spin it up in containers, extend it to new chat platforms through clean adapters, and shape it to fit your workflow. Built by the community, for the community — and genuinely open to everyone who wants to explore their data.
Commands
Here's where Repdix really comes alive. Whether you're a casual explorer or a power user, these commands give you full control over your database conversations — no SQL wizardry required. Type them anytime in the chat, and the bot will pick up on context from your previous messages.
/db— See which database you're currently connected to. Your friendly "you are here" marker./db <name>— Switch to any connection defined indatabases.yaml. MySQL, PostgreSQL, SQLite — Repdix juggles them all./model— Check which LLM is currently doing the thinking for you./model <name>— Swap to a different model frommodels.yaml. Smaller for speed, larger for deeper reasoning — your call./models— Browse every model you have configured, so you always know your options./sql <query>— Run a handcrafted SELECT query yourself (safe, read-only validation applies). Great for when you want precision over conversation./history— Peek at the current conversation history — roles plus the first 200 characters of each message./compact— Ask the LLM to compress your conversation into a tidy summary. Perfect for long sessions where tokens matter./tokens— Get an approximate token count for your current context. Stay lean, stay sharp./clear— Wipe the slate clean — history is cleared from both memory and the Redis-backed store.
No comments yet.