Riona-AI-Agent is an AI-powered automation tool designed to interact with various social media platforms like Instagram, Twitter, and GitHub. It leverages advanced AI models to generate engaging content, automate interactions, and manage social media accounts efficiently.
Before using the automation features, you can train the agent character with personalized content. You can upload your content through any of the following:
- YouTube Video URL ๐ฅ
- Audio File ๐๏ธ
- Portfolio or Website Link ๐
- File Formats Supported: PDF, DOC, DOCX, TXT ๐
- Instagram Automation: Automatically log in, like posts, and leave thoughtful comments.
- Twitter Automation: (Coming soon) Automatically tweet, retweet, and like tweets.
- GitHub Automation: (Coming soon) Automatically manage repositories, issues, and pull requests.
- AI-Powered Content Generation: Use Google Generative AI to generate engaging comments and posts.
- Proxy Support: Use proxies to manage multiple accounts and avoid rate limits.
- Cookie Management: Save and load cookies to maintain sessions across restarts.
-
Clone the repository:
git clone https://github.com/david-patrick-chuks/Riona-AI-Agent.git cd Riona-AI-Agent
-
Install dependencies:
npm install
-
Set up environment variables: rename the .env.example file to .env file in the root directory and add your credentials and API keys (optional). Refer to the .env.example file for the required variables.
# Instagram credentials IGusername=your_instagram_username IGpassword=your_instagram_password # Twitter credentials Xusername=your_twitter_username Xpassword=your_twitter_password
- Run the agent:
npm start
- src/client: Contains the main logic for interacting with social media platforms.
- src/config: Configuration files, including the logger setup.
- src/utils: Utility functions for handling errors, cookies, etc.
- src/schema: Schema definitions for AI-generated content.
The project uses a custom logger to log information, warnings, and errors. Logs are saved in the logs directory.
Process-level error handlers are set up to catch unhandled promise rejections, uncaught exceptions, and process warnings. Errors are logged using the custom logger.
Contributions are welcome! Please fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
- Google Generative AI for providing the AI models.
- Puppeteer for browser automation.
- puppeteer-extra for additional plugins and enhancements.