No-host mode

Run duodoc entirely on your laptop. No account, no internet, no third-party processors. Storage is pglite — an embedded Postgres in WASM, file-backed in .duodoc/duodoc.pg/. Same schema and SQL as the hosted version; the only difference is where the bytes live.

When to use it

Quickstart (v1)

# 1. Clone the repo (v1 needs the Next.js source; standalone binary in progress)
git clone https://github.com/aagarwal-gtr/duodoc.git
cd duodoc && npm install

# 2. Run the local-only server
npm run nohost:serve
# or, if you have @duodoc/cli installed globally:
duodoc serve

# 3. Open http://localhost:3000

On first run the server creates .duodoc/duodoc.pg/ and applies migrations. Subsequent launches reuse the existing DB and your docs persist across restarts.

What changes vs. hosted

Roadmap