loading…
QR codes on physical releases point at the public URL shown on each card.
RELEASES
ADD A RELEASE
- Copy
public/assets/data/albums/iomega-001.jsonto a new file (e.g.omega-three.json). Updateslug,title,catalog,tracks. - Add an entry to
public/assets/data/catalog.json. - (Optional) Drop placeholder cover/label SVGs at
public/assets/img/placeholder/<slug>-cover.svgand-label.svg. - Upload
intro.webm,label.png,cover.jpg,tracks/*.flac, and the FLAC zip to your R2 bucket under a folder named<slug>. - Set
remote_basein the album JSON tohttps://cdn.iomega.tld/<slug>. The release flips from SCAFFOLD to LIVE. - Generate a QR code from the public URL on the release card and send to the printer.
REDEMPTION CODES
- Every physical unit ships with a unique code (
IOM001-XXXX-XXXX) printed on the insert. Buyers redeem it on the album page to claim the disk into their collection at/deck. - One-time setup: create the D1 database (
wrangler d1 create iomega), applydb/schema.sql, bind it asDBin the Pages project, and set anADMIN_KEYsecret. - Generate a batch per pressing:
curl -X POST https://<site>/api/admin/generate-codes -H "x-admin-key: $ADMIN_KEY" -d '{"slug":"iomega-001","prefix":"IOM001","count":500,"edition_size":500}'— returns a CSV for the print shop. Unit numbers continue across pressings. - Local dev has no backend: on
localhostany well-formed code with the right prefix redeems in simulation, so the whole flow is testable before deploy.