chatgpt-twitter-bot logo

chatgpt-twitter-bot

Free

Twitter bot.

FreeFree tier
Inputs: textOutputs: text
Type
Open Source

About chatgpt-twitter-bot

ChatGPT Twitter Bot is an open-source Twitter bot powered by OpenAI's ChatGPT API. Users can @mention the bot (@ChatGPTBot) with a prompt, and it responds with a Twitter thread containing the ChatGPT-generated answer. The bot uses the chatgpt Node.js package and splits the response into tweet-sized replies. It's a fun side project by Travis Fischer, not affiliated with OpenAI. Note that the V2 rewrite is available at https://github.com/dexaai/xbot.

Key Features

Responds to @mentions on Twitter with ChatGPT-generated replies
Splits ChatGPT responses into multiple tweet-sized threads
Built on the official OpenAI ChatGPT API via the chatgpt Node.js package
Open source under MIT license
Project has V2 rewrite available at dexaai/xbot

Pros & Cons

Pros
  • Free and open-source (MIT license)
  • Leverages official OpenAI ChatGPT API for reliable responses
  • Easy to use: just tweet a @mention with a prompt
  • Active community and transparent codebase on GitHub
Cons
  • Replies can be slow due to Twitter's heavy rate-limiting on bots
  • Requires self-hosting and manual setup (runs on local dev machine)
  • Not intended for high-volume production use without scaling
  • Improper or harmful usage results in immediate block from the bot

Best For

Get ChatGPT answers directly on Twitter via @mentionInteractive demonstrations of ChatGPT capabilities on social mediaLightweight chatbot for personal or testing purposes

FAQ

How does ChatGPT Twitter Bot work?
You @mention @ChatGPTBot in a tweet with a prompt, and the bot uses the OpenAI ChatGPT API to generate a response, which it posts as a multi-tweet thread.
How long does it take for the bot to respond?
Response times vary from a few seconds to a few minutes, mostly due to Twitter's rate limits. It should not take longer than a few minutes.
Is this project affiliated with OpenAI?
No, this project is not affiliated with OpenAI. It is an independent open-source side project that uses their API.
What happens if I misuse the bot?
Any improper use, such as prompting harmful or banned content as defined by OpenAI's API, will result in an immediate block on Twitter.
Is there a newer version of this bot?
Yes, V2 of this project is available at https://github.com/dexaai/xbot, which is a significant rewrite.