Hype StackHypeStack

Use case

Open Source Document Management

Choosing open source for document management is usually a decision about where the files live, not about the licence fee. That framing makes the comparison much easier.

People look for open source document management for reasons that are worth separating, because they lead to different choices. Some want to avoid a per-seat subscription. Some cannot put documents on somebody else's infrastructure. Some want to know they can still open their archive in fifteen years. Only the second and third are really about open source; the first is about price and is often answered by a free tier instead.

We sell source code you clone and run yourself, so we are in the same broad family, though not a document product. This page is about the category first.

The reasons, and what each actually implies

Why does it need to be open source?

The documents cannot leave our infrastructure

Self-hosting is the requirement. Open source is one way to get it.

  • Data residency, client confidentiality, or a security policy that forbids third-party storage
  • Some commercial products also offer self-hosted deployments, so open source is not the only route
  • The real cost is operational: backups, upgrades, storage growth, and the search index
We want to avoid subscription lock-in

Check the exit path rather than the licence.

  • What matters is whether documents and metadata come out in a usable form, which some commercial products do well
  • Self-hosting trades a licence cost for staff time, which is not automatically cheaper
  • A free tier of a hosted product may answer this more cheaply than running a server

If the answer is the first branch, the shortlist is short and the decision is mostly operational. If it is the second, widen the comparison to include hosted products.

What to evaluate, beyond the feature list

Open source document systems vary more in operational character than in features, and the features are rarely what causes regret.

Ask these before installing anything

  • Where do the files actually goFiles on a local disk mean your backup strategy is the whole strategy. Object storage is generally the better answer, and whether the system supports it decides how you scale and how you recover.
  • What runs the search indexFull text search over documents usually means a separate service such as Elasticsearch or Solr, which is another thing to run, monitor, and reindex. Some systems use the database instead, which is simpler and slower.
  • How do OCR and previews workScanned documents are useless without text extraction, and preview generation is CPU-heavy. Both usually run as background workers, and both are where a small server becomes an inadequate one.
  • What does the upgrade path look likeRead the release notes for the last two major versions. A project that requires manual migration steps and a reindex on every major release is a commitment, not an installation.
  • Is the whole thing under one licenceSeveral projects in adjacent categories keep enterprise features under separate terms in the same repository. Check the licence on the specific features you need and on the artifact you intend to deploy, not just the badge on the front page.

The last one catches people out repeatedly. Source-available and open source are different things, and both often live behind the same clone.

Storage growth is the cost nobody models

Documents accumulate, versions multiply them, and previews and extracted text add more. An archive that starts at fifty gigabytes is not going to stay there, and the backup of it grows at the same rate.

Before choosing, work out roughly how much you add per year and multiply by the number of years you are required to retain. That number, rather than the licence, is usually what determines whether self-hosting is sensible.

When you would build rather than install

Installing an existing system is nearly always right for a general repository, because the boring parts, OCR, previews, versioning, permissions, are done and tested.

The case for building is documents that belong to a process rather than to a library. If every document arrives attached to a case, a claim, a client matter, or a compliance requirement, then a general repository is the wrong shape and integrating one is often more work than storing files against the record they belong to.

What you would start from here

There is no document management in this stack, and no storage, versioning, OCR, previews, or search over document contents.

What the Vault template provides is the application documents would attach to: organizations as the boundary, roles and invitations so access is scoped, a Hono backend with Prisma and Kysely on Postgres, and an admin app. Since the whole point of this search is usually self-hosting, it is worth being clear that this is source you run on your own infrastructure, with no per-seat pricing between you and your users, which is the same property people come to open source document systems for.

You would write the document and version records, put the files in object storage with the database holding the pointer, enforce permission checks at the point the file is served rather than only in the interface, and add extraction or preview generation as background work if you need it. Postgres full text search will carry you further than expected before a dedicated search service is justified.

If you need a general repository, install one of the established projects. The packs below are for documents that belong to a process you are building.

Hype Stack

What is Hype Stack?

Every product starts with the same month of work nobody pays you for: sign-up and login, teams and permissions, taking payments, notifications, an admin panel to run the business. Hype Stack is that month, already built and tested. Start from the free open-source app, add the pieces you need with one command, and keep going on the part that is actually your idea.

Everything lands as real code in your own repository, so there is nothing to rent and nothing anyone can switch off. For the engineers: React 19, Hono, Postgres, and a desktop build, typed end to end.

See it running

Templates are curated project starters built on this stack: a layout, feature packs, a custom theme, and bonus pages. The previews below are recordings of the real apps.

Packs in this stack

Every pack ships real source code: frontend, backend, and admin surfaces where the feature needs them. The ones this stack installs come first; the rest can be composed in later.

Two ways to install features

Same features underneath, different starting point. Either command resolves what the packs depend on, copies the source into your repository, and merges the Prisma schema.

Ready-made

Take a template

A landing page, a design system, a themed layout, and the features already wired into it. Rebrand it, put your product in the middle, ship.

$npx @hype-stack/cli template
Browse templates
From scratch

$ hype-stack compose

AuthPayments

Compose your own design

Your design and your choices, without rebuilding auth, billing, or notifications. Tick the packs you want and the CLI wires them into the open-source starter.

$npx @hype-stack/cli compose
Browse packs

Questions, answered

Three different reasons that lead to different choices. Documents cannot leave your infrastructure, in which case self-hosting is the requirement and open source is one route. Avoiding subscription lock-in, where checking the export path matters more than the licence. Or long-term access to an archive.

More stacks

Turn your ideas into
Real applications.

Start free and own every line you ship. When you want more, one All-Access license unlocks every premium pack and template for a year.

All premium packsEvery template12 months of updates
Get All-Access