Skip to content
Projects

About

A native desktop reference manager in Go — own PDF renderer, offline OCR, local MCP, WebDAV/S3 sync, read-only Zotero import

Design & Media

How these counts are measured

Measured star growth

in 24h
Collecting history
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Gotero

Gotero

A native desktop reference manager written in Go — fast, light on memory, zero WebView.
English · 简体中文

Website · Docs · Releases · Changelog · Contributing

Release AGPL-3.0 Go 1.27+ macOS | Windows | Linux Zero WebView

Gotero library view

Gotero is a ground-up native desktop rewrite of Zotero 7 in Go + mygo (GNU AGPL-3.0). Every window, reader pane, dialog, and plugin page is natively rendered — no embedded browser, no Electron shell, no hidden WebView (enforced mechanically by redline_test.go).

It ships with full English and Simplified Chinese UI switching (auto-detected from your system locale or toggled in Settings).

  • One native binary, light on memory. Smooth scrolling through multi-hundred-page scanned PDFs without an embedded browser engine. Reads and annotates PDF, EPUB, Markdown, DOCX, and CAJ/KDH.
  • PDF reading mode & inline bilingual view. Reflows multi-column PDFs into readable prose while keeping tables and figures cropped as original images. Bilingual mode places paragraph translations directly below the source with local caching, concurrency control, retry, and custom prompts.
  • Scanned PDF dark mode & offline OCR. Five paper themes (Original, Snow, Sepia, Dark, Black) with grayscale scan inversion. Offline OCR runs natively via macOS Vision, Windows WinRT, or local ONNX models (including PP-OCRv5 Server and Linux support), embedding a searchable text layer without altering the page appearance or existing annotations.
  • Built-in translation with magpie & CC Switch support. Free keyless Microsoft Translator out of the box, plus DeepL, DeepLX, Google, Baidu, Tencent, Youdao, Caiyun, Niutrans, OpenAI-compatible endpoints, and an AI Model provider that reuses models from magpie, CC Switch (OpenAI Chat, Responses, and Anthropic Messages), or your own endpoints — paired with a domain glossary and spaced-repetition vocabulary book.
  • In-reader AI Q&A & local MCP server. Ask questions about the current paper with selected quotes and annotations in the right sidebar. Connect Claude Code, Codex, Cursor, OpenCode, Claude Desktop, Gemini CLI, Windsurf, or Zed to your library in one click via HTTP (http://127.0.0.1:23119/mcp) or gotero mcp over stdio.
  • Research essentials built in, .xpi plugins still welcome. Journal rankings (CAS / JCR / CCF / CSSCI), citation counts (OpenAlex / Crossref), 12-color annotations, page-level reading heatmaps, literature matrix, citation keys & .bib auto-export, Microsoft Word citation plugin (16 CSL styles + 63 locales), and a goja runtime for long-tail Zotero .xpi plugins.
  • Self-hosted sync & browser capture. Full-library sync over WebDAV (Nutstore, Nextcloud, InfiniCLOUD, etc.) or S3-compatible storage (Cloudflare R2, AWS S3, Backblaze B2, MinIO) using append-only oplogs and HLC field-level merges. Includes the Gotero Capture browser extension (Chrome / Edge MV3 & Firefox) with 715 statically bundled site translators, zero eval, and 4-digit loopback pairing on 127.0.0.1:23129.
  • Read-only Zotero migration. Import from a local Zotero data directory (strictly read-only — source files are never modified or deleted) or Zotero online account in one step, carrying over items, collections, annotations, attachments, and plugin settings.

Screenshots

PDF reader selection popup and inline translation card
Native PDF reader & selection translation — 12-color highlights, inline translation card, glossary hits, vocabulary book, and Ask AI.
Dark mode scanned PDF reader
Scanned PDF dark mode — grayscale inversion for comfortable night reading and one-click scan detection.
Offline OCR dialog
Offline OCR — macOS Vision, Windows WinRT, and local ONNX models embed a searchable text layer without altering the layout.
Pure WebDAV sync settings
Pure WebDAV & S3 sync — sync metadata and attachments directly to your own server with no third-party account lock-in.

Zotero Plugin Parity

Gotero handles high-frequency research workflows natively in Go (all toggleable under Settings → Plugins) and runs long-tail logic plugins via its embedded goja .xpi runtime (see ADR-0003):

Zotero plugin In Gotero Notes
GreenFrog / EasyScholar Built-in Journal rankings (CAS / JCR / CCF / CSSCI), impact factors, and citation counts
Zotero PDF Translate Built-in 10+ services (Microsoft, DeepL, DeepLX, AI models via magpie / CC Switch) + glossary & vocabulary book
Awesome GPT / ARIA Built-in Per-paper AI Q&A sidebar + bilingual paragraph translation sharing one model catalog
Zotero OCR Built-in Native macOS Vision / Windows WinRT + local ONNX packs (macOS / Windows / Linux)
Ethereal Style / Better BibTeX (core) Built-in Reading progress & heatmaps, view groups, citation keys, and .bib auto-export
Zotero Connector / Official Cloud Sync Native replacement Gotero Capture browser extension + pure WebDAV / S3 full-library sync
Reading List / shortDOI / Notero / ZotMoov .xpi runtime Picked during Zotero migration or installed directly from .xpi files

Install

Download signed/packaged builds for macOS, Windows, and Linux from GitHub Releases or gotero.org.

Gotero includes an in-app updater (top-bar pill with release notes preview and background download) so you stay current without manual reinstalls.

Build from source

Requirements:

  • Go 1.27.3 (matching go.mod)
  • Node.js >= 20 (only needed to build/test the extension/ browser extension; zero npm dependencies)
go build -o gotero .

Package platform installers with the mygo toolchain:

go tool mygo build -platform darwin/universal -skip-notarize
go tool mygo build -platform windows/amd64
go tool mygo build -platform linux/amd64

CLI & MCP

Gotero exposes the same library operations to the desktop app, CLI, and MCP server — changes made from the terminal or an AI agent hot-reload the running desktop UI automatically.

gotero gui                          # launch desktop app
gotero search "attention" --json    # search items in the local library
gotero show <key> --json            # inspect item metadata & fields
gotero text <key>                   # read extracted full text
gotero export-bib --out refs.bib    # export BibTeX
gotero ocr model status             # inspect / manage local ONNX OCR models
gotero mcp                          # run stdio MCP server for local AI agents

You can also enable the local HTTP MCP endpoint (http://127.0.0.1:23119/mcp) or auto-configure Claude Code, Codex, Cursor, OpenCode, Windsurf, and Zed from Settings → Plugins → AI Tool Connection (MCP).

Developing & Verification

Before opening a pull request, run the verification gates:

# 1. Docs & Swarm path guardrails
go test -count=1 ./internal/doccheck

# 2. Zero-WebView architecture redline check
go test -count=1 .

# 3. Vet & core test suites (excluding third_party/)
go list ./... | grep -v third_party | xargs go vet
go test -count=1 ./internal/app ./internal/xpi ./internal/store

# 4. Browser extension tests & bundle (outputs to extension/dist/)
cd extension && npm test

Contributing (Human-in-the-loop)

Issues and pull requests are welcome. Please read CONTRIBUTING.md and AGENTS.md first:

  • Human-in-the-loop required: AI-assisted development is welcome, but every PR and Issue must be verified, read in full, and summarized in your own words by a human contributor.
  • No unsupervised agent-only PRs.
  • Respect the redlines: zero WebView / hidden browser windows; single-topic PRs; do not commit marketing assets, large screenshots (screenshots/), or prototype artboards (.ryugi/).

Documentation & License

Gotero is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). See LICENSE.

Explore related projects

Loading…