Skip to content

CLI

The v0 CLI imports a tab dump and has an AI assistant triage it in batches. The result in output/ is the links you kept, ranked, a page per category.

  1. Ingest the export (parse, normalize, dedupe, filter junk):

    pnpm cli ingest path/to/onetab-export.txt
  2. Prepare batches (work/batch-N.json):

    pnpm cli prepare
  3. Have your AI assistant write work/batch-N.result.json for each batch (result schema).

  4. Merge the results:

    pnpm cli merge-triage
  5. Render output/INDEX.md, a page per category and a junk report:

    pnpm cli render

pnpm cli status shows kept, tossed, junk and pending counts.

{ "batch": 1, "results": [ { "urlHash": "…", "category": "homelab", "keep": true,
"relevance": 4, "explanation": "≤120 chars", "reason": "only when keep=false" } ] }
relevance Means
5 act now
4 useful reference
3 maybe
2 stale
1 near-junk

Re-ingesting the same file changes nothing. To rescue a junked link, add its URL or a prefix* to data/allow.txt and run ingest --force.

Made by XO Vision, a Jovian division