meine
meine 🌒 - A CLI file manager and system utility built with Textual. It combines intuitive command parsing with rich t…
Safely stream/inject chess.com into your terminal
git clone https://github.com/a7mddra/chess-tui.gita7mddra/chess-tuiPlay chess.com from your terminal. Your real account, your real Elo, ad-free.
chess.com tab ←→ WebSocket ←→ Terminal UI (Ink/React)
Chess.com exposes board.move() in the page's JavaScript scope. Our extension uses this to inject moves and scrape game state (FEN, clocks, player info) from the DOM. The TUI renders everything in the terminal and sends moves back through the same pipeline while the tab is minimized.
Prerequisites:
Install the package globally:
npm install -g chess-tui
To connect to your real chess.com games, you need the companion Chrome extension:
chess-tui-extension.zip from GitHub Releases.chrome://extensions in your browser.chess-tui # or simply: chess
Enjoy playing ad-free right from your terminal!
Most issues come from the connection between Chrome and the terminal. The best way to fix them is to reload the Chrome tab and restart the TUI until they reconnect.
Connect to your chess.com session through the extension. Play live games with real opponents, see clocks, Elo, draw offers, and captured pieces — all in the terminal.
Play against the Stockfish engine locally. Adjustable Elo from 100 to 3000. No browser or internet needed.
/theme, /new, /resign, /draw, /accept, /decline, /analyze, /flip, /diff, /undo~/.config/chess-tui/git clone https://github.com/a7mddra/chess-tui.git cd chess-tui npm install npm run dev:tui # Run the TUI npm run build:ext # Build the extension npm run tsc:tui # Type-check TUI npm run tsc:ext # Type-check extension
chess-tui does not endorse cheating. The extension injects moves the same way a human mouse click does — it calls the same board.move() function. However, connecting external engines to live games violates chess.com's terms of service. See SECURITY.md for the full policy.
MIT License. See LICENSE.
Disclaimer: chess-tui is an independently developed, unofficial open-source project. It is not affiliated with, endorsed by, sponsored by, or otherwise associated with Chess.com. All trademarks, service marks, and company names are the property of their respective owners. By using this software, you agree to abide by the Terms of Service and Fair Play guidelines of the corresponding platforms.
more like this
meine 🌒 - A CLI file manager and system utility built with Textual. It combines intuitive command parsing with rich t…
Portable chess game in C. Commodore 64, Apple 2, Atari, Oric, Commander X16, curses terminal, etc.
search projects, people, and tags