fjebaker/zorro
A CLI for interacting with Zotero.
Your clunky CLI for zeroing in on search results in Zotero
Zorro is a command line tool for more expressively and interactively searching through the Zotero library.
Grab a binary from the releases for your OS.
Using the Zig master version, clone and cd
and then:
zig build --release=safe
The binary will then be in ./zig-out/bin/zorro
.
To build statically (for distribution), specify the target with musl
to avoid linking the system LibC:
zig build --release=safe -Dtarget=x86_64-linux-musl
The order below is arbitary:
A small interactive TUI for selecting and viewing the search results
Search author, scoring the author position (first author scores higher than second, etc.)
Search year including ranges (before, after, inbetween)
Fuzzy searching in titles
Fuzzy searching in abstracts
Zotero interaction: open or select items from the CLI directly in Zotero
Sort based on tags / visualise tags. I use a read
and todo
tag to track what I've read and what I need to look at, and I want visual feedback for those.
Search in and export highlights and notes.
Open current browser with search engine of choice. My plan here to to take advantage of the search features that e.g. NASA's ADS library have, so that if I don't have something in Zotero, I can easily go find it using the same search query.
$ zorro help
Commands:
find
[-a/--author name] Author (last) name.
[-y/--year YYYY] Publication year. Optionally may use `before:YYYY`,
`after:YYYY`, or `YYYY-YYYY` (range) to filter publication years.
help