We all love chat.openai.com, but... It's TERRIBLY laggy, has daily limits, and is only accessible through an archaic web interface.
This repo is ChatGPT re-created as Telegram Bot. And it works great.
You can deploy your own bot, or use mine: @jadvebot (Our web: https://jadve.com)
- Low latency replies (it usually takes about 3-5 seconds)
- No request limits
- Message streaming (watch demo)
- GPT-4 and GPT-4 Turbo support
- GPT-4 Vision support
- Group Chat support (/help_group_chat to get instructions)
- DALLE 2 (choose π©βπ¨ Artist mode to generate images)
- Voice message recognition
- Code highlighting
- 15 special chat modes: π©πΌβπ Assistant, π©πΌβπ» Code Assistant, π©βπ¨ Artist, π§ Psychologist, π Elon Musk and other. You can easily create your own chat modes by editing
config/chat_modes.yml
- Support of ChatGPT API
- List of allowed Telegram users
- Track $ balance spent on OpenAI API
/retry
β Regenerate last bot answer/new
β Start new dialog/mode
β Select chat mode/balance
β Show balance/settings
β Show settings/help
β Show help
-
Get your OpenAI API key
-
Get your Telegram bot token from @BotFather
-
Edit
config/config.example.yml
to set your tokens and run 2 commands below (if you're advanced user, you can also editconfig/config.example.env
):mv config/config.example.yml config/config.yml mv config/config.example.env config/config.env
-
π₯ And now run:
docker-compose --env-file config/config.env up --build
The absolute easiest way - no persistent storage, just get it running:
# One-command deployment
./deploy-simple.sh
See Simple Azure Deploy Guide for manual steps.
Complete deployment with persistent storage and networking:
# Full deployment to Azure
./deploy-azure.sh
For detailed Azure deployment instructions, see Azure Deployment Guide.
- Container Registry: Push your bot image to Azure Container Registry (ACR)
- Managed Containers: Run on Azure Container Instances (ACI)
- Secrets Management: Store tokens securely in Azure Key Vault
- Persistent Storage: MongoDB with Azure Files persistent volumes
- Networking: Private virtual networks for security
- Monitoring: Built-in logging and monitoring with Azure Monitor
- Auto-scaling: Automatic restarts and scaling capabilities