Prerequisites
- Docker & Docker Compose: Install Docker.
- Telegram Bot Token: Get one from @BotFather.
- API Keys: At least one provider key (OpenAI, Gemini, Anthropic, etc.).
Installation
1. Create a Project Directory
Create a folder for your bot and enter it:2. Create Configuration File (.env)
Create a file named.env and add your credentials.
.env content:
3. Create Docker Compose File
Create a file nameddocker-compose.yml with the following content. This tells Docker how to run Chibi.
4. Start the Bot
Run the following command to download the image and start the bot in the background:Updating
To update Chibi to the latest version:Troubleshooting
- Container keeps restarting: Check logs with
docker-compose logs. Usually indicates a missing API key or invalid token. - Permissions errors: Ensure the user running docker has permissions to create volumes.

