Source code for cyroz.net.
index.html- main links pagebeats.html- beats pagesetup.html- setup pagesettings.html- settings/downloads page
Install dependencies and build the static Worker assets:
npm install
npm run buildPreview the generated site with Wrangler:
npm run previewOr preview the static build output with a simple local server:
python3 -m http.server 8080 -d distThen visit http://localhost:8080.
This repository is configured for Cloudflare Workers Static Assets in wrangler.jsonc.
Commits to main deploy through Cloudflare Workers Builds. In Cloudflare:
- In Cloudflare, create a Worker connected to this GitHub repository.
- Use
/as the root directory. - Use
npm run deployas the deploy command. - After the Worker deployment is live, disable GitHub Pages for this repository.
To serve cyroz.net, add the domain to Cloudflare DNS, update the registrar nameservers to Cloudflare's nameservers, and then attach cyroz.net to the cyroz-net Worker from the Worker's Domains tab.
For a local deploy validation without publishing:
npm run check