Skip to content
All work
ProductAI · Documents· 2026

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
Docuverse’s home page on desktop and phone: “Ask your archive. Get the page it came from.” beside an answer that cites two archive files by page.

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

  1. 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.

    Docuverse’s Documents page for a sample town archive: four files, each indexed and ready to search.
  2. 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.

  3. 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.

  4. 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.

    A Docuverse answer about a footbridge, with its numbered citation opened beside it to show the exact passage from the archive.
  5. 05

    Private workspaces

    Keep each collection in its own workspace, with its own saved conversations.

  6. 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
26

automated tests across passage splitting, rank fusion and prompting

20

API endpoints, including two live streams

7

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.

FlexRide’s home page on desktop and phone: “Enjoy the freedom of driving without the commitment”, with a family in the back of an SUV.