Skip to content

Paperless Unified Search

A Nextcloud app that brings the OCR and full-text search of Paperless-ngx into Nextcloud's global search. A result opens the matching synchronized file directly in Nextcloud's viewer.

Get it from the App Store Quick start

A search for "invoice" in Nextcloud: the files whose names match, then, with Search connected services switched on, the Paperless documents whose text matches. The home insurance renewal opens in Nextcloud's viewer.

The search of files finds the two invoices by their names. Paperless also finds the home insurance renewal: its text says "invoice", its name doesn't.

What it does

  • Paperless search in Nextcloud


    Results come from the native OCR and full-text index of Paperless-ngx and appear under Paperless documents in Nextcloud's global search.

  • Opens the file in Nextcloud


    A result opens the synchronized file in Nextcloud, not in Paperless: in the viewer of the browser, and in the viewers of the official iOS and Android apps.

  • Only files you may open


    A result appears only if the searching user can open the matching file of the archive account: the archive account itself, or a user it shared the file with.

  • Stable document markers


    Documents are matched to files by the marker [P<ID>] in the file name, such as [P123], which Paperless Sync writes. Documents without such a file stay out of the search.

  • Search terms under control


    By default, search terms reach Paperless only when the user switches on Search connected services. Administrators can trust their Paperless server to include it in every search.

  • The token stays on the server


    The Paperless API token is stored only in Nextcloud's server-side credentials manager and is never returned to browser JavaScript or rendered into HTML.

Screenshots

Each picture follows the light or dark theme of this website. Select one to enlarge it.

Paperless results in Nextcloud's global search Paperless results in Nextcloud's global search
Paperless results in Nextcloud's global search
A synchronized Paperless document opened in Nextcloud's PDF viewer A synchronized Paperless document opened in Nextcloud's PDF viewer
A result opened in Nextcloud's viewer
Paperless Unified Search administration settings in Nextcloud Paperless Unified Search administration settings in Nextcloud
The settings, for administrators only
The history of the problems of the search in the settings The history of the problems of the search in the settings
The problems of the search, without the log of Nextcloud
Paperless results in the global search of Nextcloud on a phone The electricity invoice opened in Nextcloud's viewer on a phone
On a phone, in the browser

Quick start

  1. Install Paperless Unified Search from the Nextcloud App Store under Apps, or with occ app:install paperless_unified_search.
  2. In Paperless-ngx, create an account that may read the documents to search, and an API token for it.
  3. In Nextcloud, open Administration settings → Paperless Unified Search, enter the Paperless URL and the token, and select Test connection and save. With Paperless Sync installed, the account it writes the archive with is the Archive account; otherwise enter the account that owns the synchronized files.
  4. Search in Nextcloud, switch on Search connected services and look under Paperless documents. A result appears for every document whose synchronized file you can open: a file of the archive account with [P<ID>] in its name, your own if you are that account, or one it shared with you. Paperless Sync creates such files.

The guide describes the configuration, the usage and the security and privacy of the app in detail.

Learn more

  • Guide


    Installation, how the search works, requirements, configuration, usage, and security and privacy.

    Read the guide

  • Architecture


    How the app adds a provider to Nextcloud's unified search that asks Paperless-ngx, without storing documents or an index of its own.

    Architecture

  • Security design


    What the app protects, what it trusts, the threats with their countermeasures, and the risks that remain.

    Security design

  • Roadmap


    What Paperless Unified Search intends to do in the next twelve months, and what it will not do.

    Roadmap

  • Decisions


    The decisions that shape the project, each with its reasons.

    Decisions

  • Releases and changelog


    How a release is made, signed and published in the Nextcloud App Store, and the changes of each version.

    Releases · Changelog