Skip to content

Personal Telegram bot with a wide range of capabilities, it stays in permanent proof of concept stage so don't blame me for quality of code )

License

Notifications You must be signed in to change notification settings

Sets88/sets88_telegram_bot

Repository files navigation

Personal Telegram bot with a comprehensive AI assistant platform:

🤖 AI Model Support

  • OpenAI Models: GPT-4, GPT-5, O3, O4-mini, DALL-E, Whisper, TTS
  • Anthropic Models: Claude 3/3.5, Claude Haiku/Sonnet/Opus 4.x series
  • Local Models via Ollama: Qwen, Gemma, open-source GPT models
  • Replicate Models: Stable Diffusion, Flux Pro, Kandinsky, Llama, and 50+ others

🛠️ Advanced Features

  • Function Calling & Tools: LLM models can call functions, generate images, search web
  • Memory System: AI remembers user preferences and information across conversations
  • Video Generation: Google Veo 3.1 models with context-aware audio
  • Voice Processing: Speech-to-text with Whisper, multi-modal conversations
  • Image Analysis: Upload and analyze images with AI
  • Permissions System: Granular access control per user and feature
  • 17 AI Personas: Specialized roles from IT Expert to Stand-up Comedian
  • Video Downloads: Support for various video hosting platforms
  • Meta-language Scheduler: Automated task execution with custom scripting language

Here are a few simple steps to set it up

  1. Clone the repository onto the server
  2. Copy the config.json.example file to config.json
  3. Register a Telegram bot
    • Send the command /newbot to the @BotFather bot
    • Enter the bot's name
    • Save the received token in config.json -> TELEGRAM_TOKEN
  4. Add the usernames of users who will have access to the bot to config.json -> ALLOWED_USER_NAMES

If you need to use OpenAi(Optional):

  1. Get the key from OpenAi:

If you need to use Anthropic Claude models(Optional):

  1. Get the key from Anthropic:

If you need to use replicate models(Optional):

  1. Get the key from replicate:

If you need to use local Ollama models(Optional):

  1. Install and configure Ollama:

Permissions Configuration(Optional):

  1. Configure user permissions in config.json -> USER_PERMISSIONS:

    • Set is_admin, can_use_tools, can_use_ollama_llm_models per user
    • Control access to specific features and models
  2. Install dependencies, and start the bot by running the command:

run.sh

How it looks How it looks How it looks

About

Personal Telegram bot with a wide range of capabilities, it stays in permanent proof of concept stage so don't blame me for quality of code )

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages