https://github.com/genzrizzcode/cube-prices
Compare Cube Prices Among Multiple Sources
https://github.com/genzrizzcode/cube-prices
Last synced: 14 days ago
JSON representation
Compare Cube Prices Among Multiple Sources
- Host: GitHub
- URL: https://github.com/genzrizzcode/cube-prices
- Owner: genZrizzCode
- License: mit
- Created: 2026-05-30T18:23:39.000Z (14 days ago)
- Default Branch: main
- Last Pushed: 2026-05-30T20:27:43.000Z (14 days ago)
- Last Synced: 2026-05-30T21:14:30.581Z (14 days ago)
- Language: JavaScript
- Size: 43 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cube Prices
Cube Prices is a simple static website for comparing speed cube prices across major stores.
## What it does
- Compares cube listings across stores like Cubers Shop HK, SpeedCubeShop, TheCubicle, ZiiCube, PicubeShop, KewbzUK, and GANCUBE
- Normalizes prices into USD for easier comparison
- Lets you search by cube name or store
- Highlights the lowest normalized price in the current view
## Files
- `public/index.html` - page structure
- `public/styles.css` - visual design and responsive layout
- `public/main.js` - frontend rendering and catalog filtering
- `worker.js` - Cloudflare Worker that scrapes public catalogs and serves `/api/catalog`
- `wrangler.toml` - Cloudflare deployment config
- `LICENSE` - MIT license
## Run locally
For local static preview, open `public/index.html` directly in a browser.
Example:
```bash
python3 -m http.server 8000
```
Then visit `http://localhost:8000`.
## Notes
- The catalog is built automatically from public store pages and cached at the edge.
- Cloudflare Workers can refresh the catalog from public pages without needing each store to provide a custom API.
- Always verify stock, shipping, and final checkout totals on the official store before buying.
- To force a rebuild after deploy, hit `/api/catalog?refresh=1`.