Chegura - chess guru, knows everything about chess, what Melissa would like to know, specially best chess moves
- Install LTS version of Node.js.
- Type from command line:
npm install -g chegura
Create app.config.json with the following structure, specifying correct paths, modifying parameters by your wish
{
"optimizeSettings": {
"optimize": false
},
"port": 9966,
"defaultDepth": 50,
"movesToStore": 25,
"ricpaClient": {"hostname": "localhost", "port": "9977", "path": ""},
"analysisQueueFile": "analysis-queue.json",
"externalEvaluationsFile": "external-evaluations.json",
"pingUrl": "http://localhost:9966/api/ping",
"evaluationsLogFile": "evaluations.log"
}
ricpaClient, if specified, contains setting to connect to remote chess engine supporting RICPA protocol, e.g. Remote Chess Engine
Type from command line:
chegura
or to run as a service:
chegura &>chegura.log &
POST /api/analyze {moves: ['e4','e5']}
GET /api/userscount
GET,POST /api/ping
GET /api/base
GET /api/fenbase
GET /api/fendata?fen=rnbqkb1r/pppppppp/5n2/8/3P4/5N2/PPP1PPPP/RNBQKB1R b KQkq - 2 2
See how it works with Melissa trainer at http://3kgm.online/