Script that creates regular swiss tournaments for a team.
Uses Lichess API to fetch and create swiss tournaments.
Dates use your own local timezone.
The script can be run multiple times and will only create missing tournaments, i.e. it won't create a tournament that already exists.
Generate an OAuth token
and use it in place of YourOauthToken
in the following commands.
Edit the configuration in src/config.ts
.
yarn install
OAUTH_TOKEN='YourOauthToken' yarn dev