How it works
Retrobic Labs turns any browser project into a live address like your-lab.retrobic.com. Here is the full path from push to page.
1. Push
Each lab is a folder with an index.html and a small retrobic.json manifest (title, tagline, category, maker). Pushing to the main branch starts a GitHub Actions workflow that only deploys the folders that changed.
2. Isolated build
Every lab gets its own Cloudflare Pages project, so deploys are atomic, cached on Cloudflare's global network and fully isolated from other labs.
3. Edge routing
A single wildcard DNS record points every *.retrobic.com name at an edge router. The router reads the subdomain, checks it against reserved names, looks it up in a key-value registry and proxies the request to that lab, keeping the path and query string. Unknown names get a friendly "lab not found" page with a button to claim them.
4. Discovery
After each deploy the portal rebuilds from the registry: a project page, a share card image, category and collection pages, and the sitemap all update automatically.
How ranking works
Trending score = (weekly upvotes × 3 + all-time upvotes + remixes × 4 + 1) ÷ (age in days + 2)0.8. Weekly votes and remixes count extra because they show momentum. The age decay lets a great new lab overtake an older one. Lab of the Week is the lab with the most upvotes in the last seven days, announced every Monday.
Votes and privacy
One vote per lab per visitor. We store a salted one-way hash instead of your IP address, cap votes per visitor per hour and only accept votes from this site. No accounts, no tracking cookies.
Questions
How does a lab get its own subdomain without DNS changes?
One wildcard DNS record (*.retrobic.com) sends every subdomain to an edge router. The router reads the subdomain, looks it up in a registry and serves that lab's deployment. Adding a lab is a registry write, not a DNS change.
Is every lab isolated?
Yes. Each lab is deployed to its own Cloudflare Pages project, so one lab cannot overwrite another lab's files.
How are votes protected from abuse?
One vote per lab per visitor, a per-visitor hourly cap, same-site checks, and no raw IP addresses are stored, only a salted one-way hash.