A static launcher page for JD's games and tools.
Edit projects.json. Each project needs:
namecategory:GameorTooldescriptionurl
Then run:
npm run buildThe build writes:
index.htmlfor opening locallydist/index.htmlfor Cloudflare Pages
The footer date is refreshed every time the build runs.
Double-click build-and-deploy.bat.
It will:
- Install npm dependencies.
- Build the static page.
- Commit the changes.
- Push to
origin main. - Let Cloudflare Pages build and deploy from the GitHub push.
Recommended Cloudflare Pages settings:
- Project name:
jdlauncher - Production branch:
main - Build command:
npm run build - Build output directory:
dist - Deploy command:
npm run deploy - Node version:
22
You can connect the GitHub repository directly in the Cloudflare dashboard. After that, every push to main deploys automatically.
The deploy command uses Wrangler direct upload, so the Cloudflare project must have these environment variables:
CLOUDFLARE_ACCOUNT_IDCLOUDFLARE_API_TOKEN
The API token must include account-level Cloudflare Pages:Edit permission for the account that owns the jdlauncher Pages project.