Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nowaalex/masters-parsed

https://masterspl.com/ parser
https://github.com/nowaalex/masters-parsed

docker docker-compose fastify headless-chrome nginx nodejs parser puppeteer react react-query tailwindcss typescript vitejs

Last synced: 9 days ago
JSON representation

https://masterspl.com/ parser

Awesome Lists containing this project

README

        

# Masters parser

This utility parses [https://masterspl.com/](https://masterspl.com/) website
with the help of [headless chrome](https://developer.chrome.com/blog/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](public/masters-howto-clone.png)

2. Open the folder with extracted files

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

4. Install [docker](https://docs.docker.com/get-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](frontend/src/utils/getMatchBonus.ts) function is responsible for calculating a bonus for a single match.