Tools - Free command-line tools

Written by Paul Bradley

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, Linux and OSX

Table of Contents
  1. c2c - Log File Convertor
  2. 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.

usage:

1./c2c < caddy.log > combined.log

downloads:

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.

usage:

1./shrink < input.html > output.html

releases: