https://github.com/lichess-org/swiss-maker
Script that creates regular swiss tournaments for a team.
https://github.com/lichess-org/swiss-maker
chess lichess swiss tournament
Last synced: 20 days ago
JSON representation
Script that creates regular swiss tournaments for a team.
- Host: GitHub
- URL: https://github.com/lichess-org/swiss-maker
- Owner: lichess-org
- License: mit
- Created: 2020-08-18T08:21:27.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-16T10:17:04.000Z (over 3 years ago)
- Last Synced: 2025-05-07T04:33:54.635Z (5 months ago)
- Topics: chess, lichess, swiss, tournament
- Language: TypeScript
- Homepage: https://lichess.org/swiss
- Size: 47.9 KB
- Stars: 8
- Watchers: 9
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lichess Swiss maker
Script that creates regular swiss tournaments for a team.
Uses [Lichess API](https://lichess.org/api) to
[fetch](https://lichess.org/api#operation/apiTeamSwiss) and
[create](https://lichess.org/api#operation/apiSwissNew) 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.## Run
[Generate an OAuth token](https://lichess.org/account/oauth/token/create?scopes[]=tournament:write&description=Lichess+Swiss+maker)
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
```