Distributed browser session automation with coherent, persistent identity.
Conventional traffic and browser testing scripts break quickly under real-world scrutiny: independently randomized user agents conflict with navigator or client-hint values, concurrent launches corrupt Chrome data directories, and unmanaged proxies fail silently.
@lucasveneno/trafficbot (Veneno Traffic Bot v2) replaces ad-hoc scripts with a layered TypeScript architecture—combining Puppeteer and puppeteer-extra-plugin-stealth with runtime-derived BrowserProfile validation, Redis/BullMQ campaign orchestration, and persistent profile leasing.
Version 2.1.0 adds a full Tauri + React desktop control center (apps/desktop) wired to an authenticated loopback Express/WebSocket Control API, structured session timelines with failure screenshots, Tor/proxy pool allocators, and Bun Single-Executable worker binaries with ECDSA-signed self-updates.
Local batches, Docker stack, or desktop control.
Published as @lucasveneno/trafficbot on npm (v2.1.0, Oct 30, 2026) targeting Node.js 22+, Docker Compose with Redis, standalone Bun worker binaries, and a Tauri + React desktop application.
npm install @lucasveneno/trafficbot
# Finite local batch without Redis
BOT_ROLE=local
DEFAULT_URL=http://127.0.0.1:8080/
MAX_SESSIONS=1# Distributed Redis + worker container stack
docker compose up --build
# Or build standalone Bun worker binaries
npm run build:worker:linux
npm run build:worker:macos
npm run build:worker:windows
# Start Tauri + React desktop control center
npm run dev:desktopEngineered across browser, queue, and fleet layers.
Strict Zod configuration schemas, isolated persistent browser state, and atomic capacity leases across distributed workers.
Validated BrowserProfile & ProfileAudit
Derives browser version from the installed Chrome/Edge binary and synthesizes coherent UA, client hints, locale, and timezone settings—storing validated sidecar state in ProfileStore inside leased data directories.
Redis & BullMQ Campaign Orchestration
Supports up to 100 HTTP(S) targets per campaign with 1–100 shared concurrency leases, interval and cron scheduling, pause/resume, circuit breakers, and explicit proxy pool routing without silent direct fallbacks.
Tauri Desktop Control Center & Timelines
The apps/desktop native shell communicates with an authenticated Express 5 + WebSocket loopback controller, exposing campaign progress, structured worker session timelines, linked logs, and failure screenshots.
Bun Worker Binaries & Signed Updates
Compiles self-contained worker executables for Linux x64, Windows x64, and macOS arm64 supporting token enrollment (trafficbot-worker enroll), ECDSA-signed release manifests, atomic swaps, and CLI rollback.
Execution Modes, Runtime Stack & Safeguards
- BOT_ROLE=local (finite batch, no Redis)
- BOT_ROLE=producer / worker / both (Redis)
- Docker Compose stack with optional Tor pool
- Tauri + React desktop control center
- Standalone Bun worker binaries (3 OS)
- puppeteer ^24.37.5 & stealth plugin
- bullmq ^5.70.1 & ioredis ^5.10.0
- express ^5.2.1, ws ^8.22.0 & cors
- zod ^3.22.2 & winston ^3.10.0
- Native Chrome & Edge host detection
- Sandbox, web security & site isolation kept on
- Profile locks prevent concurrent directory writes
- Deterministic dispatch IDs & bounded deadlines
- ECDSA-signed binary updates & rollback
- Unit, browser, Redis & lifecycle Jest suites