Lichess

From BITPlan Wiki
Jump to navigation Jump to search

Motivation

PlayChessWithAWebCam shall be integrated with lichess.org

Links

Bot account

Upgrade account to bot via:

curl -d '' https://lichess.org/api/bot/account/upgrade -H "Authorization: Bearer <yourTokenHere>"

Python lichess-bot

Bot-o-Tron

git clone https://github.com/tailuge/bot-o-tron
cd bot-o-tron
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
# relogin since bash profile is changed ...
nvm install v10.15.3
npm install -g yarn
npm i -D nyc
yarn install
export API_TOKEN=xxxxxxxxxx
yarn test
yarn start

Lichess history