Pages serves the site
Everything in public/ is static HTML, CSS, and JavaScript. No build system, server, or database is required.
STATIC / EDITABLE / YOUR DESIGN
This is a small, hand-coded shell. Replace the copy, layout, colors, and catalog with your own design; Cloudflare Pages serves the site while R2 supplies public audio previews.
To enable previews, set previewBaseUrl in assets/config.js and add tracks in assets/catalog.js.
BEAT CATALOG
assets/config.js, add each preview path in assets/catalog.js.ARCHITECTURE
Everything in public/ is static HTML, CSS, and JavaScript. No build system, server, or database is required.
Host short, lower-bitrate MP3 previews on a public R2 custom domain. The browser player reads those paths from the catalog file.
Never upload masters, WAVs, stems, or paid files to the public-preview bucket. Private delivery needs a future checkout plus controlled download links.
OWNER HANDOFF
public/index.html
Write your brand story, update sections, and replace this starter structure with your own art direction.
public/assets/catalog.js
Add titles, tags, BPM, key, preview paths, and any outgoing purchase link you choose to use later.
public/assets/config.js
Set the public R2 custom-domain URL once, then keep every preview path tidy and relative.