cli-chess-puzzle
v1.0.4
Published
A CLI tool to get chess puzzles from Lichess and Chess.com
Readme
CLI Chess Puzzle
Command‑line tool to fetch daily chess puzzles from Lichess and Chess.com. npmjs

Features
- Fetch the daily puzzle from Lichess and Chess.com
- Fetch random puzzle from Lichess and Chess.com
- Outputs rendered FEN and source URL
Installation
Clone and install dependencies:
git clone https://github.com/atasoya/cli-chess-puzzle.git
cd cli-chess-puzzle
npm installUsage
Run directly with npx:
# Daily
npx cli-chess-puzzle daily
# Random
npx cli-chess-puzzle random
# Help
npx cli-chess-puzzlProject Structure
cli-chess-puzzle/
├── src/
│ ├── index.js # CLI entry (Commander)
│ ├── clients/
│ │ ├── lichess.js # Lichess API client
│ │ └── chesscom.js # Chess.com API client
│ └── utils/
│ └── chess.js # Chess utility
├── package.json
└── README.md