<!doctype html>
With your GitHub account visit hyperchessbot repo, then click on Fork.
At Heroku create a new app using New / Create new app.
In the app's dashboard go to the Deploy tab. Use the GitHub button to connect the app to your forked repo. You need to deploy the master branch. Enable Automatic Deploys and press Deploy Branch, for the initial deploy.
Create an API access token with your BOT account ( should have scopes Read incoming challenges / Create, accept, decline challenges / Play games with the bot API ) and in Heroku Settings / Reveal Config Vars create a new variable TOKEN and set its value to your newly created access token and also create a variable BOT_NAME and set its value to your bot's username.
Congratulations, you have an up and running lichess bot.
Open the project's gitpod terminal
npm install
export TOKEN={BOT API token}
export BOT_NAME={BOT username}
node server.js
GENERAL_TIMEOUT : for event streams in seconds ( default : 15 )
ENGINE_THREADS : engine Threads option ( default : 1 )
ENGINE_MOVE_OVERHEAD : engine Move Overhead option in milliseconds ( default : 500 )
