this commit is a lie

This commit is contained in:
2023-12-02 00:48:33 +01:00
commit 65d9a8e282
8 changed files with 419 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# Star Stable Timer
## Setup
Put your favicon to `src/favicon-32x32.png` and your page background to `src/background.jpg`
Perform the championship time update.
## Updating Championship Times
[The official site](https://www.starstable.com/game/championships) 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:
```sh
cd data
php championships-to-json.php
```
Once the command completes, you have the latest schedule ready to use.