This utility parses https://masterspl.com/ website with the help of headless chrome and provides more beautiful matches statistics.
-
Clone this repository (if you know how) or select
master
branch, download all files and extract downloaded archive -
Open the folder with extracted files
-
Create empty file named
.env
and paste everything from.env.template
into it -
Install docker
-
Open console in the extracted archive directory
-
Run
docker compose build
-
Open console in the extracted archive directory
-
Run
docker compose up
and leave console opened -
Open browser and go to http://localhost
-
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.
-
I am lazy
-
Free hosting plans are too limited to run it
getMatchBonus function is responsible for calculating a bonus for a single match.