# prasmussen/chrome-cli

Control Google Chrome from the command line

Repository: https://github.com/prasmussen/chrome-cli
Canonical: https://ross.abutalabs.com/products/chrome-cli
Language: Objective-C
License: MIT
License Family: permissive
Last push: 2025-09-03T19:09:41+00:00

## Health v2 (maintenance only)
Score: 54/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 40, release rhythm 45, longevity 100
- inputs: {"age_days": 4588, "days_push": 364, "days_rel": 364, "gap_med": 11, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2811, forks 105 (observed 2026-08-28T04:07:23.707631+00:00)

## What it is
chrome-cli is a native macOS command line utility for controlling Google Chrome and compatible browsers (Brave, Edge, Arc, Vivaldi, etc.) via the Scripting Bridge. It lets you list, open, close, reload, and activate tabs and windows, and execute JavaScript from the terminal.

## Use cases
- control chrome from the command line
- open a url in a new chrome tab from terminal
- list all open tabs in chrome
- close or reload chrome tabs via script
- run javascript in a chrome tab from the shell
- automate browser tab management on mac

## When to choose
- you're on macOS and want to script or automate Chrome-compatible browsers
- you want a lightweight native binary instead of browser extensions or Selenium
- you need to manage tabs/windows across Chrome, Brave, Edge, Arc, etc. from shell scripts

## When to avoid
- you're on Linux or Windows - it only works on macOS
- you need deep browser automation like clicking elements or scraping rendered pages - use a tool like Playwright or Selenium instead
- you need JavaScript execution without enabling 'Allow JavaScript from Apple Events' in the browser

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, browser-extension, developer-tools, workflow-automation
- domain: developer-tools, browser-extensions
- platform: cli
- tags: chrome, scripting-bridge, browser-control, objective-c, homebrew, command-line, automation, macos

## Member repositories
- prasmussen/chrome-cli (main) score 54

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:23.707631+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:13:32.595211+00:00, confidence not recorded.
  - readme: https://github.com/prasmussen/chrome-cli (fetched 2026-08-28T04:07:23.707631+00:00, sha addf27ae6531)
- Data as of 2026-08-30T08:39:29.467469+00:00.
