b76d4c7d2a
Since PHP is no longer needed for hosting.
1020 B
1020 B
Star Stable Timer
Setup
- Put your favicon to
src/favicon-32x32.pngand your page background tosrc/background.jpg - Perform the championship time update
- Install PHP 8 or newer (only needed for the data processing step
- Make sure to keep the asset/folder structure intact when hosting
Updating Championship Times
The official site has the times published as images, so it isn't really possible to fetch them without OCR, and even then the publised times are quite out of date usually...
Since most other sources are outdated too, you will have to hand-type your championship times. Save them into data/championships.txt in the following format:
The Something Championship
Monday: 00:10, 02:00, 03:30
Tuesday: 09:00, 10:00
Somewhere Else
Tuesday: 01:30, 01:50, 01:59
Wednesday: 02:00, 03:00, 04:00
Then execute:
cd data
php championships-to-json.php
Once the command completes, you have the latest schedule ready to use.