Louvivien / letthemlive

A social media automation script for the Let Them Live project, powered by AutoGPT and LangChain.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Let Them Live - Social Media Automation

Contributors Forks Stargazers Issues

Let Them Live

By harnessing the power of AutoGPT and LangChain, we have created a platform that allows social media profiles to operate autonomously, creating a new breed of influencers - Auto-GPT Virtual Influencers.
Explore the docs »

View Project · Report Bug · Request Feature · Join our Discord

Python Version License

Setup

  1. Install Python 3.6 or later.

  2. Clone this repository:

    git clone https://github.com/Louvivien/letthemlive.git
    cd letthemlive
  3. Go to the server folder

cd server ```

  1. Install the required Python packages:

    pip install -r requirements.txt
  2. Create a .env file in the root directory and add your Instagram username and password:

    INSTA_USERNAME=your_username
    INSTA_PASSWORD=your_password
    SERPAPI_API_KEY=b
    OPENAI_API_KEY=
    CACHE_REDIS_URL=set a standard redis account (used as a cache system)
    TARGET_USERNAME=instagram username to engage a conversation with
    HUGGING_FACE_API_KEY=
  3. Run the script:

    python app.py

Open another terminal windows

cd client ```

  1. install packages

    npm i
  2. start the client

    npm start
    

Usage

Make sure the account sending messaged as a bio with a little story

This script logs into Instagram using the provided username and password, finds a user by their username, and sends them a direct message. It uses AutoGPT and LangChain to automate the conversation with the user.

Troubleshooting

If the script is not working as expected, check the following:

  • Make sure your Instagram username and password are correct and the account is not locked or restricted.
  • Check the console for any error messages.

Ongoing work

The integration of AutoGPT, LangChain, and Instagram is complete. It can engage in a conversation, follow user based on a topic and comment. We will add some other methods in instagram and add other social media : can identify the content of an image and comment from what it as identified in the picture For now the client is not connected to the server

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Distributed under the MIT License. See LICENSE for more information.

About

A social media automation script for the Let Them Live project, powered by AutoGPT and LangChain.


Languages

Language:Jupyter Notebook 88.1%Language:Python 4.3%Language:JavaScript 3.8%Language:CSS 3.5%Language:HTML 0.3%Language:Dockerfile 0.1%