You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow mosaic search results to be exported directly into Papis or Zotero reference management libraries.
Motivation
Many researchers manage their bibliography with Papis or Zotero. Exporting MOSAIC results directly into these tools would remove the manual copy-paste step and keep metadata in sync with the local cache.
Proposed behaviour
# Add all results to the default Papis library
mosaic search "attention is all you need" --oa-only | mosaic export --papis
# Add to a specific Papis library
mosaic search "diffusion models" --export papis --papis-lib mylib
# Add to Zotero (requires Zotero local API running on port 23119)
mosaic search "protein folding" --export zotero --zotero-collection "AI Biology"# Export from a previous search (cache)
mosaic export --papis --query "diffusion models"
Implementation notes
Papis:
Invoke papis add --from-doi <doi> for each result (if DOI known)
Or write a temporary BibTeX file and papis add --from-bibtex
Optionally copy the downloaded PDF to the Papis document folder
Closing: Zotero export has shipped — mosaic search/get --zotero [--zotero-collection NAME] [--zotero-local] via mosaic/zotero.py (local API on :23119 or web API with key), including PDF attachment in local mode. The piped mosaic search | mosaic export --papis syntax proposed here doesn't match the current CLI.
Papis was never implemented. If there is demand, it is a small follow-up (papis add --from-bibtex on top of the existing BibTeX exporter) and deserves its own narrowly scoped issue.
Activity
szaghi commentedon Oct 14, 2026
Closing: Zotero export has shipped —
mosaic search/get --zotero [--zotero-collection NAME] [--zotero-local]viamosaic/zotero.py(local API on :23119 or web API with key), including PDF attachment in local mode. The pipedmosaic search | mosaic export --papissyntax proposed here doesn't match the current CLI.Papis was never implemented. If there is demand, it is a small follow-up (
papis add --from-bibtexon top of the existing BibTeX exporter) and deserves its own narrowly scoped issue.