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: Click Here
- Low latency replies (it usually takes about 3-5 seconds)
- No request limits
- Message streaming (watch demo)
- GPT-4 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
):nano config/config.yml nano onfig/config.env
-
π₯ And now run:
docker-compose --env-file config/config.env up --build
If you find this repository helpful, show your support by giving it a π! Your support means a lot to me and helps me keep contributing to the open-source community.
Also, if you'd like to support me financially, you can do so via my donation link: https://go.yesbhautik.co.in/8i6wdu
Feel free to reach out to me if you have any questions, ideas or just want to chat. I'm always here to help and connect with the community.
This repository is under the MIT License. For more information, see the LICENSE file.