This project aims at running an agent that can browse the web and perform actions on it.
- Docker and Docker Compose
docker-compose.yml: Configuration file for launching the container.src/main.py: Main script for managing the container and processes.src/log_server.py: Server to stream logs via a web interface..env: Environment configuration file.
-
Clone the repository:
git clone https://github.com/CaptainIgl00/browser_bot.git
-
Navigate to the project directory:
cd browser_bot -
Add your OpenAI API key to the
.envfile.OPENAI_API_KEY=your_api_key
-
Launch Docker Compose:
docker-compose up --build
-
Access the VNC interface via
http://localhost:8080. -
Connect to your instagram account.
-
Scrape instagram posts with the
trigger-scrapeendpoint.
curl -X POST http://localhost:8000/trigger-scrape- Get the latest posts with the
postsendpoint.
curl http://localhost:8000/posts- Get the scraping history with the
historyendpoint.
This project is licensed under the MIT License.