Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benediktwerner/cr-bot
Zulip Bot for ChessReanalysis
https://github.com/benediktwerner/cr-bot
Last synced: about 7 hours ago
JSON representation
Zulip Bot for ChessReanalysis
- Host: GitHub
- URL: https://github.com/benediktwerner/cr-bot
- Owner: benediktwerner
- Created: 2021-11-27T07:48:58.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-23T04:38:50.000Z (over 1 year ago)
- Last Synced: 2024-04-17T16:25:30.631Z (7 months ago)
- Language: TypeScript
- Homepage:
- Size: 210 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Requirements
- Node (v14+ should work)
- Python 3.6+## Setup
1. Install Node dependencies: `npm install`
2. *Optional:* Create a virtual env: `python3 -m venv cr_env` and activate it `source cr_env/bin/activate`
3. Install Python dependencies: `pip install -r requirements.txt`
4. Create a zulip bot, download the `zuliprc` file, and but it in the base directory.
5. Copy `config.base.json` to `config.json` and adjust config values as needed.
- Set `zulip.stream` to the stream where the bot should respond to queries.
- If you didn't create a venv or named it differently, set `python_bin` to the Python binary to run CR with (`python3` to use the system Python, `path/to/venv/bin/Python` for a venv)
- Set `engine.path` to the path where the Stockfish binary is located## Run
- `npm run dev` for dev. Will watch for changes and restart.
- `npm run build` to build prod dist
- `npm start` to run (after build)
- Or use `CR-bot.service` with systemd