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.
- Clone the repository
- Copy
.env.example
to.env
and fill in the valuesOPENAI_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
- Support multiple conversations, each chat has its own conversation.
- You can clear your conversation by sending
/newchat
. - Queue system, if the bot is busy, it will queue your message and send it when it's free.
- Thinking effect.
- Rate limit to prevent spamming.
- Authentication using Google Account.
- Cloudflare captcha bypass.
- Convert exponential numbers to symbols.