A single, zero-dependency Go binary that drives a running
Zotero 7+ through its own HTTP contracts — browse,
search, export, and edit your library from the command line. It talks to Zotero
the way Zotero wants to be talked to: over HTTP, never through zotero.sqlite.
zotgo is the from-scratch successor to
pyzot.
go install github.com/heibench/zotgo/cmd/zot@latestOr grab a prebuilt binary from the Releases page — no runtime, no dependencies.
The Zotero 7+ desktop app must be running with its Local API enabled;
zot doctor checks and, if needed, prints the steps to turn it on.
Reads and connector ingestion work on Zotero 7.0 and up. The write
commands need Zotero 10.0 or newer — 7, 8 and 9 have no local write API at
all, so leases, item writes and attachment import are unavailable there.
zot doctor reports that as a capability rather than failing obscurely.
zot doctor # is Zotero reachable, and what can it do?
zot search "state estimation" # find items
zot show HRAC4E44 # inspect one, with its attachments
zot export bibtex -c Polyhedra # export via Zotero's translators
zot item create --file item.json # create (needs a write-capable Zotero build)
zot attachment import --parent HRAC4E44 --path paper.pdfPoint the same commands at the hosted Web API with --web, and get
script-friendly output with --json / --jsonl / --raw.
The docs are published as a site at
https://heibench.com/zotgo/, and the source lives in
docs/:
- Getting started · Reading · Writing · Endpoints & profiles · Machine-readable output · Zotero API reference
Released changes are in the changelog; planned and outstanding work is tracked in issues.
Contribution conventions, the build/test gate, and architecture notes are in
AGENTS.md.