This plugin allows users to easily insert PDFs from their self-hosted paperless-ngx instance into their Obsidian notes. The PDFs are not stored locally, but are instead externally loaded directly from your paperless-ngx instance.
This assumes you have a working version of paperless-ngx hosted. It does not necessarily need to be remotely accessible. This decision is left up to the reader.
You must also have the ✨amazing✨ PDF++ plugin installed!
This plugin interacts with your paperless instance to enable seamless viewing of your documents within Obsidian. When you click on a document to import it, it generates a PDF++ dummy .pdf file containing only the public Paperless share URL. The actual PDF binary data is not stored in your Obsidian vault. Read more here.
Paperless-ngx
Obsidian
/.![[paperless-ID.pdf]]; when disabled, they use [[paperless-ID.pdf]].cmd+option+i (MacOS) or ctrl+shift+i (Windows).Paperless: Insert document. Click on the document(s) you want to insert.The following commands are available for use.
The standard insertion command. Please note you must have an open editor focused to use this command. Brings up the document selection modal.
Like Insert document, but creates the PDF++ dummy file beside the active note instead of in the configured document storage path. After selecting a document, leave the optional name blank to use the default paperless-ID name or enter a custom name.
The "Insert document" command caches some information such as available documents, tags, and other metadata when it is first run. If you find that new documents or changes are not showing up in the document selection modal, running this command will refresh the caches.
This command replaces a url in a note with a document reference. It recognizes both Paperless URLs and existing [[paperless-ID.pdf]] references. To use:
http://ip:port/api/documents/id/preview/ or http://ip:port/documents/id/detailsThis command searches the current Markdown document for [[paperless-ID.pdf]] and ![[paperless-ID.pdf]] references and creates any missing PDF++ dummy files. It does not download PDF binary data into the vault.
Test documents with multiple pages and documents with tags. Also test documents whose Paperless share links are missing.