jevstrudel.git / nix / README.md

nix

strudel.nix builds jevstrudel from this repo (the flake passes self):

  • site — the Astro REPL, built offline from its pnpm lockfile.
  • static — the built site alone: what nix run .#deploy publishes.
  • worker — worker/ with a node_modules holding exactly its dependencies' closure (worker-closure.mjs, from the installed workspace): what nix run .#deploy uploads and the worker-types check reads, so a copy of it bundles without the rest of the repo.
  • mcp — strudel-mcp, the stdio MCP server .mcp.json runs. It is a stateless proxy to the MCP hub in the jevstrudel Worker (worker/), and needs only Node, not the built site.