←back to thread

170 points ksdme9 | 3 comments | | HN request time: 0.651s | source

Hey HN,

I find myself reaching for tools like it-tools.tech or other random sites every now and then during development or debugging. So, I built a toolkit with a sane and simple CLI interface for most of those tools.

For the curious and lazy, at the moment, ut has tools for,

- Encoding: base64 (encode, decode), url (encode, decode)

- Hashing: md5, sha1, sha224, sha256, sha384, sha512

- Data Generation: uuid (v1, v3, v4, v5), token, lorem, random

- Text Processing: case (lower, upper, camel, title, constant, header, sentence, snake), pretty-print, diff

- Development Tools: calc, json (builder), regex, datetime

- Web & Network: http (status), serve, qr

- Color & Design: color (convert)

- Reference: unicode

For full disclosure, parts of the toolkit were built with Claude Code (I wanted to use this as an opportunity to play with it more). Feel free to open feature requests and/or contribute.

Show context
guessmyname ◴[] No.45484198[source]
Why is everything in the same binary? Why not multiple binaries, one for each function? That way people can install only the ones they need, a-la Unix tools: do only one thing and do it well.

I also have the exact same tools but written in Go. Rust would be a nice upgrade (lower footprint) but to keep them all in the same binary is a bit silly.

replies(6): >>45484266 #>>45484273 #>>45484389 #>>45484480 #>>45484962 #>>45484977 #
1. dgacmu ◴[] No.45484962[source]
Amusingly, if you look historically, it's also a traditional approach to reduce total binary size - a bunch of small utilities were all Sim links to a single binary, which conditioned on argv[0] to figure out what to do.
replies(1): >>45485729 #
2. zvr ◴[] No.45485729[source]
In The Old Days, it was hard links, no symlinks.
replies(1): >>45486232 #
3. dgacmu ◴[] No.45486232[source]
Eek, you're right. Also ugh, I should stop talking to my phone, just noticed "Sim links". sigh.