Usage
Quick Start
Setup
Requirements
- Chrome browser installed (or Playwright/Puppeteer Chromium)
- macOS, Windows, or Linux
Profiles
Each profile is an isolated Chrome instance with its own login sessions.--profile is not specified, MonoSurf asks which one to use.
Browsers
MonoSurf auto-detects available browsers:Login to Sites
Commands by Platform
X (Twitter) — x.com
Hacker News — news.ycombinator.com
GitHub — github.com
Reddit — reddit.com
Threads — threads.net
Product Hunt — producthunt.com
Batch Posting
Post multiple messages from a file on a schedule:Browse Mode (No Login)
Crawl any public page without a profile or login:Output Formats
Default (Human-readable)
JSON (Machine-readable)
Options
| Flag | Description |
|---|---|
--profile <name> | Select profile (asked if multiple exist) |
--browser <id> | Select browser engine (from monosurf browsers) |
--headless | No window (background automation) |
--limit <n> | Maximum items to return (default: 20) |
--json | Output as JSON array |
--visible | Show browser window (browse mode) |
--interval <dur> | Time between batch posts (default: 1h) |
--jitter <dur> | Random offset ± applied to interval (default: 15m) |
Auth Management
Site Management
Adding a New Site
- Create
~/Library/Application Support/Monolex/monosurf/sites/{domain}.json - Define commands with URL, wait selector, extraction JS
- Run
monosurf sites signto seal - Test:
monosurf {domain} {command} --profile work