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
-
Install Python 3.6 or later.
-
Clone this repository:
git clone https://github.com/Louvivien/letthemlive.git cd letthemlive
-
Go to the server folder
cd server ```
-
Install the required Python packages:
pip install -r requirements.txt
-
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=
-
Run the script:
python app.py
Open another terminal windows
cd client ```
-
install packages
npm i
-
start the client
npm start
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.
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.
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
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Distributed under the MIT License. See LICENSE
for more information.