Developers often run into small, repetitive tasks that interrupt flow—transforming strings, generating identifiers, formatting data, encoding or decoding values, or converting timestamps. These tasks are usually too small to justify writing a script, but annoying enough to slow you down when done manually.
strapd is a CLI (and web app) designed to handle these kinds of micro-tasks in one place. The CLI is intentionally forgiving: it supports multiple aliases and interchangeable subcommands, so you don’t have to remember a single “correct” syntax. The goal is to make common operations feel natural in the terminal, with minimal cognitive overhead.
All of the following commands do the same thing:
strapd text upper "abc"
strapd str upper "abc"
strapd string uc "abc"
The same flexibility applies to piped workflows:
cat input.json | strapd json format --sort
cat input.json | strapd json sort --format
This approach keeps the focus on speed and flow rather than memorization, and works well alongside existing shell habits and aliases.
Instead of reaching for ad-hoc scripts, online tools, or custom shell aliases, strapd provides a consistent interface for common operations developers encounter in day-to-day work.
What strapd does
- String tools: case conversion, trim, slugify, reverse, replace, analysis
- Identifiers: UUID (v4, v7), ULID
- Encoding / decoding: Base64, URL, Hex
- Data formatting: JSON, YAML, XML, SQL (beautify, minify, sort)
- Format conversion: YAML ⇄ JSON
- Security utilities: hashing (MD5, SHA-1, SHA-256, SHA-512), HMAC
- Random generators: numbers, strings
- Date/time: timestamps
- Clipboard utilities: copy & paste (CLI only)
The focus is on tasks that are small, frequent, and easy to forget the exact syntax for—but useful to have immediately available.
Getting started
GitHub (open source):
https://github.com/dhwaneetbhatt/strapd
Web app:
https://dhwaneetbhatt.com/strapd
CLI docs:
https://dhwaneetbhatt.com/strapd/#/cli
Quick CLI install
# Unix/Linux/macOS
curl -fsSL https://raw.githubusercontent.com/dhwaneetbhatt/strapd/main/scripts/install.sh | bash
# Windows
Invoke-RestMethod -Uri "https://raw.githubusercontent.com/dhwaneetbhatt/strapd/main/scripts/install.ps1" | Invoke-Expression
Top comments (0)