DO NOT USE in ranked games or you'll get banned, actually don't even use it in casual games. This script is not intended for cheating your way up to a high ELO, but rather to help you learn good chess.
Here is a example account I made, which played five perfect matches (except for one where I blundered a pawn) against some high rated opponents. The account is now banned.
A Greasemonkey script that will give you the best next move (provided by Stockfish) in a lichess game.
Source code of the script and a flask API that runs stockfish.
- Install Greasemonkey (firefox) or Tampermonkey (chrome or others).
- Navigate to https://www.cattaneo.uy/whitecape/whitecape.user.js. You'll get prompted with an installation form.
- Go to Lichess and try it out.
First clone this repository.
- Install Greasemonkey (firefox) or Tampermonkey (chrome or others).
- Add scripts/whitecape.user.js to your plugin. Feel free to modify anything, especially the API URL if you intend to change it.
- Install Stockfish. You'll need a full path to its main program.
- Modify api/.env.tmp, changing
stockfish-path
to yours. On windows could be c:\stockfish\stockfish.exe, on *unix /usr/bin/stockfish - Rename .env.tmp to .env
- If you want to use docker, just skip those steps and build the provided dockerfile.
- Install requirements with
python -r api/requirements.txt
- Run with
python api/main.py
GPL v3