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 it does

Every fetch lands in a folder on this computer first: open-access copies when they exist, campus login when you have it, then you attach the files you trust. Zotero stays the catalogue. Optional notes and answers use a model only when you turn one on, and they point back at the PDFs you already hold.

The default nav is Wanted, Discover, Ask, Library, Activity, and System. Ask answers need optional AI turned on. ⚙️ marks Advanced; 🤖 marks optional AI (off until you enable it — local Ollama when the machine can run it, or hosted APIs via LiteLLM).

Fill missing PDFs

Tool What it does Guide
Wanted See which items still need a PDF, Preview what a search would find, Grab copies into out/, Attach the ones you trust (Zotero 10 or newer; on 7–9 the files stay in the folder) guide
Library Collection tree with item and missing-PDF counts; the target icon sets the scope for the rest of the workbench guide
Sources Free copies first (Unpaywall, OpenAlex, and the rest of the open-access lane), campus EZProxy when you choose Campus, playbooks for odd landings guide
Firefox add-on Save the page you are reading, or several tabs, into the folder copy. The Zotero Connector stays the way to save into Zotero. This one does not attach guide
Recover ⚙️🤖 Optional browser agent for landings the scripted sources missed (paperful[browser-agent], Python 3.11+) guide

Grow the library

Tool What it does Guide
Discover Topic search, citation map, Keep/Skip queue, then metadata parents — PDFs still go through Wanted guide
People Follow ORCID / OpenAlex authors; run the list; accept new works into the collection guide
Web Grey-literature hits via SearXNG; Preview apply creates parents guide
Research pack Works cited in a PDF you already hold → parents in the collection → fill PDFs guide
Keepup Poll topic watches, people lists, and what-cites on a cadence you cron; no email guide

Tidy the library

Tool What it does Guide
Repair ⚙️ Check identifiers, fix metadata, review duplicates, repair attachments, OCR scans, flag retractions / PubPeer / tortured phrases guide
Mirror ⚙️ Folder copy of the collection (out/ + state/); snapshot, restore, sync. You copy the folder when you want a backup or a handoff guide
Import / export RIS, BibTeX, and EndNote XML guide

Read papers you already have

Tool What it does Guide
Ask 🤖 Questions over PDFs already on disk, answered with a link to the passage; simple or advanced guide
Briefs ⚙️🤖 Per-item summary and a collection review from the mirror. CLI summarize --receipts drops sentences that cannot quote the PDF guide
Index ⚙️ Ingest the mirror, search passages, extract questions, see what is already answered, pull IMRaD-style sections guide
Claim check Per-sentence support vs the index (CLI ask --claim-check; no chat model) guide
Evidence Sourced n / method / finding table over PDFs you hold; each cell is a quote or check this. No chat model. CLI only guide

Check a draft

Tool What it does Guide
Peer review ⚙️ A draft you already wrote: structure and citations always; optional claim locators against held PDFs; optional comparison with this library. Not a grade guide
Suggest edits ⚙️ Apply a peer-review pack as locatable edits / tracked changes; never overwrites the source guide
Stuff ⚙️ Extra library cites per sentence or outline section (needs the index; no chat model) guide

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 open on the host (not in Docker), local API enabled: Settings → Advanced → Allow other applications on this computer to communicate with Zotero. Open Zotero before you run doctor.
  • 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.8 https://github.com/glen-w/Paperful.git
cd Paperful
cp .env.example .env
mkdir -p ../paperful-data ../paperful-out
cp config.minimal.toml ../paperful-data/config.toml   # set email
docker compose build
docker compose run --rm paperful doctor
docker compose up

Compose reads config.toml from PAPERFUL_DATA and the PDF mirror from PAPERFUL_OUT (the .env defaults are ../paperful-data and ../paperful-out), not from the git root. To keep data in the checkout, set PAPERFUL_DATA=. and PAPERFUL_OUT=./out in .env, then copy config.toml next to compose.yaml. Where those files live, and what the first health check means if Zotero is not open yet: Docker.

The guide and this README track main. pip and the v1.9.8 tag are the current release.

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 Peer review 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

Workbench on the host (Zotero open, local API on; no Docker image). The uv tool line was run on a Linux box; pipx is the same shape and was not run in that check. Chromium downloads on first campus login.

You need Zotero open and an email address (Unpaywall).

uv tool install "paperful[serve]"     # or: pipx install "paperful[serve]"
mkdir my-paperful && cd my-paperful
printf 'email = "you@university.edu"\n' > config.toml
paperful doctor
paperful serve                        # http://127.0.0.1:8765

Campus login / HTML PDF: install "paperful[serve,browser]" instead.

Optional extras: [browser], [llm], [rag], [rag-docling], [rag-liteparse], [browser-agent] (Python 3.11+), [openxml], [network]. The operator path is clone + Compose (Docker). GitHub CI currently runs the smoke tests only (Ubuntu, Python 3.12); the full suite runs locally. 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.8

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.8
File Size Uploaded Provenance Actions
paperful-1.9.8.tar.gz 2.9 MB Without provenance Details for paperful-1.9.8.tar.gz

Built distribution (wheel)

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

Total release size: 4.8 MB

Release files / paperful-1.9.8.tar.gz

Download URL paperful-1.9.8.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
26b0b53485f3f5d8217e2c47dae42b77c858e727f1b6dddf13ed19a75361ffaa
BLAKE2b-256 checksum
How to use checksums
4663e13f67ec8d1ea63552b23f09b79995bfd6857f4ef46291ad90f862233137
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.8-py3-none-any.whl

Download URL paperful-1.9.8-py3-none-any.whl
Size 1.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e2101c305e22d0aeccb96b058a88d98dc4db957274d0362b3be0dec80155b9eb
BLAKE2b-256 checksum
How to use checksums
5e81871bf76b14c5b74be9d39b29fcb42b47258210a661e48304d91cdbb2e5cd
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.8

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