{"repo":"k4yt3x/tellama","free":true,"listed":false,"github":"https://github.com/k4yt3x/tellama","clone":"git clone https://github.com/k4yt3x/tellama.git","description":"A bot that allows you to chat with LLMs on Telegram","language":"Go","stars":19,"topics":["llm","machine-learning","ollama","telegram","telegram-bot","openai","openai-api"],"license":"AGPL-3.0","category":"ai-agents","readme_excerpt":"Tellama Tellama is a lightweight bot that integrates LLMs with Telegram's bot API. It allows you to chat with your favorite language model in Telegram private or group chats. Quick Start 1. Build Tellama You can skip this step if you are using the Docker image. Install the following dependencies: - Go 1.24+ - Git Use the following commands to build Tellama: The built binary will be located at bin/tellama . 2. Setup Telegram Bot and LLM Backend 1. Make a copy of the configs/tellama.yaml configuration file and name it tellama.yaml . 1. Create a Telegram bot and obtain a Telegram bot token from BotFather. 1. Fill in the telegram.bot token section in the configuration file with the token you obtained. 1. Setup an LLM backend: - Ollama: Install and start Ollama on your machine and pull the models you want to use. - OpenAI API: Obtain the OpenAI API base URL and API key. 1. Set the genai.provider to ollama or openai based on the backend you are using. 1. Fill in the ollama or openai section in the configuration file with the appropriate values. 3.A: Run with Docker The official image is hosted at ghcr.io/k4yt3x/tellama:latest. You can run the image with the command below. This command assumes Ollama is running on the same machine and is listening on http://localhost:11434 : 3.B: Run on Bare Metal You can also run the Tellama binary directly on your machine: 4. Configuration You will need to add a custom default system prompt. Run the bot once to create the database, then add the sy","default_branch":null,"files":null,"tree":[],"storefront":"/r/k4yt3x","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/k4yt3x/tellama/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."}