Skip to content

Getting started

This guide gets an openPRM server running on a machine in your home.

  • A machine to run it: NixOS, or anything that runs Docker.
  • PostgreSQL 15 or newer. openPRM creates its tables itself on first start.
  • Optional, to turn notes into facts: Ollama with a tool-calling model such as gemma4:12b (the default).

Pick one of the deployment guides. Both set up the database and backups for you, and run openPRM next to tendant if you use both:

Running the bare binary? Set at least:

VariableWhy
DATABASE_URLThe Postgres database.
OPENPRM_OWNER_PASSWORD_HASHYour login. Make one with openPRM hash-password 'your-password'.
OPENPRM_CREDENTIALS_KEYopenssl rand -base64 32. Encrypts stored tokens; back it up separately from the database.

then start openPRM and check curl -fsS http://localhost:8080/healthz. See Configuration for everything else.

Open the web UI (http://<host>:8080, or your tailnet address) and sign in with the owner password, then start adding notes.

Next: learn how facts and sources work.