lichess-bot

A bridge between Lichess API and bots.

How to Install

Mac/Linux:

Windows:

Lichess OAuth

Setup Engine

Lichess Upgrade to Bot Account

WARNING This is irreversible. Read more about upgrading to bot account.

To Quit

LeelaChessZero

For Docker

Use https://github.com/vochicong/lc0-nvidia-docker to easily run lc0 and lichess-bot inside a Docker container.

Tips & Tricks

[Service] Environment="PYTHONUNBUFFERED=1" ExecStart=/usr/bin/python3 /home/thibault/lichess-bot/lichess-bot.py WorkingDirectory=/home/thibault/lichess-bot/ User=thibault Group=thibault Restart=always

[Install] WantedBy=multi-user.target



# Acknowledgements
Thanks to the Lichess team, especially T. Alexander Lystad and Thibault Duplessis for working with the LeelaChessZero
team to get this API up. Thanks to the Niklas Fiekas and his [python-chess](https://github.com/niklasf/python-chess) code which allows engine communication seamlessly.

# License
lichess-bot is licensed under the AGPLv3 (or any later version at your option). Check out LICENSE.txt for the full text.