doc.haus Atlas Legal-document workflows on OpenCode, bound to their code
237 documents

Newcomer onboarding

From zero to a running doc.haus checkout: what the product is, how to boot it, how to contribute, and which rules govern every change.

Start locally

One command installs Git if it is missing, downloads doc.haus to ~/doc-haus (or DOCHAUS_DIR) and starts it. Run it again to start doc.haus later.

curl -fsSL https://doc.haus/install.sh | bash

On Windows, run this in PowerShell:

irm https://doc.haus/install.ps1 | iex

These run scripts/install.sh and scripts/install.ps1. To install by hand, install Git, clone this repository, then run:

git clone https://github.com/sure-scale/doc-haus.git
cd doc-haus
./start.sh

On macOS, the installer adds doc.haus to Applications. Clicking it opens the running installation or starts it in Terminal when needed, then the launcher exits. Chrome-family browsers and Safari can reuse an existing doc.haus tab without leaving the matter you have open; macOS asks for Automation permission first. Other browsers, denied access, or multiple browser instances use normal URL opening. Terminal keeps the local services running; if you stop them, click doc.haus to start again. The app keeps data-directory and engine, ingest or web port overrides selected during installation. Separate copies have separate settings and matters; the app does not import another copy's setup. After updating an existing installation, run the installer again to refresh an older Mac shortcut.

The launcher checks for Bun 1.4.0 or newer and the document tools (Deno 2, Python 3.10+, markitdown, Poppler, Tesseract, LibreOffice Writer and the Carlito font). It lists anything missing or out of date and offers to install it; press Enter to accept. macOS uses Homebrew (offered first if absent); Linux uses apt-get, dnf or pacman. The launcher then installs frozen dependencies and opens the web app at http://localhost:5174. It runs engine, ingest and web on separate local ports. A new installation needs no credentials to boot. Accept the launch notice, choose a provider (detected options appear first), connect with its offered sign-in method and detected defaults, then confirm primary/fast models in setup. Research and firm or jurisdiction details are optional. The last step can add a fictional sample matter to explore. Opening setup does not make a paid model request; connection tests run only when requested. Provider access and quota remain subject to the provider's account and organization policies.

Only Bun is required, and the launcher installs it. The stack starts without declined tools, and a declined set is not offered again until another tool goes missing. The container includes every tool. See setup.