Skip to content

CaptainIgl00/browser_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Browser Bot

This project aims at running an agent that can browse the web and perform actions on it.

Prerequisites

  • Docker and Docker Compose

Project Structure

  • 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.

Usage

  1. Clone the repository:

    git clone https://github.com/CaptainIgl00/browser_bot.git
  2. Navigate to the project directory:

    cd browser_bot
  3. Add your OpenAI API key to the .env file.

    OPENAI_API_KEY=your_api_key
  4. Launch Docker Compose:

    docker-compose up --build
  5. Access the VNC interface via http://localhost:8080.

  6. Connect to your instagram account.

  7. Scrape instagram posts with the trigger-scrape endpoint.

curl -X POST http://localhost:8000/trigger-scrape
  1. Get the latest posts with the posts endpoint.
curl http://localhost:8000/posts
  1. Get the scraping history with the history endpoint.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published