Skip to content
heibenchPublic

About

Zero-dependency Go CLI (zot) that drives a running Zotero 7+ library over its local HTTP API

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

zotgo (zot)

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.

Install

go install github.com/heibench/zotgo/cmd/zot@latest

Or grab a prebuilt binary from the Releases page — no runtime, no dependencies.

Quickstart

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.pdf

Point the same commands at the hosted Web API with --web, and get script-friendly output with --json / --jsonl / --raw.

Documentation

The docs are published as a site at https://heibench.com/zotgo/, and the source lives in docs/:

Released changes are in the changelog; planned and outstanding work is tracked in issues.

Development

Contribution conventions, the build/test gate, and architecture notes are in AGENTS.md.

License

AGPL-3.0.

About

Zero-dependency Go CLI (zot) that drives a running Zotero 7+ library over its local HTTP API

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages