https://github.com/tmate6/lichess_chatgpt_chatbot
A Lichess bot powered by ChatGPT using ChatChess
https://github.com/tmate6/lichess_chatgpt_chatbot
bot chatgpt chess python
Last synced: 11 days ago
JSON representation
A Lichess bot powered by ChatGPT using ChatChess
- Host: GitHub
- URL: https://github.com/tmate6/lichess_chatgpt_chatbot
- Owner: Tmate6
- Created: 2023-03-14T08:55:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-08T22:15:31.000Z (over 2 years ago)
- Last Synced: 2025-11-10T12:22:29.521Z (8 months ago)
- Topics: bot, chatgpt, chess, python
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ChatBot
## Code for my ChatGPT powered bot on Lichess. Play against it [here](https://lichess.org/@/chat_bot/)
A Lichess bot powered by ChatGPT, using my [ChatChess Python package](https://github.com/Tmate6/ChatChess).
### This bot uses [BotLi](https://github.com/Torom/BotLi) to connect to Lichess. Some files need to be changed to use ChatGPT. Please don't sue me.
## Installation
1. Download or clone BotLi and ChatBot
```
git clone https://github.com/Torom/BotLi.git && git clone https://github.com/Tmate6/Lichess_ChatGPT_ChatBot.git
```
2. Move all files from `Lichess_ChatGPT_ChatBot` to `BotLi` folder (replacing the existing files)
3. Install requirements
```
python -m pip install -r requirements.txt
```
4. Insert Lichess API token and OpenAI API key into `config.yml.default`, then save the file as `config.yml`
The settings can be found in the `config.yml` file. It includes both the settings of [ChatChess](https://github.com/Tmate6/ChatChess) and [BotLi](https://github.com/Torom/BotLi).