Docuverse
Ask your documents in plain language — every answer shows the passage it came from, and it all runs on your own server.
- Web app
- Self-hosted API and worker

Overview
Docuverse turns a folder of files into something you can question. Upload PDFs, Word files, Markdown, CSV or web pages; it reads and indexes every passage, then answers in plain language with numbered citations you can open — using open AI models that run on your own hardware, so the documents never leave your server.
The problem
The answer to a question is often buried somewhere in hundreds of contracts, records or archive files. Searching by hand takes hours, and a general AI chatbot either can't see private files or needs them sent to someone else's cloud — and rarely shows where its answer came from.
What we built
- 01
Upload a whole folder
Drop in files or an entire folder, sub-folders included. Uploads go up in batches, and a file already in the workspace is recognised by its fingerprint and skipped.

- 02
Watch it index, live
Every file shows queued, processing with a percentage, ready or failed as it happens, with a running count of the passages that are now searchable.
- 03
Answers with citations
Answers stream in word by word, each statement marked with a numbered source. The model is told to answer only from those sources and never to invent one.
- 04
Open the source
Click a citation to read the exact passage with the text around it, the file name and the page — or open the original PDF.

- 05
Private workspaces
Keep each collection in its own workspace, with its own saved conversations.
- 06
Runs on your hardware
A small open chat model and an embedding model run on the server's own CPU through llama.cpp. One setting switches to Ollama, any OpenAI-compatible server or Anthropic.
Under the hood
How a file becomes searchable
PDFs are read page by page so citations keep their page numbers, Word and HTML files are turned into text, and everything is cut into overlapping passages of about 250 tokens before it is embedded.
Two kinds of search, one database
Search by meaning (pgvector) and by keyword (PostgreSQL full-text) run side by side and are merged with Reciprocal Rank Fusion, so exact names and loose questions both find the right passage — with no separate vector database to run.
A queue behind every upload
A Redis-backed job queue indexes files in parallel with retries and back-off, and progress reaches the browser over a live server-sent event stream.
Built to be deployed
Hashed passwords, httpOnly session cookies, rate-limited sign-in, other people's workspaces answered with 404, and uploaded web pages never served inline.
Stack
- Next.js
- React
- NestJS
- PostgreSQL
- pgvector
- Redis
- BullMQ
- llama.cpp
- Ollama
- Anthropic
- Three.js
- GSAP
- Tailwind CSS
- Docker
automated tests across passage splitting, rank fusion and prompting
API endpoints, including two live streams
document formats it reads
Want something like Docuverse?
Tell us what you’re building. We’ll reply with how we’d approach it — scope, stack and a plan.
Next project
FlexRide
Car subscriptions approved on income, not credit — from browsing the fleet to picking up the keys.
