Skip to main content

Paperful

CI Test coverage Docs PyPI Python 3.10+ MIT

Find missing PDFs. Clean up your library. Keep control of your papers.

Paperful is a local workbench for a Zotero library you already keep.

It finds PDFs that are missing, tidies the records, and keeps a folder of copies on this computer. It looks for free copies first, then uses your campus login when you have one. Downloads always go into that folder first. On Zotero 10 or newer you can attach them yourself, or let a download attach them. On Zotero 7–9 the files stay in the folder; you attach them in Zotero.

Zotero is well tested. Mendeley and EndNote are seeking testers. How it compares. Fetch stance and what never leaves this machine: legal and privacy.

What can I do with it?

  • See which items still need a PDF, check what a search would find, then download the files onto this computer
  • Add papers from a topic search or from people you follow (the record first; the PDF after)
  • Check identifiers, review duplicates, and repair broken attachments
  • Keep a folder of your papers that you can back up or give to another tool
  • Optionally ask questions of the PDFs you already have (local models via Ollama when your machine can run them, or hosted APIs via LiteLLM — off until you turn it on)
  • Optionally check a draft you already wrote (Advanced Critique; not a grade) — structure and citations always, optional comparison with your library text (Critique)
  • Optionally, from Firefox, save the page you are reading or the tabs you have open into the folder on this computer (Firefox add-on). The Zotero Connector stays the way to save into Zotero. This one writes the folder copy, can search your sources when the page has no PDF, and can take several tabs at once. It does not attach them.

New here: first 10 minutes. Walkthroughs: first fill, grow the library, tidy a collection. All of them: Walkthroughs.

Screenshots

Wanted: missing PDFs selected for Preview, then Grab, then Attach

Discover: topic filled, ready to search or follow people

Repair: lint, fix metadata, review duplicates

Ask: a cited answer from PDFs already on disk

From a collection to PDFs on your computer

  1. Start the workbench and open http://127.0.0.1:8765 (the Wanted page).
  2. Choose a collection on Library.
  3. Preview what can be found, then Grab the files. They are saved in a folder on this computer (out/). By default you open that folder and Attach the copies you want. In Settings you can have Grab attach them for you on Zotero 10 or newer. On Zotero 7–9 the files stay in the folder; attach them in Zotero.

Wanted: tick rows, Preview selected, wait for the dry-run, Grab is ready

Full walkthrough: First fill. How a search works: How it works. The same actions from the command line: Commands.

Quick start

Clone the repo and build the image with Compose.

You need

  • Docker with Compose v2.
  • Zotero on the host (not in Docker), local API enabled: Settings → Advanced → Allow other applications on this computer to communicate with Zotero.
  • Zotero 10 or newer to attach PDFs (manual Attach, or automatic on Grab). On Zotero 7–9 the tool still downloads to disk; attach later in Zotero. Zotero.
  • A one-time browser sign-in on this computer if you use a campus library login. The workbench itself runs from Docker. Docker.
  • A real email address in the config file. The free-copy lookup (Unpaywall) will not run without it.

No campus access: choose Open access. Campus library login: choose Campus after you set your library proxy address. Configuration.

git clone --branch v1.9.5 https://github.com/glen-w/Paperful.git
cd Paperful
cp .env.example .env          # PAPERFUL_DATA=. PAPERFUL_OUT=./out keeps data here
                              # .env.example sets PAPERFUL_IMAGE_MODE=heavy
cp config.minimal.toml config.toml   # set email; full file is config.example.toml
docker compose build                 # heavy when set in .env; CI uses light
docker compose run --rm paperful doctor          # once; --guide for Enter walk
docker compose up                                # stays up; workbench at http://127.0.0.1:8765

The sample .env keeps your config and downloads in this folder. Where those files live, and what the first health check means if Zotero is not open yet: Docker.

The same jobs from the command line: Commands.

Campus library login: EZProxy. Optional libraries (seeking testers): Mendeley, EndNote.

Site: paperful.app.

Reference:

On your machine

Paperful runs on this computer. It does not upload your library to a Paperful server. Downloads, notes, and the folder of copies stay here. Zotero stays your catalogue. Notes and questions use a model only when you enable one — usually Ollama on your computer, or an external provider through LiteLLM if you prefer hosted APIs. Terms.

Read the file before you trust a note or an answer:

  1. See which items are still missing a PDF.
  2. Paperful downloads the PDF and saves it in a folder on your computer.
  3. You open that folder and read the file.
  4. Then you write a note or ask a question.

Attach is the step that puts the PDF into Zotero. How a search is checked before it runs, and how each file records where it came from: How it works.

Optional: ask your papers

Asking questions of PDFs you already have is off until you turn it on. Local first: run models on this computer with Ollama when your hardware can support the tags you need (summaries from ~7B; the browser agent from ~14B). Optional hosted APIs: install paperful[llm] and set provider = "litellm" to call OpenAI, Anthropic, or another LiteLLM-backed service (API keys in the environment, not in config.toml). Commands print a notice when text leaves the machine. Ask is in the workbench; notes, collection reviews, and Critique are under Advanced.

What is feasible (local vs hosted, library scale) · LLM setup · Ask your library.

ollama pull qwen2.5:7b                       # local default; then enable [llm] in config
# Ask also needs: ollama pull nomic-embed-text
# Hosted instead: uv sync --extra llm  — see docs/llm.md

Install with pip

For a CLI on the host (Zotero local API on this machine; no Docker workbench image):

pipx install paperful          # or: uv tool install paperful, or pip install paperful
pip install "paperful[browser]"   # for campus login / HTML PDF (Playwright)
playwright install chromium    # once
cp config.minimal.toml config.toml   # set email — see docs/config.md
paperful doctor

Optional extras: [browser] (Playwright; session login / htmlpdf), [llm], [rag], [rag-docling], [browser-agent] (Python 3.11+), [openxml], [network]. The [serve] extra (workbench) runs without Docker. The operator path is clone + Compose (Docker). GitHub CI runs the smoke tests, lint and types, and the full offline suite on Ubuntu (Python 3.12); it does not build the image or install a fresh paperful[serve] venv.

Develop

Contributors use uv (Python 3.10+). Operators use the Compose steps above.

uv sync --group dev
cp config.example.toml config.toml
uv run paperful doctor
uv run pytest

Local docs preview: uv sync --extra docs && make pages-site. Workbench screenshots: uv run python scripts/docs/capture_workbench.py; workflow GIFs: uv run python scripts/docs/record_workflows.py (needs ffmpeg). Both run against a live workbench (docker compose up, or PAPERFUL_UI=http://127.0.0.1:<port> for paperful serve --port). See CONTRIBUTING.

License

MIT


Buy Me a Coffee at ko-fi.com

Metadata

Release files for paperful 1.9.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for paperful 1.9.5
File Size Uploaded Provenance Actions
paperful-1.9.5.tar.gz 2.8 MB Without provenance Details for paperful-1.9.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for paperful 1.9.5
File Interpreter ABI Platform Actions
paperful-1.9.5-py3-none-any.whl Python 3 none any Details for paperful-1.9.5-py3-none-any.whl

Total release size: 4.7 MB

Release files / paperful-1.9.5.tar.gz

Download URL paperful-1.9.5.tar.gz
Size 2.8 MB
Tags Source
SHA-256 checksum
How to use checksums
a959f908f151d9a48bc6fd5b32a3515bb240879dbd0b7f0a438668e11f5c12b3
BLAKE2b-256 checksum
How to use checksums
c485c9c00ad28f2d0f136e12677194179df0f7c728c1fc84323f5844e53ec9e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / paperful-1.9.5-py3-none-any.whl

Download URL paperful-1.9.5-py3-none-any.whl
Size 1.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
826a8ff960b5463da33fad56a4d0ea6a76fbe41bfb9acda5ac663a695eebd498
BLAKE2b-256 checksum
How to use checksums
b2d834f8e116db98a066f7045147de7f35b3850cfc7f3f55c8a7b309d513533b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Security for paperful 1.9.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.9.5 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page