Using custom engines with the lichess analysis tool

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

User avatar
j.t.
Posts: 268
Joined: Wed Jun 16, 2021 2:08 am
Location: Berlin
Full name: Jost Triller

Using custom engines with the lichess analysis tool

Post by j.t. »

There is now the possibility to use custom engines for the lichess analysis tool.

You need to have Rust installed.
  • Download this GitHub repo (lichess-org/external-engine)
  • Go into the folder remote-uci
  • Run the command

    Code: Select all

    cargo run -- --engine /path/to/your/engine/binary
  • If everything works, you'll be shown a link that looks like this:

    Code: Select all

    https://lichess.org/analysis/external?url=ws%3A%2F%2F127.0.0.1%3A9670%2F&secret=7wf87zr87zsfzs78fzv87szfv87&name=YourEngine+16&maxThreads=8&maxHash=4096
  • Click on that link, and your browser will open something that looks like this
  • Click on AUTHORIZE
Now when using the lichess analysis tool it will use the engine that you provided. In the settings of this analysis tool you can disconnect the custom engine again.

This is still alpha software, so there might be bugs or the way to use this may change.

Here is the relevant Reddit thread from where I got this information.
User avatar
AdminX
Posts: 6363
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Using custom engines with the lichess analysis tool

Post by AdminX »

Thanks, it worked like a charm! :D

Image
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers