Join Nostr
2025-01-07 22:15:46 UTC
in reply to

Atemu on Nostr: nprofile1q…vss2n I've found paperless' tagging to be so helpful and robust to make ...



I've found paperless' tagging to be so helpful and robust to make it the source of truth.

Paperless has an exporter that exports all documents as plain files and their metadata as JSONs. You need to configure it to split the JSONs for each document and not export archives and thumbnails though.

I then have the export dir as a special remote of my documents repo and import it into a subdirectory on sync.

See:

https://github.com/Atemu/nixos-config/blob/5323b915a63748c7ffa891f813a753fa16601df5/modules/paperless/module.nix#L59-L95

Soon upstream:

https://github.com/NixOS/nixpkgs/pull/242084