KO
|
EN
gitlite โ search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
lichess-bot
โ 20
Open GitHub โ
Lichess bot api bridge
Download README (.md)
Explore Similar Repositories
code-splitting-clojurescript
:
Example App using ClojureScript :modules and shadow-cljs
deno-logo
:
Minimalistic vector version of the Deno logo! ๐ฆ
Login-Register-with-MySQL-Express-ReactJS-NodeJS
:
A login and registration application with MERN Stack MySQL, Express, ReactJS, NodeJS
scrapy_baidu_image
:
็พๅบฆๅพ็็ฌ่ซ, ็ฌๅ็พๅบฆๅพ็ ,scrapy๏ผ็พๅบฆๅพ็็ฌๅ
MissingDataVAEs
:
No description available.
// repository documentation
Was this content helpful?
โ 0
(0 ratings)
Select Rating:
โ
โ
โ
โ
โ
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
lichess-bot
?
Download (.md)
# Lichess Bot  Lichess BOT interface for UCI compatible engines. ## How to use - Upgrade to a BOT account on lichess. [guide](https://lichess.org/api#operation/botAccountUpgrade) - `go get github.com/dolegi/lichess-bot` - Download a UCI compatible engine such as [stockfish](https://stockfishchess.org/download/) - Create a new toml file for config - Put BOT name, API key and engine path in `config.toml` - Run with `./lichess-bot config.toml` ### Upgrade to BOT account As well as normal usage shown above, you can use this library to upgrade your account > WARNING: Upgrading your account cannot be undone To upgrade run like this ``` ./lichess-bot config.toml upgrade ``` ## Minimal config ```toml token = "XXX" botname = "XXX" url = "https://lichess.org/api/" [engine] path = "path/to/engine" [challenge] variants = [ "standard" ] speeds = [ "blitz", "bullet" ] modes = [ "rated", "casual" ] ``` # Config format ```toml token = "XXX" # API token for Lichess botname = "XXX" # Name of the BOT account url = "https://lichess.org/api/" # URL for Lichess API [engine] path = "path/to/engine" # Path to UCI compatible engine [engine.options] threads = 1 # Number of CPU threads to use hash = 512 # Max memory in MB engine can use [engine.go] nodes = 1 # Search number of nodes only depth = 5 # Search depth limit movetime = 5000 # Move time limit in milliseconds [network] latency = 100 # Estimated network latency when sending requests in milliseconds [challenge] variants = [ # Variants engine supports "standard" ] speeds = [ # Speeds to play at "blitz", "bullet" ] modes = [ # Modes to play. Must be "rated" and/or "casual" "rated" ] ``` # Docker Example usage for using Docker: `docker build . -t lichess-bot && docker run -v $(pwd)/config.toml:/app/config.toml lichess-bot ./config.toml` # Releases To install run `go get github/dolegi/lichess-bot` Note: Windows release is untested # References - [Lichess BOT API](https://lichess.org/api#tag/Chess-Bot) - [Python Lichess BOT](https://github.com/careless25/lichess-bot) - [UCI reference](https://www.shredderchess.com/chess-info/features/uci-universal-chess-interface.html)