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 - windler/chesspal: Chess webserver for USB DGT e-Boards that can run on any hardware

BranchesTags
Open more actions menu

Latest commit

 

History

44 Commits
44 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
cmd/chesspal
cmd/chesspal
 
 
configs
configs
 
 
games
games
 
 
hack/init.d
hack/init.d
 
 
pkg
pkg
 
 
web/vue-frontend
web/vue-frontend
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
.goreleaser.yaml
.goreleaser.yaml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
makefile
makefile
 
 
todo.md
todo.md
 
 

Repository files navigation

Chesspal

Chesspal is a responsive webserver for USB DGT e-Boards. Its core features are to record chess games and play against configurable AIs.

Special thanks to:

  • @notnil (https://github.com/notnil/chess) for an amazing golang based chess package that is used as a basis
  • @jromang (https://github.com/jromang/picochess) for the inspiration

Features

  • runs on any hardware, including Raspberry pi
  • record games played on USB DGT e-Board
  • play against configurable AI
  • manage played games (pgn)
  • import played games on Lichess for analysis
  • optional hints for best move
  • undo moves
  • optional evaluation of last move including "eval bar"
  • use DGT e-board "upside down" (flip ranks and files)
  • clients simply connect via http. You can view and manage your games on any device including smartphone

chesspal

chesspal

chesspal move feedback

chesspal game history

Sever flags

Flag Default Description
--config ./configs/chesspal.yaml Location of chesspals config file

Config file

The config file comes predefined with values suitable for a raspberry setup. You can add UCI chess engines together with UCI values to modify AIs or eval engines.

Rclone

In order to backup all played games automatically, chesspal can run rclone syncs at startup and game end. To enable this feature the config settings rclone.games must be set tu true. You can use rclone to sync the games folder with any supported remote, like Dropbox or Google Drive.

Development

Start server:

make run

Start and watch frontend:

make frontend

Create release bundle:

make release

Raspberry pi setup

The makefile ships with targets to easily setup a fresh Raspian installation. However, the arm binaries can be used for manual installation as well.

To setup a fresh Raspberry pi using makefile targets, add a .env based on .env.example. Further, create a config file configs/chesspal.raspi.yaml. A working golang and npm setup is required. Then you can run the following commands:

make release # to generate a new release bundle locally
make raspi-install-stockfish # if you would like to use stockfish
make raspi-install-fairy-stockfish # if you would like to use fairy-stockfish
make raspi-install-chesspal
make raspi-install-rclone # if you would like to use rclone

To debug the installation you can have a look into the logs

make raspi-logs-all

About

Chess webserver for USB DGT e-Boards that can run on any hardware

Topics

chessdgteboardraspberry-pi

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 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.