Published: • Updated:
Tools - Free command-line tools
Free command-line tools developed by myself. Tools that follow the Unix mantra of doing one job and doing it well. All utilities have been cross compiled to work on Windows, Linus and OSX
Table of Contents
- c2c - Log File Convertor
- shrink - HTML Minification
↑ c2c - Log File Convertor
c2c is a command-line utility which converts the log files produced by the Caddy web server into the standard combined log format. Thus, making it easier to process with a log file analyser like GoAccess. The download contains the 64-bit versions compiled for Windows, Linux and OSX.
./c2c < caddy.log > combined.log
↑ shrink - HTML Minification
shrink is a command-line utility which minifies HTML by removing whitespace, comments and unnecessary closing HTML tags. Depending on the source HTML, the output file can be upwards of 35% smaller. This is the technology I use within most of my web applications to reduce the response size of my HTML, thus improving frontend performance. The download contains the 64-bit versions compiled for Windows, Linux and OSX.
./shrink < input.html > output.html