| name | opencli-cli |
| description | Use OpenCLI to turn any website, Electron app, or local tool into a CLI. 50+ adapters for social media, news, finance, and dev tools. Reuses Chrome login sessions with zero credentials. AI-agent ready with structured output. |
OpenCLI
Universal CLI hub that makes any website, Electron app, or local binary scriptable from the terminal. Reuses Chrome login sessions for zero-credential automation.
Common Commands
Discovery
opencli list
opencli list -f yaml
opencli doctor
Social & Content (browser, uses Chrome login)
opencli twitter trending --limit 20
opencli twitter bookmarks --limit 10
opencli reddit hot --subreddit programming --limit 30
opencli reddit search "ai agents" --sort top --time month
opencli youtube trending --limit 10
opencli instagram feed --limit 20
opencli tiktok trending --limit 15
opencli linkedin feed --limit 10
News & Research (public API, no login needed)
opencli hackernews top --limit 20
opencli hackernews best --limit 10
opencli stackoverflow search "claude code" --limit 10
opencli arxiv search "large language models" --limit 5
opencli wikipedia search "artificial intelligence"
opencli devto latest --limit 20
Finance
opencli yahoo-finance quote AAPL
opencli barchart options TSLA
Desktop App Control (Electron apps via CDP)
opencli cursor ask "review this function"
opencli notion search "project ideas"
opencli discord send --channel general "hello"
External CLI Hub (passthrough with auto-install)
opencli gh pr list --limit 5
opencli docker ps
opencli register mycli
Output Formats
opencli reddit hot -f json
opencli reddit hot -f yaml
opencli reddit hot -f table
opencli reddit hot -f csv
opencli reddit hot -f md
API Discovery (auto-generate adapters for new sites)
opencli explore https://www.example.com --site mysite
opencli synthesize mysite
opencli generate https://www.example.com --goal "hot"
opencli record https://example.com --timeout 120000
Agent Best Practices
- Always use
-f json or -f yaml for structured output agents can parse
- Run
opencli list -f yaml at startup to discover all available commands
- Browser commands require Chrome running and logged into the target site
- Public API commands work without Chrome (hackernews, stackoverflow, etc.)
- Use
opencli doctor to diagnose connectivity issues
- Pipe JSON output through
jq for filtering: opencli hackernews top -f json | jq '.[].title'
- Desktop app commands (cursor, notion) require the app to be running
Example Workflows
Research trending topics across platforms
opencli hackernews top -f json --limit 10 | jq '.[].title'
opencli reddit hot --subreddit artificial -f json --limit 10 | jq '.[].title'
opencli twitter trending -f json --limit 10 | jq '.[].text'
Monitor competitor content
opencli youtube search "claude code tutorial" -f json --limit 20
opencli tiktok search "ai automation" -f json --limit 20