mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
v1.5.3
OpenCLI
Make any website, Electron App, or Local Tool your CLI. Zero risk · Reuse Chrome login · AI-powered discovery · Universal CLI Hub
A CLI tool that turns any website, Electron app, or local CLI tool into a command-line interface — powered by browser session reuse and AI-native discovery.
- Zero LLM cost — No tokens consumed at runtime.
- Account-safe — Reuses Chrome's logged-in state; your credentials never leave the browser.
- Deterministic — Same command, same output schema, every time. Pipeable, scriptable, CI-friendly.
- AI Agent ready —
explorediscovers APIs,synthesizegenerates adapters,cascadefinds auth strategies. - 65+ built-in adapters — Global and Chinese platforms, plus desktop Electron apps via CDP.
Quick Start
npm install -g @jackwener/opencli
opencli doctor # Check setup
opencli list # See all commands
opencli hackernews top --limit 5 # Public API, no browser needed
opencli bilibili hot -f json # Browser command, JSON output
Documentation
| Topic | Link |
|---|---|
| Installation & Setup | docs/guide/installation.md |
| Getting Started | docs/guide/getting-started.md |
| Built-in Commands | docs/adapters/index.md |
| Desktop App Adapters | docs/adapters/desktop |
| Plugins | docs/guide/plugins.md |
| Electron App Guide | docs/guide/electron-app-cli.md |
| Troubleshooting | docs/guide/troubleshooting.md |
| Comparison with other tools | docs/comparison.md |
Star History
License
Description
opencli-usage: Use at the start of any OpenCLI session — this is the top-level map of what
Readme
118 MiB
opencli can do, how to discover adapters, what flags and output formats are…; opencli-browser: Use when an agent needs to drive a real Chrome window via opencli — inspect a page, fill forms, click through logged-in flows, or extract data ad-hoc. Covers…; opencli-autofix: Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through co…
Languages
JavaScript
80%
TypeScript
17.5%
HTML
2.5%