Skip to main content

Prerequisites

  • Docker installed on your machine.
  • Telegram Bot Token from @BotFather.
  • OpenAI API Key (or another provider).

Pip Installation (Linux/macOS)

pip install chibi-bot
chibi config  # Set up your bot token and API keys
chibi start

One-Liner (Linux/macOS)

Run this command in your terminal, replacing the placeholders with your actual data:
docker run -d --name chibi \
  -e TELEGRAM_BOT_TOKEN="your_bot_token" \
  -e OPENAI_API_KEY="sk-..." \
  -e USERS_WHITELIST="@YourTelegramName" \
  -v chibi_data:/app/data \
  pysergio/chibi:latest

Verify Installation

  1. Open Telegram and find your bot.
  2. Send /start.
  3. If the bot replies, you’re live!

Next Steps