As developers, we perform dozens of repetitive micro-tasks every day: inspecting public IP addresses, formatting JSON payloads, decoding JWT tokens, generating secure passwords or UUIDs, resizing images, and checking system resources.

For the longest time, my workflow involved jumping between random web tools, online converters, bookmarked sites, or single-purpose npm packages. I wanted a faster, more secure solution: a single, local-first terminal toolkit accessible anytime with a simple 3-letter command.

That desire led me to build CBS DevTools (cbs-devtools) — an open-source, all-in-one developer utility CLI built with Node.js and TypeScript.

Why I Built CBS DevTools

Whenever I was debugging an API or configuring a server, I needed quick answers without leaving my terminal. Opening web tools not only breaks developer flow, but pasting sensitive payload data or environment variables into third-party web converters poses real security risks.

CBS DevTools was engineered around three core principles:

  • ⚡ Speed & Convenience: Run instant commands directly in your terminal without context switching.
  • 🔒 Security & Privacy: 100% local execution — cryptographically secure random generation and offline JWT parsing without sending data anywhere.
  • 🎨 Intuitive DX: Both interactive arrow-key terminal prompts for discovery AND direct subcommands for power users.

Designing the Interactive Terminal DX

One of my main design goals was to ensure you don't need to memorize dozens of CLI arguments to use the tool. If you launch CBS DevTools simply with:

bash
cbs

It opens an interactive terminal interface powered by @clack/prompts. You can navigate between utility categories using your keyboard arrow keys and follow step-by-step prompts:

CBS DevTools CLI
CBS DevTools
Network Tools
Developer Tools
Generators
File Tools
System Tools
Web Tools
Settings
Exit
Use arrow keys or click to navigate

For experienced CLI users or automation scripts, every utility can also be triggered directly as a single subcommand.

Comprehensive Feature Toolkit

CBS DevTools brings together 7 major categories of developer utilities inside one unified package:

🌐 Network & Geolocation Tools
Public IP lookup with ISP/geo details, local network interface inspector, DNS record resolution, cross-platform ping, TCP port reachability tester, HTTP header inspector, and traceroute diagnostic.
🛠 Developer Utilities & Local JWT
JSON formatter & minifier with stdin pipe support, Base64 encoder/decoder, text & file hashing (MD5, SHA256, SHA512), UUID v4/v7 generators, regex tester, 100% local-only JWT decoder, and JSON to TypeScript generator.
⚡ Cryptographic Generators
Secure random password generator, developer username generator, URL slug generator, Lorem Ipsum text generator, fake dev data, color & CSS gradient generator, terminal QR codes, and secret tokens.
📁 File & Archival Utilities
Metadata inspector, Zip compression & extraction, pattern-based batch file renamer with --dry-run preview, file type auto-organizer, recursive file finder, and duplicate file detector.
🖼 Image Optimization
Image metadata inspector, image resizer, format converter (PNG, JPG, BMP), quality compressor, and multi-resolution favicon set generator (16x16 to 128x128).
💻 Real-Time System Metrics
System dashboard, CPU specs & load average, RAM meter with visual progress bar, disk partition usage, top resource processes, environment variable inspector with sensitive key masking, and uptime.
🌍 Web Inspection Tools
Metadata & OpenGraph tag extractor, robots.txt fetcher, sitemap.xml parser, HTML snapshot generator, HTTP status & latency tester, redirect chain tracer, and remote favicon finder.
🔒 Security-First Architecture
Powered by Node.js crypto.randomBytes, local-only offline operations, sensitive key masking, and dry-run safety modes for file operations.

Direct Subcommands & Examples

Here are some of the direct subcommands you can run instantly in your terminal:

bash
cbs ip
Fetch public IP, country, and ISP info
bash
cbs local-ip
List local network interfaces & IP addresses
bash
cbs dns google.com
Lookup DNS records (A, AAAA, MX, TXT)
bash
cbs ping google.com
Cross-platform ICMP latency ping
bash
cbs uuid
Generate a cryptographically secure v4/v7 UUID
bash
cbs password
Generate a strong, secure random password
bash
cbs qr "https://example.com"
Generate an interactive terminal QR code
bash
cbs system
Display OS, CPU, RAM visual meter, and env stats

Under the Hood: Tech Stack

Building a reliable cross-platform CLI requires choosing tools that ensure type safety, clean input handling, and crisp output rendering:

Node.jsRuntime environment
TypeScriptType-safe codebase
Commander.jsCLI command routing
@clack/promptsInteractive terminal UI
ChalkTerminal styling & colors
OraTerminal spinners
ZodSchema validation

Installation & Quickstart

You can install CBS DevTools globally via npm:

bash
npm install -g cbs-devtools

Then launch the CLI anytime:

bash
cbs

Or run commands on-demand without installing using npx:

bash
npx cbs-devtools

Engineering Reflections & Lessons Learned

Building CBS DevTools gave me a fantastic opportunity to explore developer experience (DX) from the command-line perspective.

While most of my work focuses on full-stack web and mobile applications, engineering a CLI required thinking deeply about command taxonomy, terminal color palettes, spinner feedback during asynchronous tasks, robust error handling, and cross-platform terminal compatibility across Windows PowerShell, macOS zsh, and Linux bash.

It reinforced the principle that small everyday utilities become exponentially more valuable when organized inside a cohesive, well-designed developer experience.

What's Next

Here is what I'm planning for upcoming releases:

  • Expanded string & text transformation utilities
  • Enhanced cross-platform terminal compatibility
  • Advanced file archival and multi-format compression
  • Rich interactive terminal UI prompt controls
  • Comprehensive documentation & API guides
  • Automated unit & integration test suites
  • Open-source community contribution workflows

Want to try CBS DevTools?

Explore the open source repository on GitHub or install the package directly from npm.

View on GitHub Install from npm