jevstrudel.git / nix / README.md
1# nix
2
3`strudel.nix` builds jevstrudel from this repo (the flake passes `self`):
4
5- `site` — the Astro REPL, built offline from its pnpm lockfile.
6- `static` — the built site alone: what `nix run .#deploy` publishes.
7- `worker` — `worker/` with a `node_modules` holding exactly its
8  dependencies' closure (`worker-closure.mjs`, from the installed
9  workspace): what `nix run .#deploy` uploads and the `worker-types` check
10  reads, so a copy of it bundles without the rest of the repo.
11- `mcp` — `strudel-mcp`, the stdio MCP server `.mcp.json` runs. It is a
12  stateless proxy to the MCP hub in the jevstrudel Worker (`worker/`), and
13  needs only Node, not the built site.