Home
Softono
chatgpt-twitter-bot

chatgpt-twitter-bot

Open source MIT TypeScript
760
Stars
95
Forks
3
Issues
17
Watchers
1 year
Last Commit

About chatgpt-twitter-bot

> [!IMPORTANT] > I highly recommend you use V2 of this project, which is a significant rewrite: https://github.com/dexaai/xbot --- <p align="center"> <a href="https://twitter.com/ChatGPTBot"> <img alt="Example Twitter thread using @ChatGPTBot" src="/media/demo.jpg"> </a> </p> # ChatGPT Twitter Bot <!-- omit in toc --> > Twitter bot powered by OpenAI's ChatGPT API. [![Build Status](https://github.com/transitive-bullshit/chatgpt-twitter-bot/actions/workflows/test.yml/badge.svg)](https://github.com/transitive-bullshit/chatgpt-twitter-bot/actions/workflows/test.yml) [![MIT License](https://img.shields.io/badge/license-MIT-blue)](https://github.com/transitive-bullshit/chatgpt-twitter-bot/blob/main/license) [![Prettier Code Formatting](https://img.shields.io/badge/code_style-prettier-brightgreen.svg)](https://prettier.io) - [Intro](#intro) - [Usage](#usage) - [Note](#note) - [Related](#related) - [License](#license) ## Intro [@ChatGPTBot](https://twitter.com/ChatGPTBot) is a Twitter bot that you can ...

Platforms

Web Self-hosted

Languages

TypeScript

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


Example Twitter thread using @ChatGPTBot

ChatGPT Twitter Bot

Twitter bot powered by OpenAI's ChatGPT API.

Build Status MIT License Prettier Code Formatting

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 twitter