Compute the color, time and location of Shard Eruptions in the Game "Sky: Children of the Light".
Shard is computed as described in Shard Prediction Rule and calculated here
Google sheet link: Sky Shard Translation
Languages will be downloaded into src/i18n/locales.json from Google Sheets when the app is built.
Processed by Setting Context
/- Today's Shard Eruption page/:lang- Translation- Available languages are in Google Sheet
- Relative day
/:lang/tomorrowor/tmr- Tomorrow's Shard Eruption page/:lang/yesterdayor/ytd- Yesterday's Shard Eruption page
/:lang/:year/:month/:day- Shard Eruption page for a specific date, For example:/:lang/2022/12/31Shard Eruption page for 31st December 2022/:lang/2023/1/1Shard Eruption page for 1st January 2023
gsTrans- Fetch Google Sheet Translation (1|0)twelveHour- Display time in 12-hour format (true|false|system)lightMode- Light mode (true|false|system)timezone- Timezone IANA Timezone (string)fontSize- Font size (1 decimal point) (number)numCols- Number of columns in the table in date selector (number)
Requirements:
Enable Corepack for pnpm
corepack enableInstall dependencies
pnpm installRun the development server
pnpm devBuild the project
pnpm buildFeel free to open an issue or pull request for any feedback or issues. No need to be formal, just let me know what you think. I will try to respond as soon as possible.
TL;DR: You can do whatever you want with the code. A link back to this repository or website would be appreciated.
Important
Assets located in /public/infographics/*, /public/ext/* & /public/emojis/* are not covered by this license as they are not created by me.