{"id":13516862,"url":"https://github.com/oakmac/chessboardjs","last_synced_at":"2025-05-14T13:05:18.837Z","repository":{"id":8736143,"uuid":"10411524","full_name":"oakmac/chessboardjs","owner":"oakmac","description":"JavaScript chessboard","archived":false,"fork":false,"pushed_at":"2024-04-17T16:24:05.000Z","size":948,"stargazers_count":2065,"open_issues_count":109,"forks_count":414,"subscribers_count":73,"default_branch":"master","last_synced_at":"2025-05-07T20:59:17.168Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://chessboardjs.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oakmac.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-05-31T19:27:54.000Z","updated_at":"2025-05-07T01:18:50.000Z","dependencies_parsed_at":"2023-01-13T14:58:22.849Z","dependency_job_id":"1f2ce643-992b-49d9-bb43-29661d9557c3","html_url":"https://github.com/oakmac/chessboardjs","commit_stats":{"total_commits":156,"total_committers":9,"mean_commits":"17.333333333333332","dds":0.0641025641025641,"last_synced_commit":"bfb9315cd44d22c4a3ccc883ab4c0b42e902557e"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakmac%2Fchessboardjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakmac%2Fchessboardjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakmac%2Fchessboardjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakmac%2Fchessboardjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oakmac","download_url":"https://codeload.github.com/oakmac/chessboardjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253547215,"owners_count":21925545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T05:01:26.655Z","updated_at":"2025-05-14T13:05:18.714Z","avatar_url":"https://github.com/oakmac.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# chessboard.js [![npm](https://img.shields.io/npm/v/@chrisoakman/chessboardjs.svg)](https://www.npmjs.com/package/@chrisoakman/chessboardjs) [![MIT License](https://img.shields.io/npm/l/@chrisoakman/chessboardjs)](https://github.com/oakmac/chessboardjs/blob/master/LICENSE.md)\n\n\u003e **NOTE:** chessboard.js can be found on npm as `@chrisoakman/chessboardjs`\n\nchessboard.js is a JavaScript chessboard component. It depends on [jQuery] v3.4.1 (or higher).\n\nPlease see [chessboardjs.com] for documentation and examples.\n\n## Project Status (Dec 2022)\n\nI am currently focusing my efforts on [chessboard2].\n\n[chessboard2]:https://github.com/oakmac/chessboard2\n\n## What is chessboard.js?\n\nchessboard.js is a standalone JavaScript Chess Board. It is designed to be \"just\na board\" and expose a powerful API so that it can be used in different ways.\nHere's a non-exhaustive list of things you can do with chessboard.js:\n\n- Use chessboard.js to show game positions alongside your expert commentary.\n- Use chessboard.js to have a tactics website where users have to guess the best\n  move.\n- Integrate chessboard.js and [chess.js] with a PGN database and allow people to\n  search and playback games (see [Example 5000])\n- Build a chess server and have users play their games out using the\n  chessboard.js board.\n\nchessboard.js is flexible enough to handle any of these situations with relative\nease.\n\n## What can chessboard.js **not** do?\n\nThe scope of chessboard.js is limited to \"just a board.\" This is intentional and\nmakes chessboard.js flexible for building a variety of chess-related\napplications.\n\nTo be specific, chessboard.js does not understand anything about how the game of\nchess is played: how a knight moves, whose turn is it, is White in check?, etc.\n\nFortunately, the [chess.js] library deals with exactly this sort of problem and\nplays nicely with chessboard.js's flexible API. Some examples of chessboard.js\ncombined with chess.js: [Example 5000], [Example 5001], [Example 5002]\n\n## Docs and Examples\n\n- Docs - \u003chttps://chessboardjs.com/docs\u003e\n- Examples - \u003chttps://chessboardjs.com/examples\u003e\n\n## Developer Tools\n\n```sh\n# create a build in the build/ directory\nnpm run build\n\n# re-build the website\nnpm run website\n```\n\n## License\n\n[MIT License](LICENSE.md)\n\n[jQuery]:https://jquery.com/\n[chessboardjs.com]:https://chessboardjs.com\n[chess.js]:https://github.com/jhlywa/chess.js\n[Example 5000]:https://chessboardjs.com/examples#5000\n[Example 5001]:https://chessboardjs.com/examples#5001\n[Example 5002]:https://chessboardjs.com/examples#5002\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foakmac%2Fchessboardjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foakmac%2Fchessboardjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foakmac%2Fchessboardjs/lists"}