Scaffolder and kit for Blit-Tech games. This monorepo holds two published packages:
create-blit-tech(packages/create-blit-tech) - thenpm create blit-techscaffolder. Asks a couple of quick questions, then writes a ready-to-run game project.@blit-tech/kit(packages/kit) - the canonical AI docs (AGENTS.md+ localdocs/) plus the project-localblitCLI (run,doctor,upgrade).
npm create blit-tech@latest my-game
cd my-game
npm install
npm run devThe scaffolder auto-detects whichever package manager you used (npm, pnpm, yarn, bun).
The command above needs Node.js - a free program that runs JavaScript on your computer. The instructions live here, on this page, on purpose: a brand-new project cannot teach you to install the thing it needs to exist. One-time setup:
- Go to nodejs.org and download the button marked LTS ("the stable one").
- Install it like any other app: keep clicking Next or Continue.
- Open a terminal (your editor has one built in - in Zed or VS Code, look for "Terminal" in the menu). If the editor was already open, quit and reopen it first so it notices Node.
- Now run the Quick start commands above, one line at a time.
A zero-install path that runs entirely in the browser (StackBlitz) is planned; once it ships, this section will lead with it.
Starting someone else off? Copy and paste this message:
Want to make a little pixel game? First install Node.js: go to nodejs.org, download the LTS button, and install it like any app. Then open the terminal inside your editor and type these three lines, pressing Enter after each:
npm create blit-tech@latest my-game, thencd my-game, thennpm run dev. A web address appears - open it in your browser and you are playing your own game. Opensrc/game.jsto change it; every line has a comment that explains itself.
pnpm install
pnpm run build # build both packages with tsup
pnpm run typecheck # tsc --noEmit per package
pnpm run test # scaffolder smoke test (needs a build first)
pnpm run preflight # format:check + lint + typecheck + spellcheck + knip + docs:links + build + testCI (.github/workflows/ci.yml) runs the same checks on every push and pull request to main.
v0.1 (phase 1): JavaScript scaffold, the Catcher starter game, local docs, and the blit CLI. No AI-agent config is
generated yet (the project ships a readable AGENTS.md); TypeScript templates and per-agent generation arrive in later
phases. See the design doc in the parent workspace for the full roadmap.
Publishing to npm is a deliberate, manual step and is not automated here.