npub1lf…949ls on Nostr: nprofile1q…vss2n I've found paperless' tagging to be so helpful and robust to make ...
nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq6mtxp68k8c3p2sj0wzhagt3kd8ywkvzlkfyt3vrx9cahzfz000vsmvss2n (nprofile…ss2n)
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
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