5 Fun Command‑Line Tools to Refresh Your Coding Breaks
This article introduces five handy command‑line utilities—a Netty‑based Dou Dizhu game, a Go‑based novel reader, a Rust‑based GitHub trending viewer, a Python‑based Zhihu client, and a Bash Tetris game—each with installation steps, usage commands, and quick‑start tips for developers looking to unwind.
Developers often need a quick break, and command‑line tools can provide both fun and productivity without leaving the terminal. Below are five curated CLI utilities, each with a brief overview, repository link, installation instructions, and basic usage commands.
CLI Dou Dizhu (Landlords) Game
This multiplayer card game is built on the Netty framework and lets you play locally or over a network. Repository: https://gitee.com/ainilili/ratel.
Installation:
git clone https://github.com/ainilili/ratel.git mvn packageAfter packaging, executable JARs appear in landlords-server and landlords-client directories.
Run the server: java -jar landlords-server-1.2.2.jar -p 1024 Run the client (local):
java -jar landlords-client-1.2.2.jar -p 1024 -h 127.0.0.1Run the client (remote server example):
java -jar landlords-client-1.2.2.jar -p 1024 -h 39.105.65.8Enter a nickname
Select game mode (human vs. human or human vs. AI)
Choose difficulty
Start the game
CLI Novel Reader (glance)
A lightweight, cross‑platform command‑line novel viewer written in Go. It runs without extra runtimes and integrates well with Vim. Repository: https://github.com/TimothyYe/glance.
Installation:
wget https://github.com/TimothyYe/glance/releases/download/V0.2/glance-linux64-0.2.tar.gz tar -zxvf glance-linux64-0.2.tar.gzRun the executable: ./glance Typical usage commands:
Switch pages up/down
Toggle progress display
Show/hide borders
Change font color
Enable automatic page turning
CLI GitHub Trending Viewer (Wukong)
A Rust‑based tool that fetches the daily GitHub Trending repository and developer rankings. Repository: https://github.com/TonnyL/Wukong.
Installation on macOS: brew install TonnyL/tap/Wukong Installation on Linux (download binary):
wget https://github.com/TonnyL/wukong/releases/download/v0.1.0-alpha02/wukong-linux.tar.gz tar -zxvf wukong-linux.tar.gzTypical commands:
./wukong repo # show trending repositories ./wukong dev # show trending developers ./wukong --help # display all optionsCLI Zhihu Terminal (zhihu-terminal)
A Python 2.7 script that lets you browse Zhihu, upvote, and follow topics from the terminal. Repository: https://github.com/duduainankai/zhihu-terminal.
Installation:
git clone [email protected]:duduainankai/zhihu-terminal.git cd zhihu-terminal pip install -r requirements.txtConfigure config.ini and run:
python zhihu.pyCLI Tetris (sedtris)
A classic Tetris game that runs entirely in the terminal. Repository: https://github.com/uuner/sedtris.
Installation:
git clone https://github.com/uuner/sedtris.git cd sedtris/ chmod +x sedtris.shStart the game:
./sedtris.shThese tools demonstrate how simple command‑line programs can provide entertainment, quick information access, and a pleasant diversion without leaving the development environment.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Liangxu Linux
Liangxu, a self‑taught IT professional now working as a Linux development engineer at a Fortune 500 multinational, shares extensive Linux knowledge—fundamentals, applications, tools, plus Git, databases, Raspberry Pi, etc. (Reply “Linux” to receive essential resources.)
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
