# Google API Configuration
GOOGLE_API_KEY=your_api_key_here
GOOGLE_SEARCH_ENGINE_ID=your_search_engine_id_here
# Resource Limits
MAX_CONCURRENT_BROWSERS=3
BROWSER_TIMEOUT=30000
# Rate Limiting (in milliseconds)
RATE_LIMIT_WINDOW=60000
RATE_LIMIT_MAX_REQUESTS=60
# Cache Settings
SEARCH_CACHE_TTL=3600
EXTRACT_CACHE_TTL=7200
MAX_CACHE_ITEMS=1000
# Browser Pool Configuration
BROWSER_POOL_MIN=1
BROWSER_POOL_MAX=5
BROWSER_POOL_IDLE_TIMEOUT=30000
ENABLE_COOKIE_PERSISTENCE=false # Set to true to enable cookie persistence between sessions
# Screenshot Defaults
DEFAULT_VIEWPORT_WIDTH=1280
DEFAULT_VIEWPORT_HEIGHT=800
DEFAULT_SCREENSHOT_QUALITY=80
DEFAULT_SCREENSHOT_FORMAT=jpeg
# Content Extraction Settings
MAX_CONTENT_LENGTH=1000000
EXTRACT_TIMEOUT=30000
PRESERVE_LINKS=true
FORMAT_CODE=true
# Logging Configuration
LOG_LEVEL=info # Options: error, warn, info, debug
NO_COLOR=0 # Set to 1 to disable colored output
BUN_FORCE_COLOR=1 # Set to 0 to disable colored output in Bun
FORCE_COLOR=1 # Set to 0 to disable colored output globally
# Rebrowser Patches Configuration
# Options: addBinding, alwaysIsolated, enableDisable, 0
REBROWSER_PATCHES_RUNTIME_FIX_MODE=addBinding
# Change sourceURL to avoid detection
REBROWSER_PATCHES_SOURCE_URL=jquery.min.js
# Change utility world name to avoid detection
REBROWSER_PATCHES_UTILITY_WORLD_NAME=util
# Enable debug messages
REBROWSER_PATCHES_DEBUG=0
# Browser Cookies Configuration
# Path to JSON file containing exported cookies (required for authenticated sites)
# Format: Array of cookie objects with properties:
# {
# name: string,
# value: string,
# domain: string (e.g., ".reddit.com"),
# path: string (usually "/"),
# expires: number (timestamp),
# httpOnly: boolean,
# secure: boolean,
# sameSite: "Strict" | "Lax" | "None"
# }
BROWSER_COOKIES_PATH=