Run locally
Prerequisites
Section titled “Prerequisites”Install Go 1.27.1 or later in the 1.27 series, Node.js 24 or later, npm, and ffmpeg with ffprobe. The normal gate uses local fixtures and needs no provider key.
Install and check
Section titled “Install and check”From the repository root, download Go modules and install the overlay dependencies once. Then run the offline gate.
go mod downloadcd web && npm ci && cd ..GOCACHE=/tmp/receipts-go-cache ./tools/check.shStart the fixture server
Section titled “Start the fixture server”Build the overlay and server, then run the fixture mode.
./tools/build-web.shgo build -o bin/receipts ./cmd/receiptsRECEIPTS_MODE=fixture ./bin/receipts serveOpen http://localhost:8080 in a browser. Fixture mode does not load credentials or call Twitch or OpenAI.
Build this documentation site
Section titled “Build this documentation site”Install the pinned site dependencies, then build and check generated routes and assets.
cd sitenpm cinpm run buildnpm run check:linksGitHub Pages builds this site with /receipts as its default base path. Set SITE_BASE=/ and SITE_ORIGIN=https://docs.example.org for a root-domain build.