Thanks to visit codestin.com
Credit goes to github.com

Skip to content

PlutoyDev/sky-shards

Repository files navigation

Sky Shard Web Application

Open App

Description

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

Localizations

Google sheet link: Sky Shard Translation

Languages will be downloaded into src/i18n/locales.json from Google Sheets when the app is built.

Routes

Processed by Setting Context

  • / - Today's Shard Eruption page
  • /:lang - Translation
  • Relative day
    • /:lang/tomorrow or /tmr - Tomorrow's Shard Eruption page
    • /:lang/yesterday or /ytd - Yesterday's Shard Eruption page
  • /:lang/:year/:month/:day - Shard Eruption page for a specific date, For example:
    • /:lang/2022/12/31 Shard Eruption page for 31st December 2022
    • /:lang/2023/1/1 Shard Eruption page for 1st January 2023

Query Parameters

  • 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)

Development

Requirements:

Commands

Enable Corepack for pnpm

corepack enable

Install dependencies

pnpm install

Run the development server

pnpm dev

Build the project

pnpm build

Feedback & Issues

Feel 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.

License

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.

MIT

About

Web application for Shard Eruption in the game "Sky: Children of the Light"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published