Tor Browser Pool - Parallel Browsing with IP Rotation

View on GitHub

A Node.js application that manages multiple Tor Browser instances for parallel web browsing with automatic IP rotation. Each browser instance uses a unique Tor proxy, allowing concurrent requests while appearing to come from different network locations.

Key Features

  • IP Rotation - Each browser instance uses a unique Tor proxy for anonymized browsing
  • Parallel Execution - Multiple browsers running simultaneously for efficient processing
  • Stealth Mode - Integration with puppeteer-extra-plugin-stealth to avoid detection
  • Docker Support - Pre-configured containerization for easy deployment

Installation

# Clone the repository
git clone https://github.com/feraandrei1/tor-browser-pool.git

# Install dependencies
npm install

# Run with Docker
docker-compose up

Configuration

The application supports customizable settings:

  • Batch size for parallel browser instances
  • Visit counts and timeouts
  • Proxy port configuration
  • Headless mode options

Technologies

  • Node.js
  • Puppeteer
  • Tor daemon
  • Docker & Docker Compose
  • MIT License

This tool is useful for web scraping, testing, and scenarios requiring distributed requests across multiple IP addresses.