Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

Node.js Deployment

Holocron builds a server-rendered application that runs on Node.js.

Build

npx vite build
This outputs a production bundle to dist/.

Start the server

node dist/rsc/index.js
The server listens on port 3000 by default.

Production setup

For a production deployment, you need:
  1. Build the site (vite build)
  2. Start the Node.js server
  3. Reverse proxy (nginx, Caddy, etc.) for TLS and domain routing

Example with Docker

FROM node:22-slim WORKDIR /app COPY package.json pnpm-lock.yaml ./ RUN corepack enable && pnpm install --frozen-lockfile COPY . . RUN pnpm build EXPOSE 3000 CMD ["node", "dist/rsc/index.js"]

Example with systemd

[Unit] Description=Docs site After=network.target [Service] Type=simple WorkingDirectory=/opt/docs ExecStart=/usr/bin/node dist/rsc/index.js Restart=on-failure [Install] WantedBy=multi-user.target

Environment variables

VariableDefaultDescription
PORT3000Server listen port