Skip to content

jackwener/opencli

Repository files navigation

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 readyexplore 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

About

Make Any Website & Tool Your CLI. A universal CLI Hub and AI-native runtime. Transform any website, Electron app, or local binary into a standardized command-line interface. Built for AI Agents to discover, learn, and execute tools seamlessly via a unified AGENT.md integration.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages