chatgpt-twitter-bot  by transitive-bullshit

Twitter bot powered by OpenAI's ChatGPT API

created 2 years ago
758 stars

Top 46.8% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This project provides a Twitter bot that leverages OpenAI's ChatGPT API to generate responses to user prompts. It's designed for Twitter users who want to interact with ChatGPT through tweets, receiving AI-generated content split into tweet-sized replies.

How It Works

The bot utilizes the chatgpt Node.js package to interface with OpenAI's API. When a user mentions @ChatGPTBot in a tweet with a prompt, the bot processes the request, generates a response using ChatGPT, and then splits the response into multiple tweets to form a thread.

Quick Start & Requirements

  • Install: Node.js environment.
  • Prerequisites: OpenAI API key.
  • Usage: Tweet @ChatGPTBot with your prompt.
  • Note: The project is a local development machine setup, and Twitter rate limits may cause delays. A V2 rewrite is available at https://github.com/dexaai/xbot.

Highlighted Details

  • Generates Twitter threads from ChatGPT responses.
  • Uses the chatgpt Node.js package.
  • Requires an OpenAI API key.

Maintenance & Community

  • Developed by Travis Fischer.
  • Project is a side project and not officially affiliated with OpenAI.

Licensing & Compatibility

  • License: MIT
  • Compatibility: Permissive for commercial use and closed-source linking.

Limitations & Caveats

The bot runs on a local development machine, and users should expect potential delays due to Twitter's rate limiting. Improper use of the bot, as defined by OpenAI's API policies, will result in a Twitter block.

Health Check
Last commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
6 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.