OpenCLI: Make Any Website into CLI & Use your logged-in browser by AI agent
jackwener/OpenCLIMake Any Website into CLI & Use your logged-in browser by AI agent.
Evaluate and collect.
What the project says.
OpenCLI Convert any website into a CLI & run Browser Use on your logged-in Chrome. Turn websites and browser sessions into deterministic interfaces for humans and AI agents. Or run Browser Use against any page - navigate, fill forms, click, extract, automate. OpenCLI is a general-purpose browser automation CLI for AI agents and an agent-browser alternative . Navigate, inspect, click, fill forms, extract, and screenshot websites without a site adapter. Built-in adapters add reusable, deterministic site commands. See OpenCLI vs agent-browser and migration. OpenCLI gives you one surface for three different kinds of automation: - Use built-in adapters for sites like Bilibili, Zhihu, Xiaohongshu, Reddit, HackerNews, Twitter/X, and many more. - Let AI Agents operate any website - install the opencli-browser skill in your AI agent (Claude Code, Cursor, etc.), and it can navigate, click, type/fill, extract, and inspect any page through your logged-in browser via opencli browser primitives. - Write new adapters end-to-end with opencli browser + the opencli-adapter-author skill, which guides from first recon through field decoding, code, and opencli adapter test . Agent command contract Commands default to JSON: { "ok": true, "data": ... } ; failures return { "ok": false, "error": { "code": "...", "message": "...", "hint": "..." } } on stdout with a nonzero exit code. Logs use stderr. Explicit human formats, help, version and completion retain their own formats; browser follow modes use JSON Lines. list returns compact, paginated capabilities ( commands , total , nextOffset ); read arguments with --help -f json . Page scope is --session , native Chrome calls need no session. Adapter authoring is grouped under adapter init check test . state --diagnostics and network --static replace analyze and discover . This changes CLI syntax and JSON output. JS adapters keep cli({...}) , func(args) and func(page, args) ; adapter defaultFormat no longer changes the CLI default. Quick Start 1. Install OpenCLI For desktop use, start with OpenCLIApp . It bundles the OpenCLI runtime, keeps the managed opencli command installed, and gives you a system tray UI for setup, diagnostics, updates, browser-login keepalive, and Web → Markdown. Option A - OpenCLIApp (recommended for macOS / Windows): Download the latest app from , install it, then open the app once and use the System page to install or repair the opencli command. Option B - npm global install (CLI-only / CI / servers): OpenCLI requires Node.js = 20.18.1 when installed through npm. 2. Install the Browser Bridge Extension OpenCLI connects to Chrome/Chromium through a lightweight Browser Bridge extension plus a small local daemon. The daemon auto-starts when needed. Option A - Chrome Web Store (recommended): Install OpenCLI from the Chrome Web Store. Option B - Manual install: 1. Download the latest opencli-extension-v{version}.zip from the GitHub Releases page. 2. Unzip it, open chrome://extensions , and enable Developer mode . 3. Click Load unpacked and select the unzipped folder. 3. Verify the setup 4. Optional: name your Chrome profile Each Chrome profile runs its own OpenCLI extension instance. If you use multiple Chrome profiles, list the connected profiles and assign local aliases: With only one connected profile, OpenCLI uses it automatically. With multiple connected profiles and no default, OpenCLI asks you to choose instead of guessing. 5. Run your first commands For Humans Use OpenCLI directly when you want a reliable command instead of a live browser session: - opencli list shows every registered command. - opencli runs a built-in or generated adapter. - opencli doctor helps diagnose browser connectivity. Extending OpenCLI If you want to add your own commands, start with the Extending OpenCLI guide. README keeps this short; the guide covers the directory layout, source-control model, and install commands. Need Recommended path ------ ------------------ Keep personal website commands in yo...
Continue the conversation.
Comments, one-level replies, owner highlights, and discussion notifications are included with ORYNT membership.
Sign in with GitHub