Turning a pile of documents into a searchable useable knowledge base

github.com

135 points by linuxrebe1 13 hours ago


linuxrebe1 - 13 hours ago

I had an issue. A documents folder with over 12k objects in it. A hodgepodge of folders and sub-folders. That over time had created a mess that no amount of file movement was ever going to make it usable. I wanted: 1) To keep my data local 2) be able to filter out PII and other data 3) Be able to find and delete duplicates 4) Get short synopsis of what a document is 5) Semantic and keyword search 6) All of this kept local to me requiring no internet access and no tokens spent to train someone elses AI.

The result I call DocuBrowser and in it's current form is FOSS (GPL-3) licensed for your personal use. The UI is in your browser. The AI models used are held local and are tiny, Available for Linux(RPM,Deb, and tgz) Windows and Mac. Let me know what you think and thanks for taking the time to try it out.

kamranjon - 23 minutes ago

Wanted to share Antfly which I think serves a similar niche:

https://antfly.io/ https://github.com/antflydb/antfly

They’ve put a lot of effort into optimizing the local llm pipelines and I have a lot of faith in the devs working on it.

karmakaze - 5 hours ago

I learned a solution is to turn the documents into vectors in say PostgreSQL (with pgvector) and do a cosine similarity search with a search vector. Doing a search for embed models on HuggingFace shows nomic-ai/nomic-embed-text-v1.5 and Qwen/Qwen3-Embedding-0.6B. I might have used a larger one like Qwen/Qwen3-Embedding-4B.

There's some info for AnythingLLM[0] which supports RAG. AnythingLLM has LanceDB out of the box but also supports others including pgvector.

[0] https://docs.anythingllm.com/features/embedding-models

asciimoo - 11 hours ago

We need projects like this. Automatically classifying the files is smart.

I'm working on a similar application called Hister (https://github.com/asciimoo/hister). I should borrow some of your ideas. =]

nickweb - 2 hours ago

Honestly. This with Paperless-NGX might be game changing if both pointed to the same folder.

mune2gu-chan - 3 hours ago

Not a fan of pushing every personal document to someone else's cloud. Nice to see a tool that keeps everything on disk instead.

NKosmatos - 11 hours ago

Looks good, definitely going to try it. Extra thanks for creating something fully local, we need more projects like this one!

Avery29 - 6 hours ago

The hardest part of these projects is usually not making documents searchable

aucisson_masque - 12 hours ago

I'm a huge fan of recall, going to test this out. This looks very interesting.

jphorism - 9 hours ago

Nice, what are you hoping to accomplish with this project?

drizzler - 9 hours ago

I just installed this and, after a few hiccups, got it up and running on my Ubuntu system. Works great, looks great. Thank you for this. Half of my documents are OpenDocument format. Is there any chance you'll be supporting ODF in the future?

toomuchtodo - 11 hours ago

How do you feel about supporting an S3 compatible target as a feature request?