{"repo":"mlloliveira/TelegramBot","free":true,"listed":false,"github":"https://github.com/mlloliveira/TelegramBot","clone":"git clone https://github.com/mlloliveira/TelegramBot.git","description":"TelegramBot is a Telegram assistant powered by local Ollama models. Chat with multiple LLMs, switch modes, search the web, analyze images with a vision model, and control prompts, temperature, and tokens – all from a simple, self-hosted Python bot. Ideal for self-hosted AI experiments or portable personal chatbot.","language":"Python","stars":19,"topics":[],"license":null,"category":"ai-agents","readme_excerpt":"TelegramBot – Local Ollama + Telegram Chatbot TelegramBot is a Telegram bot that talks to local LLMs via Ollama. It supports: - Text chat with multi-turn history (per Telegram chat) - Model switching ( /change model , /see models , /current model ) - System prompts & modes ( /set system , /mode ) - Web-augmented answers using DuckDuckGo ( /web ) - Summarization and translation helpers - Basic vision support: send an image and the bot asks a vision model (e.g. llama3.2-vision ) to analyze it - Markdown → Telegram formatting (bold, italics, code blocks, etc.) By design, no conversation data is persisted to disk . When you restart the bot, it forgets everything. --- Table of Contents - Features - Architecture Overview - Requirements - 1. Install Ollama - 2. Pull Models - 3. Create a Telegram Bot - 4. Clone & Install TelegramBot - 5. Configure Environment - 6. Project Structure - 7. Running the Bot - 8. Commands - 9. Privacy & Security - 10. Troubleshooting - License --- Features - Local-first : all LLM calls go to your local Ollama instance. - Telegram-native UX : slash commands, markdown formatting, inline help. - Web search : /web uses DuckDuckGo (DDGS) and feeds results into the LLM for a better answer. - Vision : send an image (with an optional caption) and the bot calls a vision model. - Per chat configuration (in memory only): - model - system prompt - mode - temperature - max tokens --- Architecture Overview High-level: - Telegram → python-telegram-bot - Commands & handle","default_branch":null,"files":null,"tree":[],"storefront":"/r/mlloliveira","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mlloliveira/TelegramBot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}