I built eight CLI tools in Rust.

2026-11-19来源 dev.toEnglish

I built eight CLI tools in Rust: an offline dictionary, an IMAP/SMTP email client, a news reader, a web search tool, a Wikipedia/wikiHow reader, an OverTheWire wargames browser, a ray-traced Saturn screensaver, and a DeepSeek web-chat front end. Every one is a single binary that prints plain text. No TUI, no telemetry, no API key where a browser session will do, and nothing left running in the background.

They follow the same rules: one job per binary, stdin and stdout, JSON when a script needs it, the OS keyring for passwords, and a cache only when it saves a request. I just audited all eight: clippy clean, 157 tests, escape-sequence injection fixed, DNS-level SSRF protection in the news reader. All MIT licensed, all at github.com/batusaribay.

原文:https://www.a8q9.cn/en/article/i-built-eight-cli-tools-in-rust-e73d92.html

相关文章