npm.io
1.2.4 • Published 15h agoCLI

@kud/foxhop-cli

Licence
MIT
Version
1.2.4
Deps
1
Size
64 kB
Vulns
0
Weekly
1.5K

@kud/foxhop-cli

The CLI and native-messaging host for foxhop — focus a specific Firefox tab from anywhere on macOS.

Requires the foxhop Firefox extension. See the project README for the full setup.

Install

npm install -g @kud/foxhop-cli
foxhop install        # register the native messaging host with Firefox
foxhop init           # seed ~/.config/foxhop/tabs.json

Usage

foxhop focus chatgpt                       # focus a saved target, foregrounding Firefox
foxhop focus --match figma.com --url https://figma.com
foxhop list                                # saved targets (--json for machine output)
foxhop tabs                                # currently open Firefox tabs (--json)
foxhop add gmail --match mail.google.com --url https://mail.google.com --title Gmail
foxhop remove gmail
foxhop sync                                # generate per-tab Raycast hotkey scripts

Targets live in ~/.config/foxhop/tabs.json (the source of truth). Each has name, match, optional url, strategy (hostname·prefix·exact·search) and pick (recent·first·pinned). Set FOXHOP_BROWSER if you don't run Firefox Nightly.

MIT Erwann Mest

Keywords