GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - samuraitruong/stockfish-docker: Stockfish API server with bun runtime

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
api
api
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
docker-compose.yml
docker-compose.yml
 
 
readme.md
readme.md
 
 

Repository files navigation

Stockfish engine run as docker

Usage

docker run ghcr.io/samuraitruong/stockfish-docker:14.1 stockfish

The stockfish executable is added to PATH as STOCKFISH_PATH

Local development

cd api
STOCKFISH_PATH=path/to/stockfish npm run dev

or with docker

docker-compose up

After the API runs, you can access using the following URL

curl http://localhost:3000/bestmove?fen=rnbqkbnr/pp1ppppp/8/2p5/4P3/5N2/PPPP1PPP/RNBQKB1R%20b%20KQkq%20-%201%202 | jq .

or 

curl http://localhost:3000/bestmove?fen=K1k5/P1Pp4/1p1P4/8/p7/P2P4/8/8 w - - 0 1&depth=18 | jq .

The API default will run on 3000, the container exposes 2 ports 3000 and 8080

Stockfist UCI commands:

https://gist.github.com/aliostad/f4470274f39d29b788c1b09519e67372

About

Stockfish API server with bun runtime

Topics

bunchessdockerfastifystockfish

Resources

Readme
MIT license
Activity

Stars

3 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.