← Open Source

Twitter bot powered by OpenAI's ChatGPT API. It's aliveeeee 🤖.

AI EngineeringBring agent to usersTypeScript
Momentum
+0stars in 24 hours0.0%
753
Stars
95
Forks
+0
This week
1
Contributors
Created 2022-12-04 · Updated 2026-10-26 · #18060 today
Top developers
README

Important

I highly recommend you use V2 of this project, which is a significant rewrite: https://github.com/dexaai/xbot


ChatGPT Twitter Bot

Twitter bot powered by OpenAI's ChatGPT API.

Intro

@ChatGPTBot is a Twitter bot that you can @mention with a prompt, and it will respond with a twitter thread containing the ChatGPT response.

It uses the chatgpt Node.js package under the hood.

Usage

Just create a tweet @mentioning @ChatGPTBot containing your prompt:

@ChatGPTBot What is 1 + 1?

Then wait until the bot responds, which can be anywhere from a few seconds to a few minutes (hopefully not longer), depending on how much usage the bot receives.

The ChatGPT response will be split up into multiple tweet-sized replies.

Note

Don't be surprised if it takes awhile for the bot to respond to you. This is due to:

  1. Twitter heavily rate-limits bots.
  2. This bot is just running on my local dev machine, so please be kind 🙏

Warning Any improper use of ChatGPTBot will result in an immediate block on Twitter. Improper use covers everything OpenAI's API would consider disallowed / harmful / banned.

Related

License

MIT © Travis Fischer

Note This project is not affiliated with OpenAI in any way. It is just a fun, open source side project that uses their API.

If you found this project interesting, please consider sponsoring me or following me on twitter

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store