tinytools: 200 offline CLI utilities built on Node's standard library alone
The author built tinytools, a set of 200 offline command-line utilities accessed through a single tt command, using only Node's standard library. The write-up highlights technical lessons, such as implementing TOTP via HMAC-SHA1 and testing it against RFC 6238 vectors, and handling cron's day-of-month and day-of-week semantics. It also describes a recursive-descent parser for the calc feature and a stdout truncation bug on macOS CI caused by calling process.exit right after a large pipe write. Each tool is tested against independently known answers, and the author notes that some of their own expected values were wrong until checked with Python. The project is MIT-licensed, downloads nothing, sends no telemetry, and changes files only when given an explicit flag.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in