#color #hex-dumper

bin+lib huedump

A hex/binary/octal/decimal dump generator that colours all bytes with a different colour!

3 releases

Uses old Rust 2015

0.1.2 Mar 31, 2019
0.1.1 May 28, 2018
0.1.0 May 27, 2018

#394 in #color

MIT license

7KB
148 lines

huedump

A file dump creator that cycles through hues to colour each byte! Because why not?

huedump in action

Special mention to @STPR for deciphering the text in that GIF and posting it here (I must say, I'm impressed; I didn't expect anyone to automate the process like that).

Installation

  1. Installl Rust
  2. Run cargo install huedump (It's that simple!)

Usage

Thanks to this great library called clap, you can just do huedump --help for detailed help. Here's a short version:

huedump <FILE> [--encoding=ENCODING]

Where ENCODING is anyone of:

  • hex for hexadecimal (default)
  • bin for binary
  • dec for decimal
  • oct for octal

<FILE> is the path to the file you want to dump. Any path works fine!

Here's how you dump ~/file.dat in decimal (LINUX).

huedump ~/file.dat --encoding=dec

Here's the same thing in Windows.

huedump C:/Users/<your username here>/file.dat --encoding=dec

This works on files in the same directory you're in too. Relative paths are allowed.

cd ~
huedump file.dat --encoding=dec

Dependencies

~0.7–1MB