A multi-language set of focused command-line tools for everyday workflows.
| Tool | Language | What it does | Build | Test |
|---|---|---|---|---|
imgconvert |
Rust | Converts images to a target format with safe output-path validation. | cd imgconvert && make build |
cd imgconvert && make test |
imgcrop |
Rust | Crops images to exact dimensions with optional proportion/framing controls. | cd imgcrop && make build |
cd imgcrop && make test |
pypaste |
Rust | Compacts Python scripts for terminal pasting and copies output to clipboard. | cd pypaste && make build |
cd pypaste && make test |
raw_http |
C (libcurl) | Sends raw HTTP requests from .txt files and prints/saves full responses. |
cd raw_http && make build |
cd raw_http && make test |
workpay |
C (libcurl) | Calculates earnings from worked time and converts currencies via AwesomeAPI. | cd workpay && make build |
N/A (no test target in Makefile) |
Detailed per-tool docs:
- Xcode Command Line Tools (
clang,make,install) curl,tar- Rust toolchain (
cargo,rustc) for Rust tools (imgconvert,imgcrop,pypaste)
Quick setup with Homebrew:
brew install rustraw_httpandworkpayare linked withlibcurl.- On macOS,
libcurlis typically available through system toolchains.
Use the repository scripts from the repository root:
./.scripts/build_all.sh
./.scripts/test_all.shInstall built binaries from a local clone:
./.scripts/add_to_local.sh -y "$HOME/.local/bin/"Use the installer script directly from GitHub:
curl -fsSL https://raw.githubusercontent.com/cleissonom/cli_tools/main/install-macos.sh | \
bash -s -- -yInstall only selected tools into a user-local bin directory:
curl -fsSL https://raw.githubusercontent.com/cleissonom/cli_tools/main/install-macos.sh | \
bash -s -- -y --tools imgcrop,pypasteInstaller behavior:
- Downloads a tarball from GitHub (no
git clonerequired) - Builds selected tools through
./.scripts/build_all.sh - Installs binaries to
--prefix(default:/usr/local/bin) - Uses
sudoonly when destination requires elevated permissions
Installer help:
bash install-macos.sh --helpimgconvert:
imgconvert ./photo.jpg webp ./out/photo.webpimgcrop:
imgcrop ./photo.jpg --size 800x600pypaste:
pypaste --stdout ./script.pyraw_http:
raw_http raw_http/example.txtworkpay:
workpay --from USD --to BRL 25 08:30:45.
├── .scripts/ # helper scripts (test orchestration and local install utilities)
├── imgconvert/ # Rust image converter
├── imgcrop/ # Rust image cropper with framing controls
├── pypaste/ # Rust python compactor + clipboard integration
├── raw_http/ # C raw HTTP request sender using libcurl
└── workpay/ # C earnings + currency conversion CLI
Apache License 2.0. See LICENSE.