3sl , a Sweet Hex Viewer

Celebrating 0.16.0, I was playing around the master branch for a couple of days and I wrote a little hex viewer with colors. Intro article with screenshots and the repo. It is a pretty small project with no dependencies.

I hope y’all like it.

22 Likes

Very cool!

So what do these colors signify? Or is this just a pretty rainbow?

They signify the whimsy of the author :3

2 Likes

First link in the article: your hex editor should color-code bytes

3 Likes

This is genius ! I want this in my vscode hex viewer now !

1 Like

I like it. Is there logic to the name 3sl? Trying to think how I’d remember I had it.

1 Like

Arabic word for Honey.

1 Like

Hey. I made a few updates to this to make it even better.

You can view the changelog here: https://git.sr.ht/~asibahi/3sl/tree/v0.1.4/item/CHANGELOG.md

The biggest change is the --windows or -w flag, where you can segment the file into different sections, skipping some if needed. Here is a simple screenshot example:

There is also some --range flag to get only a section of the file, and a small way to adjust color choices (customizable via environment flags). You can find all the necessary info with --help.

4 Likes