https://serecola.github.io/bad-emq-players/
precompute.py reads the dump once and writes a tiny JSON file per player
into a data/ folder. The web app fetches only the file for the player being
looked up (a few KB), so users never download the full dataset.
your-repo/
├── index.html
├── data/
│ ├── 1.json
│ ├── 27.json
│ ├── 42.json
│ └── ...
└── README.md
python precompute.py --file songhistorydump.txt
# writes data/1.json, data/27.json, etc.Optional flags:
--out data # output directory (default: data/)
--limit 100 # max results per player (default: 100)git add index.html data/ README.md
git commit -m "add song history app"
git push- If a player ID has no data, the app shows a clear "not found" message.
- To update data, re-run
precompute.pyand push the newdata/folder.