Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nowaalex/masters-parsed
- Owner: nowaalex
- License: mit
- Created: 2024-05-02T05:28:40.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-05-13T01:28:06.000Z (8 months ago)
- Last Synced: 2024-11-06T09:43:46.926Z (about 2 months ago)
- Topics: docker, docker-compose, fastify, headless-chrome, nginx, nodejs, parser, puppeteer, react, react-query, tailwindcss, typescript, vitejs
- Language: TypeScript
- Homepage:
- Size: 540 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.