Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/francosion042/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
https://github.com/francosion042/ai-twitter-x-bot
nestjs nodejs openai twitter-api twitter-bot
Last synced: 2 months ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/francosion042/ai-twitter-x-bot
- Owner: francosion042
- Created: 2024-02-02T13:20:23.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-02-10T17:19:58.000Z (12 months ago)
- Last Synced: 2024-02-10T18:29:47.585Z (12 months ago)
- Topics: nestjs, nodejs, openai, twitter-api, twitter-bot
- Language: TypeScript
- Homepage:
- Size: 340 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 promptsFollow AI-Twitter-X-Bot Sample Usage on Twitter: [@backend_by_tony](https://twitter.com/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](LICENSE).
## Contact
If you have any questions, suggestions, or feedback, feel free to reach out to me at [[email protected]].