JSPM

  • Created
  • Published
  • Downloads 1392
  • Score
    100M100P100Q150167F
  • License MIT

Dokobot CLI - Connect your Chrome browser to AI agents

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@dokobot/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @dokobot/cli

    Connect your Chrome browser to AI agents. Powered by Dokobot.

    Install

    npm i -g @dokobot/cli

    Quick Start

    Local mode (free, unlimited)

    # Install the native messaging bridge (one-time setup)
    dokobot install-bridge
    
    # Read any page locally through your browser
    dokobot doko read --local https://example.com

    Remote mode (cloud API)

    # Configure your API key
    dokobot config
    
    # Read any page via cloud API
    dokobot doko read https://example.com
    
    # Search the web
    dokobot doko search "latest AI news"

    Commands

    install-bridge

    Install the native messaging bridge for local mode. This connects your CLI directly to the Chrome extension without going through the server.

    dokobot install-bridge              # Install
    dokobot install-bridge --uninstall  # Remove

    After installing, restart Chrome or reload the extension.

    doko read <url>

    Read a web page and output clean text.

    # Local mode (free, unlimited, no API key needed)
    dokobot doko read --local https://example.com
    
    # Remote mode (via cloud API)
    dokobot doko read https://example.com
    
    # With options
    dokobot doko read --local https://example.com --screens 3 --timeout 30
    dokobot doko read https://example.com --device <id> --format chunks
    Option Description
    --local Use local bridge instead of remote server
    --device <id> Target device ID
    --screens <n> Number of screens to capture (default: auto)
    --timeout <seconds> Read timeout in seconds (default: 60)
    --format <type> Response format: text (default) or chunks
    --reuse-tab Reuse existing tab instead of opening a new one
    --session-id <id> Continue from a previous session

    When a page has more content to scroll, the output includes a session ID. Use --session-id to continue reading.

    doko close-session <sessionId>

    Close an active read session and release the browser tab.

    dokobot doko close-session <sessionId>
    dokobot doko close-session --local <sessionId>
    Option Description
    --local Close a local session
    --device <id> Target device ID (local mode)

    doko search <query>

    Search the web and return results.

    dokobot doko search "dokobot mcp integration"
    dokobot doko search "latest AI news" --num 10
    Option Description
    --num <n> Number of results, 1-10 (default: 5)

    doko connect

    Connect your Chrome browser for full MCP control.

    dokobot doko connect                              # Interactive setup
    dokobot doko connect --name "Work Chrome"         # Name your doko
    dokobot doko connect --browser-url http://127.0.0.1:9222  # Custom Chrome instance

    doko list / doko remove <id>

    List or remove registered doko devices.

    Other commands

    dokobot config      # Configure API key and server URL
    dokobot update      # Check for updates

    Global Options

    Option Description
    --api-key <key> API key (or set DOKO_API_KEY env)
    --server <url> Server URL (default: https://dokobot.ai)
    --verbose Enable verbose logging

    License

    MIT