Skip to content

⚔️ Libre:Match Collector - polling, diffing, parsing and converting data from the Relic Link API for storing in Libre:Match Database

License

Notifications You must be signed in to change notification settings

librematch/librematch-collector

Repository files navigation

⚔️ Libre:Match Collector

Collect match data from Relic Link API into a database

Status

Matches

  • Fetching and parsing of obersable matches done.
  • Fetching match results when match ended done.
  • Fetching match after an collector outage not yet done. Could be done by checking which users played matches during outage via leaderboards.

Lobbies

  • Fetching and parsing of lobbies done.
  • Cleanup of lobbies that do not exist anymore not yet done.

Leaderboards

  • Fetching and parsing of leaderboards done but not enabled by default.

Requirements

Install node.js.

Install yarn with npm install --global yarn.

Install docker for local postgres db for development.

Install

Install dependencies

yarn

Configure

Copy sample env variable file

mv .env.sample .env

Setup database

Start local postgres db

docker compose up -d

Migrate db

npx prisma migrate dev

Run collector

Start collector

yarn collector

Run graphql server

Start graph

yarn graph

About

⚔️ Libre:Match Collector - polling, diffing, parsing and converting data from the Relic Link API for storing in Libre:Match Database

Topics

Resources

License

Stars

Watchers

Forks

Languages