{"id":20821273,"url":"https://github.com/menisadi/chessbot","last_synced_at":"2026-02-16T03:32:43.469Z","repository":{"id":78597446,"uuid":"576906813","full_name":"menisadi/ChessBot","owner":"menisadi","description":"Telegram bot for playing blindfold chess","archived":false,"fork":false,"pushed_at":"2024-11-11T08:38:08.000Z","size":63830,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T14:47:34.817Z","etag":null,"topics":["bot","chess","telegram","telegram-bot","telegram-bot-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/menisadi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-12-11T11:32:25.000Z","updated_at":"2024-11-11T08:38:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"83316300-652a-49d5-934c-690eefd61815","html_url":"https://github.com/menisadi/ChessBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/menisadi/ChessBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/menisadi%2FChessBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/menisadi%2FChessBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/menisadi%2FChessBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/menisadi%2FChessBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/menisadi","download_url":"https://codeload.github.com/menisadi/ChessBot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/menisadi%2FChessBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29499615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T02:07:14.481Z","status":"online","status_checked_at":"2026-02-16T02:03:22.852Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","chess","telegram","telegram-bot","telegram-bot-api"],"created_at":"2024-11-17T22:11:49.591Z","updated_at":"2026-02-16T03:32:43.454Z","avatar_url":"https://github.com/menisadi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eBlind-Chess Bot\u003c/h1\u003e\n\u003cdiv align=\"center\" id=\"logo\"\u003e\n    \u003cimg src=\"./Graphics/chess_logo.jpeg\" width=\"200\", height=\"200\"\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.gnu.org/licenses/gpl-3.0\"\u003e\n      \u003cimg alt=\"License: GPL v3\" src=\"https://img.shields.io/badge/License-GPLv3-blue.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/menisadi/ChessBot/pulse\"\u003e\n      \u003cimg alt=\"GitHub last commit\" src=\"https://img.shields.io/github/last-commit/menisadi/ChessBot\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\nA chat bot that allows users to play chess via a messaging platform.\n\n\n## Requirements\n\n- Python 3.x\n- [pyTelegramBotAPI - A simple, but extensible Python implementation for the Telegram Bot API](https://github.com/eternnoir/pyTelegramBotAPI)\n- [python-chess: a chess library for Python](https://github.com/niklasf/python-chess)\n- [pgn2gif](https://github.com/dn1z/pgn2gif)\n\n## Running the bot locally\n\n1. Create a bot and obtain its API token by talking to the [Bot Father](https://telegram.me/botfather) on Telegram.\n2. Clone the repository and navigate to the directory:\n    ```\n    git clone https://github.com/menisadi/ChessBot.git\n    cd ChessBot\n    ```\n3. Create a file named `token.txt` and paste in it your API token.\n4. Run the script: `python3 bot.py`\n\n## Usage\n\n1. Start a conversation with the bot and use the following commands to play chess:\n- `/start` - start a new game\n- `\u003cmove\u003e` - make a move on the chess board (in standard algebraic notation e.g. `e4`, `Nxe4`, `a8=Q`)\n- `/moves` - show a list of legal move\n- `/resign` - resign from the current game\n- `/stockfish` -  Play against Stockfish engine (add a number [0-20] to limit its strength). [binary file](https://stockfishchess.org/download/) of Stockfish is not included so you need to download it and add to your local folder\n- `/random` - Bot will make random moves\n- `/show` - show the board\n- `/pgn` - print the entire game in PGN format\n\n## Notes\n\n- The bot supports one game at a time per user\n- The bot has been tested on Python 3.10. It may work on other versions of Python, but this has not been tested.\n\n## License\n\nThis project is licensed under GNU GPL v3 License - see the [LICENSE](LICENSE) file for details.  \n\n\u003cimg src=\"Graphics/gplv3.png\" alt=\"drawing\" width=\"80\"/\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmenisadi%2Fchessbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmenisadi%2Fchessbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmenisadi%2Fchessbot/lists"}