Skip to content

Riona ๐ŸŒธ is built with Node.js and TypeScript ๐Ÿ› ๏ธ. Designed to run jobs ๐Ÿ“ธ effortlessly. Lightweight, efficient, and a work in progress ๐Ÿšงโ€”more features coming soon! ๐ŸŒŸ

Notifications You must be signed in to change notification settings

David-patrick-chuks/Riona-AI-Agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

35 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Riona-AI-Agent ๐ŸŒธ

Riona-AI-Agent is an AI-powered automation tool designed for Instagram to automate social media interactions such as posting, liking, and commenting. It leverages advanced AI models to generate engaging content, automate interactions, and manage Instagram accounts efficiently.

Before using the automation features, you can personalize the agent by training with the following, including:

  • YouTube Video URL ๐ŸŽฅ
  • Audio File ๐ŸŽ™๏ธ
  • Portfolio or Website Link ๐ŸŒ
  • File Formats Supported: PDF, DOC, DOCX, TXT ๐Ÿ“„

Features

  • Instagram Automation: Automatically log in, post photos, like posts, and leave thoughtful comments.
  • AI-Powered Content Generation: Use Google Generative AI to create engaging captions and comments.
  • Proxy Support: Use proxies to manage multiple accounts and avoid rate limits.
  • Cookie Management: Save and load cookies to maintain sessions across restarts.

Upcoming Features:

  • Twitter Automation: (Coming soon) Automatically tweet, retweet, and like tweets.
  • GitHub Automation: (Coming soon) Automatically manage repositories, issues, and pull requests.

Installation

  1. Clone the repository:

    git clone https://github.com/david-patrick-chuks/Riona-AI-Agent.git
    cd Riona-AI-Agent
  2. Install dependencies:

    npm install
  3. Set up environment variables: Rename the .env.example file to .env in the root directory and add your Instagram credentials. Refer to the .env.example file for the required variables.

    IGusername=your_instagram_username
    IGpassword=your_instagram_password 
    
    Xusername= #Twitter username
    Xpassword= #Twitter password
    
    MONGODB_URI= #MongoDB URI

Usage

  1. Run the Instagram agent:
    npm start

Upcoming Features:

  • Run the Twitter agent (Coming soon):

    npm run start:twitter
  • Run the GitHub agent (Coming soon):

    npm run start:github

Project Structure

  • src/client: Contains the main logic for interacting with social media platforms like Instagram.
  • src/config: Configuration files, including the logger setup.
  • src/utils: Utility functions for handling errors, cookies, data saving, etc.
  • src/Agent: Contains the AI agent logic and training scripts.
  • src/Agent/training: Training scripts for the AI agent.
  • src/schema: Schema definitions for AI-generated content and database models.
  • src/test: Contains test data and scripts, such as example tweets.

Logging

The project uses a custom logger to log information, warnings, and errors. Logs are saved in the logs directory.

Error Handling

Process-level error handlers are set up to catch unhandled promise rejections, uncaught exceptions, and process warnings. Errors are logged using the custom logger.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

About

Riona ๐ŸŒธ is built with Node.js and TypeScript ๐Ÿ› ๏ธ. Designed to run jobs ๐Ÿ“ธ effortlessly. Lightweight, efficient, and a work in progress ๐Ÿšงโ€”more features coming soon! ๐ŸŒŸ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published