Johannes Kaindl Uplink Deutsch

Paperless Storage

An Obsidian plugin that embeds documents from a paperless-ngx instance directly in your notes, so you read them where you write about them.

Install from the Obsidian community store

Why this one

paperless-ngx can create share links, but a share link has no login: whoever has the URL has the document, and the URL would sit in plain text in the note and in the vault's history. For tax records, contracts or medical paperwork that is the wrong trade-off. This plugin keeps paperless-ngx as the archive and puts only a small stub file into the vault; the document itself is fetched with your API token when the note is shown. The stub is a real file, so it gets backlinks, appears in the graph and opens full-pane like any other file. A local cache keeps an opened document readable offline and fetches it again when it was replaced or reprocessed on the server.

Under the hood

A .paperless stub carries the document ID. An adapter on Obsidian's undocumented embedRegistry fetches the bytes over Obsidian's own requestUrl and hands them to the built-in PDF viewer, so no renderer is bundled and the plugin also runs on mobile. Detail in the repo.

Online repository

git.jkaindl.de/jkaindl/paperless-storage: code, releases, and the technical detail.


See also: obsidian