blaseball-vcr is a project to miniaturize blaseball history.
it works by downloading data from the Society for Internet Blaseball Research's Chronicler API, storing it as a series of compressed 'patches', and then decompressing the data needed at runtime.
firstly, you need the data. you can either download a pre-built one (extracts to about 600MB) or build your own dataset with:
cargo build --release
mkdir -p tapes/site_data
./build.bash
./target/release/build_games -d zstd-dictionaries/game_updates.dict -l <compression level> -t <number of threads to use> tapes
(note that this may take a while)
then, you can replay the data using the 'server' binary. it'll expose an API that mimicks Chronicler V2, making it compatible with tools like before. make sure to set up a Vcr.toml file like the one in this repository!