A versatile CLI tool for common developer tasks.
Generate one or more UUIDs or ULIDs using the generate subcommand.
jack uuid generate
jack uuid generate --count 5 --type ULIDValidate a single UUID or ULID value using the validate subcommand.
jack uuid validate <uuid>
echo "3fa85f64-5717-4562-b3fc-2c963f66afa6" | jack uuid validate
jack uuid validate --type ULID <ulid>Generate placeholder text.
jack lorem --count 50Generate a QR code image from text or a URL.
jack qr "https://github.com" --output github.png
jack qr "Hello World" --foregroundColor FF0000 --backgroundColor FFFFFFCompute hashes for strings or files.
jack hash "my secret string" --algorithm SHA256
jack hash --file path/to/file.txt --algorithm MD5Get the current Unix timestamp.
jack timestamp
jack timestamp --unit MILLISECONDSDecode and pretty print a JWT token.
jack jwt "your.jwt.token"
jack jwt "your.jwt.token" --secret "your-secret"Verify and pretty print JSON input.
jack json '{"name":"jack","version":1}'
jack json --file data.json --indent 2
cat data.json | jack jsonLinux / macOS:
curl -fsSL https://raw.githubusercontent.com/dimeskigj/jack-cli/main/scripts/install.sh | bashWindows (PowerShell):
iwr https://raw.githubusercontent.com/dimeskigj/jack-cli/main/scripts/install.ps1 -useb | iex- Clone the repository:
git clone https://github.com/dimeskigj/jack-cli.git cd jack-cli - Build and install:
./gradlew installDist
- Add the binary to your
PATH. The binary is located atbuild/install/jack/bin.
To build a standalone executable that doesn't require Java installed:
./gradlew nativeCompileThe executable will be located in build/native/nativeCompile.
Download the latest archive from the releases page, extract it, and add the bin folder to your PATH.
- UUID/ULID: Validation and bulk generation of unique identifiers.
- Lorem Ipsum: Customizable placeholder text.
- QR Codes: PNG generation with custom colors.
- Hashing: MD5, SHA1, SHA256, SHA512 support.
- Timestamps: Seconds or milliseconds.
- JWT Decoding: Pretty print header and payload with signature verification.
- JSON Formatting: Verify and pretty print JSON with custom indentation.
MIT
