Skip to content

jdcb4/JDLauncher

Repository files navigation

JDLauncher

A static launcher page for JD's games and tools.

Edit Projects

Edit projects.json. Each project needs:

  • name
  • category: Game or Tool
  • description
  • url

Then run:

npm run build

The build writes:

  • index.html for opening locally
  • dist/index.html for Cloudflare Pages

The footer date is refreshed every time the build runs.

Manual Build And Deploy

Double-click build-and-deploy.bat.

It will:

  1. Install npm dependencies.
  2. Build the static page.
  3. Commit the changes.
  4. Push to origin main.
  5. Let Cloudflare Pages build and deploy from the GitHub push.

Cloudflare Pages

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_ID
  • CLOUDFLARE_API_TOKEN

The API token must include account-level Cloudflare Pages:Edit permission for the account that owns the jdlauncher Pages project.

About

Launchpad for JD's projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors