Skip to content

AI-Twitter-X-Bot is a highly adaptable Twitter bot designed to post dynamic content tailored to your preferences. Leveraging advanced OpenAi, it delivers a diverse range of content randomly generated based on the user topics and prompts

Notifications You must be signed in to change notification settings

francosion042/AI-Twitter-X-Bot

Repository files navigation

AI-Twitter-X-Bot

AI-Twitter-X-Bot is a highly adaptable Twitter bot designed to post dynamic content tailored to your preferences. Leveraging advanced OpenAi, it delivers a diverse range of content randomly generated based on the user topics and prompts

Follow AI-Twitter-X-Bot Sample Usage on Twitter: @backend_by_tony

Features

  • Utilizes cutting-edge AI technology to curate content based on user preferences.
  • Fully customizable to post any type of content, from industry insights to humorous anecdotes.
  • Offers the option to set up a mail server for receiving email notifications each time a new tweet is posted.

Getting Started

To get started with AI-Twitter-X-Bot, follow these steps:

  1. Clone this repository to your local machine.
  2. Install the necessary dependencies using npm or yarn.
  3. Set up your Twitter developer account and obtain API keys.
  4. Configure the bot with your Twitter API keys and other credentials by creating a .env file and fill up with variables from .env.example.
  5. Modify the prompts in the topicPrompts array to customize the content posted by the bot.
  6. Run the bot application and start posting content!

Modifying Prompts

To modify the prompts used by AI-Twitter-X-Bot, follow these steps:

  1. Open the topic-prompts.constant.ts file in the src/constants directory.
  2. Locate the topicPrompts array, which contains the prompts for different topics.
  3. Each object in the topicPrompts array represents a prompt for a specific topic.
  4. Update the prompt property of each object to customize the content of the prompt.
  5. You can add new topics or remove existing ones as needed.
  6. Save your changes and restart the bot application.

Usage

Once configured and running, AI-Twitter-X-Bot will automatically post content according to its schedule. You can customize the frequency of posts by modifying the Cron schedule in the manage-tweet.service.ts file.

Contributing

If you'd like to contribute to AI-Twitter-X-Bot, feel free to submit pull requests with new features, bug fixes, or improvements. Your contributions are greatly appreciated!

License

This project is licensed under the MIT License.

Contact

If you have any questions, suggestions, or feedback, feel free to reach out to me at [[email protected]].

About

AI-Twitter-X-Bot is a highly adaptable Twitter bot designed to post dynamic content tailored to your preferences. Leveraging advanced OpenAi, it delivers a diverse range of content randomly generated based on the user topics and prompts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published