Using engines running outside of the browser for analysis on lichess.org.
-
Create a token at https://lichess.org/account/oauth/token/create?scopes[]=engine:read&scopes[]=engine:write
-
Run:
LICHESS_API_TOKEN=lip_*** python3 example-provider.py --engine /usr/bin/stockfish
-
Open the hamburger menu and select the Alpha 2 provider
An official (more user-friendly) provider is under development.
Will provide Stockfish 15 for 64-bit x86 platforms, built with profile-guided optimization, automatically selecting the best available binary for your CPU.
🔧 🔨 The protocol is subject to change. Please make an issue or get in contact to discuss.
Lichess provides an HTTP API for third-party clients and providers.