trycrit
v0.1.3
Published
Crit CLI — review your localhost UI from the terminal. Captures only the pages you changed and sends them to your Crit dashboard.
Readme
crit
Review your localhost UI from the terminal. Crit reads which files you changed, screenshots only those pages from your running dev server, and uploads the screenshots (never your code) to your Crit dashboard, where the review appears.
Use it
In Crit → Settings, set "Where Crit sees your work" to Localhost and generate a CLI token.
In your project:
npx trycrit login <your-token> # once, to connect this machine npx trycrit # after a commit you want reviewed
Crit captures the pages your change touched (desktop + mobile) and prints a link to the review.
Options
crit login <token> [--api <url>] connect this machine
crit review the pages you changed
crit --url <url> dev server URL (default http://localhost:3000)
crit --base <ref> diff against a git ref instead of the working tree
crit --all review the homepage regardless of changes
crit logout forget the saved tokenNotes
- Needs a Chromium build for Playwright. If prompted, run
npx playwright install chromium. - Your token is stored in
~/.crit.json(read/write to you only). Only screenshots and computed styles are uploaded — your source never leaves your machine.
