r/selfhosted • • 21d ago

Text Storage trying to go paperless at home, open source stuff that seems to cover most of it

been drowning in paper mail, receipts and warranty stuff so i went looking for open source ways to deal with it. this is what kept coming up

  • NAPS2 for the actual scanning, works with most scanners and can spit out searchable pdfs
  • OCRmyPDF if you already have a pile of scanned pdfs that arent searchable
  • Paperless-ngx to dump everything in one place, it auto tags stuff and lets you search the text later
  • Papra, newer and lighter if paperless feels like overkill
  • Stirling-PDF for the random merge/split/compress stuff before filing

anyone running something different for this? curious what your setup looks like

38 Upvotes

44 comments sorted by

•

u/asimovs-auditor 21d ago edited 21d ago

Expand the replies to this comment to learn how AI was used in this post/project.

→ More replies (1)

2

u/Street_Love8169 20d ago

Look at Docspell and papra

1

u/Monoyo- 20d ago

thanks, docspell pulling stuff in straight from email looks handy. havent dug into papra yet tho, will take a look

1

u/welshboy14 19d ago

I use papra. Had paperless for a while but my needs are quite basic so it was overkill. The only thing missing with papra was email import, but as with anything these days AI helped write a script to fix that.
The script polls my inbox, downloads pdfs and puts them in the drop folder for papra.

1

u/Monoyo- 19d ago

oh nice, does papra's search handle scanned pdfs ok or is it mostly filename stuff?

1

u/welshboy14 19d ago

Seems to handle it just fine. It also searches inside other file types too, just tested a jpg and it searched text in the image

1

u/Monoyo- 19d ago

oh nice, searching text inside images is handy, thanks for checking

27

u/Darkk_Knight 21d ago

BentoPDF is a good replacement for Stirling-PDF as it's completely open source and doesn't track you.

1

u/Meistermagier 14d ago

Even better it also runs completely in WASM. 

11

u/BriefTomatillo985 21d ago

PDF Craft for editing is great too.

Paperless-NGX uses OCRmyPDF internally. Alternatively it can now use external AI based OCR too.

Personally I like network connected scanners that don’t require any PC or phone app to just scan to a network share (or cloud share). Everything else can happen automatically from there.

4

u/Nohillside 21d ago

What is the value of OCRmyPDF in addition to Paperless-ngx (which also does OCR)?

1

u/AliyasDandani_64 21d ago

what kind of scanner are you pairing this with? having hardware that can scan both sides in one pass directly to an SMB share matters way more than the software stack imo.

1

u/Monoyo- 21d ago

fair point, a scan to SMB one makes it way less annoying. nothing locked in yet, probably something with duplex and a feeder

1

u/Thutex 21d ago

i've been happiest with brother printer/scanner systems (and not so much with epson or hp.... pieces of.... ahem)

the autofeeder in the brother does all the scanning, and sends it directly to my mailbox - no need for a share.
and paperless fetches and processes from mailbox, so...

1

u/FlibblesHexEyes 20d ago

I’m using an ancient Xerox Docuprint which is just a rebranded Brother laser MFP with auto-feeder.

It’s one of those ones that has a scan button mounted on it that pairs with Windows software to scan documents, but can’t scan to email or file share itself.

I found some old software online that I had to update with trial and error and an AI agent that would run as a daemon on my NAS that found the printer and remotely told the printer where to send those scans.

Now all I have to do is load the scanner, press the scan button, choose the source (ADF or flatbed), and then press OK.

Bloody brilliant for mass scanning.

3

u/Thutex 21d ago

i've got paperless-ngx which automatically gets my emails with documents (check & forward in sieve),
and when i get a paper document i just push it into the scanner, click scan, and let that same automation do it's thing (scans go directly to email, and email gets directly processed through the same sieve config)

i'd love it if my (physical) mailbox automated the "get it from the mailbox and put it in the scanner" part though,
that's the only thing i can't get automated... yet :)

4

u/ftrx 21d ago

Honestly, I tried Paperless, Plane, Seafile and a few others. In the end, I've been using Emacs/org-mode with my org-attach-ed files for years, and I'm VERY happy with it. Yes, it's desktop-only. I tried various exports, from 200ok.ch to an Emacs client over SSH, but they're all awkward. Still... it works really well, with very little overhead. After a few decades of keeping my home directory meticulously organised with a carefully curated taxonomy, I switched to Emacs, and seven years or so later, I'm happy with it. There's nothing better.

The main thing with using a modern project is having to trust that it'll stick around, or that you'll be able to maintain it yourself. And, well, I don't have the time or the know-how to maintain a Paperless installation abandoned by its upstream developers. I considered BookStack (a PHP and MySQL stack, which I can't stand) and DocMost, but in the end I'm on my own; I'm not a company or any kind of team, so the overhead is greater than just using Emacs. And Emacs is a safe bet for the long term: it's been around for 50 years, and there's no competitor at the moment that could make the project get abandoned.

If you need web/mobile support, I honestly recommend DocMost, because files are only part of the information; the rest is notes, and there's nothing better than a notes UI instead of managing files manually. Emacs is based on files, in this case org-mode, but you access them by searching and narrowing things down, for example with org-roam. DocMost, BookStack and DokuWiki manage things internally, which is a risk because you don't know where these projects will be down the line. But they're the best solution if you need web support.

1

u/[deleted] 20d ago

[removed] — view removed comment

1

u/ftrx 20d ago

Yes, I've tried it, but I'm not convinced, for various reasons. My notes are organised even just for mere performance reasons in a timeline: under ~/notes/ I have a subdir for each year, and inside that, daily notes (MM-DD.org) into which org-capture dumps whatever I record as I go along. This, let's say, makes searching with counsel-rg very fast and doesn't scatter my information into something totally unmanageable outside Emacs. In other words, even from the CLI, I could probably manage what I need in an emergency. One huge blob of files all together with long names would be decidedly suboptimal for me; on modern filesystems I wouldn't run out of inodes, but...

I attach PDFs to the notes and link to them there. For performance reasons alone, I open them in Zathura with a simple link: [[elisp:(start-process-shell-command "zathura" nil "zathura ~/data/ba/1aaab2-8a0c-4117-aee8-b583e9c7aa34/file.pdf")][the title]]

I tried TMSU in the past, but I didn't get on with that either. I prefer having a filesystem split between a cache dir for data that I won't be using directly by hand anyway, and a chronological organisation that isn't as well-balanced as a cache dir, but also isn't a monster with tens of thousands of files in a single directory, and that still allows some access from the terminal.

I'm not entirely satisfied. I also tried ekg recently and didn't get on with it, but, well... Denote didn't convince me, just as Deft didn't convince me a long time ago, when I first started using Emacs.

2

u/Intelligent_Gur8280 21d ago

One practical tip once you settle on Paperless-ngx: point its consume folder at a network share so you can scan straight from the scanner, and decide your tag/correspondent naming early, because renaming hundreds of documents later is a pain. Also back up both the database and the media folder (the built-in document_exporter makes a portable export), since OCR text alone won't save you if the disk dies.

2

u/LeopardJockey 20d ago

I've set up Papra recently and it's great if all you need is a place to securely dump your documents and find them easily.

I'm just running it without OCR for now. Ideally I would like to run the OCR through a good AI model on my gaming pc. But for the time being Papra is a bit lacking in control over that. Like having OCR run only when the external OCR system is reachable or re-running batches of documents on demand.

2

u/Savings_Increase3478 20d ago

I think the backup matters more than the scanner, since once the paper is shredded the scan is your only copy, so I’d keep an offsite copy and hold onto the originals for tax papers and anything legal.

4

u/Digital_Voodoo 21d ago

Same here. Even installed Paperless NGX back in the day, kept it for a few weeks/months and ended up dropping it.

The fact that it can't process the documents while preserving my existing folder organisation is my deal breaker.

7

u/Jmanko16 21d ago

You actually can set paperless ngx to keep your preferred folder style. I do this myself bc I wanted to easily back up with my native structure. It's not hard to setup at all if you follow the docs

1

u/G4l44d 21d ago

Ah! I have the same situation here -- I need to maintain my folder structure as everything is very tidy on my end. did you find a satisfactory alternative in the end?

1

u/Digital_Voodoo 21d ago

Not yet, unfortunately.

I've been using sist2 but rather for my research database. For going paperless at home I'm still a bit at a loss.

1

u/G4l44d 21d ago

Okay cool, that's also what I'm using here actually!

1

u/Thutex 21d ago edited 21d ago

i believe (can't remember, should look at my config) that you can setup the organisation exactly how you want it, though it might need to reprocess files (so you might have to create a new directory, move everything there, then reprocess with paperless)....
i know i did something similar to that after my second paperless setup, since the first time around i screwed up and all my documents were annoying to get out

EDIT: so if all your documents have a known correspondent, this is one of the best ways to configure paperless imho:
{{correspondent}}/{{created_year}}/{{created_year}}-{{created_month}}-{{created_day}}_{{correspondent}}-{{title}}"

that way, under data/originals, all your documents will be sorted into subfolders and give you correspondents & dates.
if you don't always have correspondents, it's not the most elegant (because then you'll have a "none" folder)
but the fact that you can have as many folders and pretty much any filename you want was enough for me to get sorting to my liking
(like i say though, i believe i had to let paperless reprocess all the documents once because it couldn't just ingest the existing structure)

2

u/morphodone 21d ago

You can look into using local LLM to help with OCR and tagging.
Paperless-GPT is what I use.

2

u/Numerous_Platypus 21d ago

I'm now using this after using Paperless-ngx fo years. https://lemmary.app, https://github.com/buldezir/lemmary

6

u/klicknack 21d ago

Why did you switch?

5

u/Numerous_Platypus 21d ago

Easier to setup and maintain. Fast. Does all the AI stuff directly without separate stacks. Dev seems responsive to improvements. I was able to migrate my Paperless directly.

6

u/headinthesky 21d ago • Bravo

Holy AI

-4

u/superslow_jerry 21d ago

AI is good, actually

1

u/headinthesky 21d ago

It is! But this isn't. I went through some of the commits, and yikes

1

u/shadowjig 21d ago

I bought a Brother ADS-3300W networked scanner and set up a few FTP profiles to drop PDFs in a folder that's monitored by paperless-ngx.

I load up a stack of scans and click the profile on the scanner and it's in paperless in a few moments. I thought I would want to have more control over the categorization. But when you are scanning a bunch of docs, that want goes out the window quickly.

Once you categorize a few scans in paperless it will infer categories anyway. But whenever I need something I just search for it, it uses the OCR text for search and it's pretty darn good.

1

u/609JerseyJack 21d ago

NAPS is great. Stirling is great as well -- a bit difficult to setup but once done, is great.

1

u/bmullan 20d ago

Just remember to have a tested backup and restore process for your system that you put everything on.

1

u/johnnybravo-xyz 19d ago

If you’re looking for something simpler than stitching together multiple tools, check out Suchi. I’m building it to make organizing receipts, warranties, bills, and important documents effortless and bring everything in one place, searchable, and easy to find when you need it. You can also link your email directly to pull documents automatically.

Would love your feedback!

1

u/kyuzaiken 18d ago

software list is solid, the part that makes or breaks it is how braindead easy the capture step is. paperless sat unused for months here until the scanner got a scan-to-folder profile and the phone app became the front door for anything arriving as a photo. also decide your naming/tag scheme before you import anything, retrofitting 2 years of scan_0001.pdf is a special kind of hell. for the receipt pile specifically you don't even need fancy OCR, searchable pdfs got me through tax season fine

0

u/Born_Appearance_3645 21d ago

one thing nobody mentioned yet: test the restore before you shred any paper. if you go with paperless-ngx, the document_exporter command dumps the originals plus tags and metadata into a plain folder, and document_importer loads that into a fresh install. try it once on a throwaway instance, its the only way to know your backup is real

alsoo start with like 20 docs that look like your real pile (crumpled receipts, faded thermal paper, multi page letters) before importing everything. you see fast if the ocr and auto tagging hold up, and fixing tags on 20 docs beats fixing them on 2000

0

u/Thick-Cod1442 21d ago

paperless-ngx plus a scanner dumping to a consume folder is the boring reliable path. run a small batch first, then test document_exporter/importer before shredding anything. OXR from SoMark is good for the parsing layer: PDFs and document images in, Markdown or JSON out, with layout coordinates and reading order (i'm affiliated with somark).