Skip to content

Bishops-exe/embedchess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

embedchess

Embeddable chess board widget. Drop it in an <iframe> and configure via URL params.

Usage

<iframe src="https://bishops-exe.github.io/embedchess/?pos=start&draggable=true&only_legal=true"></iframe>

URL Parameters

Param Values Default Description
pos FEN string or start start Board position
draggable true / false false Allow piece dragging
only_legal true / false false Restrict drops to legal moves
orientation white / black white Board perspective
theme_string path template img/chesspieces/alpha/{piece}.png Piece image template

Development

bun install
bun run dev
bun run build   # outputs to dist/

Stack

Deploys to GitHub Pages on push to main.

About

Integrate a chessboard into your presentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors