Translate your Lichess activity into your Discord status.

This project allows you to display your current Lichess status directly on your Discord profile using Rich Presence. It automatically updates whether you are online or in a game, and provides links to your profile or the current game.
- Dynamic Status: Shows if you are online or currently in a Lichess match.
- Profile Link: Includes a button on your Discord status linking directly to your Lichess profile.
- Spectate Button: If you are in a game, a button appears allowing others to spectate your current match.
pip install -r requirements.txt-
Edit
config.jsonand replace"yourLichessUsername"with your actual Lichess username:{ "lichessUsername": "yourLichessUsername", "debugMode": 0 } -
(Optional) To enable debug mode, change
"debugMode": 0to"debugMode": 1.
After installing the requirements and configuring config.json, run the main Python script:
python main.pyFor added convenience, I included a batch file, open_lichess.bat, that automatically:
- Opens lichess.org in your default web browser.
- Launches the
main.pyscript to start updating your Discord status.
You can create a shortcut to this batch file for easy access.
