A bridge between Lichess Bot API and bots.
Engine communication code taken from https://github.com/ShailChoksi/lichess-bot by ShailChoksi
- A bridge between Lichess API and bots.
- This bot is made with Python and it is running using stack container and is concentrated on heroku.
- Import or Fork this repository to your Github.
- Open the
config.yml
file and insert your API access token in to token option and commit changes over here. - Install Heroku CLI and create a new app in Heroku.
Do note that in certain operating systems Heroku CLI doesn't get added to path automatically. If that's the case you'll have to add heroku to your path manually. - Run this command in cmd or powershell
heroku stack:set container -a appname
, whereappname
is replaced with your Heroku app's name. - In heroku, in the
Deploy
tab click onConnect to GitHub
and then click onsearch
and select your fork/import of this repository. - Now scroll down and under
Manual deploy
, click ondeploy
with themaster
branch selected.
Note: You could alsoEnable Automatic Deploys
with themaster
branch selected if you would like each commit you make to get automatically and easily deployed onto your bot. It is your choice whether you'd like to Enable or Disable Automatic Deploys. - After deploying wait for about 5 minutes till the build finishes and then in the
Resources
tab in heroku turnworker
dynos. If you do not see any option to enable any dynos, then you'll have to wait for about 5 minutes and then refresh your page on heroku.
You're now connected to lichess and awaiting challenges! Your bot is up and ready!
- you can change 6th line of config.yml put
fsf