mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-28 18:08:15 +03:00
* feat: initial ongeki support * feat: initial ongeki seeds * chore: link to a basic score exporter * fix: unhardcode the colSpan of score dropdowns Fixes ongeki and doesn't break chunithm * fix: make bellCount optional to match judgements and damage * docs: add a page for Ongeki * feat: ongeki seeder * feat: implement isHot Also restore Arcaea to test.conf.json5 (it was a mistake) * fix: add isHot to the seeder * fix: proper handling of re:masters Also change non-full-bell from an empty string to "NONE", for clarity * docs: document the re:master fix * feat: update rg-stats to 0.5.5 enables ongeki calcs * chore: lockfile * fix: get rid of scales as they're unused * fix: update name->NAME * minrelevantvalue should be one of the values? * fix: add property that must be there? * fix: jesus christ the tests are loud * better docs on mrv * fix: remove platdelta, make platscore optional * fix: grade B tests oh my god * fix: rating check * fix: pb merge check * fix: pb merge check #2 * fix: use nowrap in all lamp cells * fix: tidy up platcell * fix: all of these MUST be part of scoreID * fix: remove unused code * feat: remove note counts & isHot * chore: bump rg-stats --------- Co-authored-by: zkldi <20380519+zkldi@users.noreply.github.com>
Tachi Client
Tachi-Client is the frontend for Tachi.
Setup
Run pnpm install to install dependencies.
Dev Server
pnpm start launches a development server for rapid iteration. Use this if you're developing.
Building
pnpm build compiles the source code into build/. This directory can then be shipped around and
served by tools like nginx. This should be used for production use cases only, as
compiling the client takes around 20-30 seconds, whereas the dev server is near instant.
Config
For local development, use the bootstrap.sh script in ../_scripts to set everything up.
Other configuration variables are as follows:
# Stop react from launching a browser when you run pnpm start.
BROWSER="none"
# KAI API Client IDs.
VITE_EAG_CLIENT_ID=""
VITE_MIN_CLIENT_ID=""
VITE_FLO_CLIENT_ID=""
# How long users should have to read the rules for, in seconds.
# Defaults to 30, but useful to lower for localdev.
VITE_RULES_READ_TIME=30
# Whether to require login to view the site.
VITE_MANDATE_LOGIN=true
# What git repo to read from by default in the seeds viewer.
VITE_GIT_REPO=""
# What client mode to use. Should be boku, kamai or omni.
# This affects some things, like what buttons should appear in certain places and what colours the site should be.
VITE_TCHIC_MODE="omni"