Fetch and archive the New York Times crossword leaderboard
GPL-3.0 License
Fetch and archive the New York Times crossword leaderboard - crossword.rowanmanning.com.
Install Hugo
Clone this repo locally and initialise submodules:
git clone https://github.com/rowanmanning/crossword.git && cd crossword && submodule init && git submodule update
Install dependencies with npm install
Run npm start
Visit http://localhost:1313/
Times should rarely (if ever) be manually added or edited. Some cases where this is fine to do:
If someone reports that the time on the site isn't their actual time (normally it's an extremely fast time less than 10 seconds), that's a glitched time. If a time is marked as glitched, it retains all the awards and position on the leaderboard, but no longer counts towards the best or average times for that person.
Once a day is over you can modify the times for that day (doing so before a day is over will result in your changes being overwritten).
To mark a time as glitched, find the offending time in data/leaderboards
and add a "isGlitch": true
property to the JSON for that time. Then run the page generation script with:
./scripts/generate-pages.js
Commit all of the changes, yours and the ones made by the script.
The contributing guide is available here. All contributors must follow Crossword's code of conduct.
Licensed under the GPLv3 license. Copyright © 2021, Rowan Manning.