Skip to content

ErikUustalu/TeleLLM

Repository files navigation

A Telegram chatbot with memory

(learning project)

Try it yourself

Features

  • Persistent memory
  • Supports OpenAI-compatible APIs
  • User system with rate limiting support

Setup

CLI

Prerequisites: Python (3.14 tested)

  1. Clone this repository
    • git clone https://github.com/ErikUustalu/TeleLLM.git
  2. Install dependencies
    • pip install -r requirements.txt
  3. Configure environment variables
    • Rename .env.example to .env and add your api keys
  4. Run the bot
    • python main.py
    • The SQLite database bot.db will be automatically created

Docker compose

Prerequisites: Docker

  1. Create the .env file
    • nano .env
    • Paste in the contents of .env.example and modify them with your information
  2. Create the database file
    • touch bot.db
  3. Create the docker compose file
  4. Start the bot
    • docker compose up -d

License

MIT

About

A fast customizable Telegram AI chatbot

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors