Leaf Arcade application source — GPL-3.0-or-later Download website-source.tar.gz beside this file. It contains the current application source, LICENSE, LICENSING.md, build scripts, pinned npm lockfile, tests, and the preferred TypeScript sources for chessops and @badrap/result. No GitHub account, production credentials or private user files are required. Third-party code retains its existing licenses; the CLI remains MIT. Build with Node.js 24, npm and Python 3.11 or later: tar -xzf website-source.tar.gz cd leafarcade npm ci python3 scripts/restore-public-assets.py --base-url https://leafarcade.com/ npm run build:web npm run preview The asset restoration downloads roughly 10 GiB, including separately licensed games, binary engines, notices and their corresponding source packages. Existing files with matching checksums are reused. Use the immutable Pages deployment URL from which you downloaded this source as --base-url when rebuilding an older release; every downloaded file is checked against public-assets.json. To inspect the website code, no asset download is needed. To rebuild the variant rules alone: npx esbuild lib/multiplayer/chess-variants.ts --bundle --format=esm --outfile=variants.js Public optional-service settings are listed in .env.example. Leave them blank for local anonymous play. Setting up your own optional account, multiplayer or payment services is separate from building the static frontend. Never put secret keys in NEXT_PUBLIC variables. This download does not contain those providers' server implementations or externally loaded scripts. This is a source/build distribution, not a claim that all games, assets or external scripts are libre. Custom-domain HTML transformations can change asset bytes; prefer the matching immutable Pages deployment URL when restoring assets. After the static export, scripts/version-static-assets.mjs adds a content-hash query (?v=...) to the script and stylesheet URLs of static game documents in out/, so those documents differ from public/ only in those URLs. Source archive SHA-256: 51c54545d4041fa8b1939930c301dbce3df96555118cd89c1b5cc3e2aa151f1a