logo

xcd-rgb

colorful hex dump (RGB edition) git clone https://anongit.hacktivis.me/git/xcd-rgb.git
commit: e06a5f0d30b139dc41134b733d3e24487d7264fc
parent 196ad8682a5e698046749921ac5ec284027911dd
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri,  9 Jan 2026 06:52:28 +0100

README.md: new

Diffstat:

AREADME.md29+++++++++++++++++++++++++++++
Axcd_screenshot.png0
2 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -0,0 +1,29 @@ +# xcd - colorful hex dump (RGB edition) +``` +SPDX-FileCopyrightText: 2025 Haelwenn (lanodan) Monnier <contact+xcd-rgb@hacktivis.me> +SPDX-License-Identifier: MPL-2.0 +``` + +Prints a colorized hexdump where each value has a different color. + +![screenshot of xcd printing it's first 512 bytes](./xcd_screenshot.png) + +Inspired by <https://www.muppetlabs.com/~breadbox/software/xcd.html> +which uses 256-color, while this implementation uses +24 bit/8 bit-per-pixel RGB via ISO/IEC 8613-6 SGR 38/SGR 48 with +parameter 2 (direct RGB color), as implemented by most terminals. + +## Dependencies +* C99 Compiler (gcc, clang, tcc, …) +* POSIX.1-2008 (make, libc) + +## Packaging +* tarballs: <https://distfiles.hacktivis.me/releases/xcd-rgb/> +* public keys used for signing the tarballs: <https://distfiles.hacktivis.me/releases/signify/> + +* compiling: `make` +* installing (DESTDIR supported): `make install` + +Or in case a conflict with the original `xcd` would be unwarranted: +* compiling: `make xcd-rgb` +* installing (DESTDIR supported): `make install-rgb` diff --git a/xcd_screenshot.png b/xcd_screenshot.png Binary files differ.