* feat: twitter services * fix: package.json * fix: type error * refactor: launcher * refactor: BrowserBase/Stagehand * fix: config & startup * chore: i18n * fix: continue i18n * feat: cookie login * fix: save cookie to session json * docs: architecture * chore: remove cli & use mcp adapter for mcp-server * refactor: remove browser adapter, use playwright directly * refactor: remove launcher services, replace twitter.com to x.com * feat: load session to auto login * docs: update architecture md * chore: more debug logs * feat: tweet parser without hast and rehype * fix: type error * fix: env example
22 lines
579 B
Bash
22 lines
579 B
Bash
# Browser Config
|
|
BROWSER_HEADLESS=false
|
|
BROWSER_USER_AGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
|
|
BROWSER_VIEWPORT_WIDTH=1280
|
|
BROWSER_VIEWPORT_HEIGHT=800
|
|
BROWSER_TIMEOUT=30000
|
|
BROWSER_REQUEST_TIMEOUT=20000
|
|
BROWSER_REQUEST_RETRIES=2
|
|
|
|
# Adapter Config
|
|
ENABLE_AIRI=false
|
|
AIRI_URL=http://localhost:3000
|
|
AIRI_TOKEN=your_airi_token
|
|
|
|
ENABLE_MCP=true
|
|
MCP_PORT=8080
|
|
|
|
# System Config
|
|
LOG_LEVEL=info # Optional: error, warn, info, verbose, debug
|
|
LOG_FORMAT=pretty # Optional: json, pretty
|
|
CONCURRENCY=1
|