chatgpt-telegram
chatgpt-telegram copied to clipboard
NodeJS based bot for ChatGPT in Telegram.
ChatGPT Telegram Bot

Note: You need Redis Server to run the bot.
Note: This bot uses a browser-based ChatGPT API, please make sure you have Node.js >= 18 and a Chromium-based browser installed.
Note: The bot uses Google Account because of Recaptcha. The app asks you to pass a captcha verification if you don't log in with google.
Usage
- Clone the repository
- Copy
.env.example
to.env
and fill in the values-
OPENAI_EMAIL
andOPENAI_PASSWORD
is your Google account credentials. -
TELEGRAM_TOKEN
is your Telegram bot token. If you don't have one, you can create one using @BotFather.
-
- Run
npm install
to install dependencies - Run
npm start
to start the bot - Send
/start
to the bot to start chatting
Features
- [X] Support multiple conversations, each chat has its own conversation.
- [X] You can clear your conversation by sending
/newchat
. - [X] Queue system, if the bot is busy, it will queue your message and send it when it's free.
- [X] Thinking effect.
- [X] Rate limit to prevent spamming.
- [X] Authentication using Google Account.
- [X] Cloudflare captcha bypass.
- [X] Convert exponential numbers to symbols.
License
MIT License © 2023 Arda Günsüren