This project is configured to run a static React frontend on GitHub Pages (docs/) while the live aggregator API runs as Netlify Functions.
How it works:
- Frontend is served from
docs/(GitHub Pages). - Live normalized leaderboards are provided by Netlify Functions at
/.netlify/functions/leaderboard.
Deployment options:
- Deploy frontend to GitHub Pages as
docs/as before. - Deploy this repo to Netlify to get the functions running (Netlify will build and serve functions from
netlify/functions).
Secrets:
- Add
HYPIXEL_API_KEYto Netlify Site > Settings > Build & deploy > Environment.
Notes:
- The function includes scraping fallbacks for MCTiers, MCSRanked, Subtiers, PvP Tiers — these use generic selectors and may require tuning for each site.
- Respect Terms of Service and robots.txt for each target site.