2026-03-28 11:02:09 +08:00
2026-03-28 11:02:09 +08:00
2026-03-28 00:48:27 +08:00
2026-03-25 16:21:14 +08:00
2026-03-28 11:02:09 +08:00
2026-03-28 11:02:09 +08:00

OpenCLI

Make any website, Electron App, or Local Tool your CLI. Zero risk · Reuse Chrome login · AI-powered discovery · Universal CLI Hub

中文文档 npm Node.js Version License

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 — explore discovers APIs, synthesize generates adapters, cascade finds 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

→ Full documentation

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

Star History Chart

License

Apache-2.0

S
Description
opencli-usage: Use at the start of any OpenCLI session — this is the top-level map of what 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…
Readme 118 MiB
Languages
JavaScript 80%
TypeScript 17.5%
HTML 2.5%