this post was submitted on 18 Jul 2023
38 points (95.2% liked)

Selfhosted

40000 readers
906 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I’m looking for a self hosted solution to this problem:

I want to create a full text search index from a collection of PDF manuals (text, not images, I don’t care about OCR here). There is a UI to search for text matches in documents, and clicking a search hit opens the PDF scrolled to where the search hit is (bonus points if the search hit is hilighted)

top 18 comments
sorted by: hot top controversial new old
[–] [email protected] 13 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago (1 children)

Paperless is great. But it does not highlight the search text. The android app paperless mobile does. Another option could be zotero. It is meant for sientific papers but very powerful in handling large PDF collections. Hard to completly selfhost. But using WebDAV as storage is straightforward. Good look, let us know where you land.

[–] IlIllIIIllIlIlIIlI 3 points 1 year ago* (last edited 1 year ago) (1 children)

I'm using it with ocr and it does highlight the search text and scrolls to it.

[–] [email protected] 1 points 1 year ago

U r right, it does highlight in the pdf. It did not on mobile for me.

[–] [email protected] 12 points 1 year ago* (last edited 1 year ago) (2 children)

Paperwork seems to fit most of the bill except for one thing: it won't scroll to where the search hit is (but it will highlight the matching keywords).

Just beware Paperwork won't just create an index. It'll organize the PDF its own way in its own work directory.

(full disclosure: I'm its main dev)

[–] [email protected] 2 points 1 year ago (1 children)

How does Paperwork compare to Paperless?

[–] [email protected] 3 points 1 year ago

Paperless is a web application. Paperwork is a desktop application.

[–] [email protected] 1 points 1 year ago (1 children)

Do you guys have a docker image or something that I could put on my homelab server?

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I think there is some confusion here.

Paperwork is a desktop application, not a web application. (eh, self-hosting doesn't necessarily always imply web applications ! :). I for one use Nextcloud and nextcloud-desktop to keep my Paperwork work directories in sync on all my computers.

[–] [email protected] 8 points 1 year ago

A very crude solution would be to merge all PDFs into a single file and just use the search of your favourite PDF viewer.

[–] [email protected] 5 points 1 year ago

Would paperless-ngx work?

[–] [email protected] 4 points 1 year ago

I haven’t used any of these, but I wonder if any of the self-hosted open source document management platforms would serve your purpose? Something like PaperMerge or similar?

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

So like self-hosted Spotlight? That would be cool

Or rather - FOSS Spotlight. I suppose it's already self hosted

[–] [email protected] 3 points 1 year ago

That's a very specific problem and I don't know if there is an existing solution that does exactly what you want.

paperless-ngx does a lot of the things you ask for, it lets you upload pdfs, does OCR and gives you full text search via a web ui. It's just not made specifically for manuals and it does not highlight the search hits or scrolls to them.

[–] harsh3466 3 points 1 year ago

This sounds like it could be a job for Calibre-web.

[–] [email protected] 2 points 1 year ago (1 children)

Does Nextcloud search PDF contents?

[–] [email protected] 2 points 1 year ago

Not by default, but I am relatively sure that the full text search extension does.

[–] KevinKraft 2 points 1 year ago

Elastic Search.

This sounds useful although I haven't tried it myself: https://stackoverflow.com/a/40614824

load more comments
view more: next ›