/masters-parsed

https://masterspl.com/ parser

Primary LanguageTypeScriptMIT LicenseMIT

Masters parser

This utility parses https://masterspl.com/ website with the help of headless chrome and provides more beautiful matches statistics.

Installation

  1. Clone this repository (if you know how) or select master branch, download all files and extract downloaded archive masters howto clone

  2. Open the folder with extracted files

  3. Create empty file named .env and paste everything from .env.template into it

  4. Install docker

  5. Open console in the extracted archive directory

  6. Run docker compose build

Usage

  1. Open console in the extracted archive directory

  2. Run docker compose up and leave console opened

  3. Open browser and go to http://localhost

  4. To kill all running services press Ctrl+C in the console. After this console could be closed.

Caution

Remember to kill running services, they may consume memory/battery.

FAQ

Why it is not deployed?

  1. I am lazy

  2. Free hosting plans are too limited to run it

How exactly are bonuses calculated?

getMatchBonus function is responsible for calculating a bonus for a single match.