GithubHelp home page GithubHelp logo

raistech / chatgpt-telegram Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ardagnsrn/chatgpt-telegram

0.0 0.0 0.0 3.84 MB

NodeJS based bot for ChatGPT in Telegram.

License: MIT License

Shell 2.83% JavaScript 97.17%

chatgpt-telegram's Introduction

ChatGPT Telegram Bot

ChatGPT Telegram Bot Preview

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

  1. Clone the repository
  2. Copy .env.example to .env and fill in the values
    1. OPENAI_EMAIL and OPENAI_PASSWORD is your Google account credentials.
    2. TELEGRAM_TOKEN is your Telegram bot token. If you don't have one, you can create one using @BotFather.
  3. Run npm install to install dependencies
  4. Run npm start to start the bot
  5. Send /start to the bot to start chatting

Features

  • 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.

License

MIT License © 2023 Arda Günsüren

chatgpt-telegram's People

Contributors

ardagnsrn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.