An open API service indexing awesome lists of open source software.

https://github.com/psychedelicshayna/asciitty

A CLI utility for pretty-printing the ASCII table, inquiring about bytes, or byte ranges, and other features akin to a hexdump clone.
https://github.com/psychedelicshayna/asciitty

ascii bytes cli hexdump

Last synced: 4 months ago
JSON representation

A CLI utility for pretty-printing the ASCII table, inquiring about bytes, or byte ranges, and other features akin to a hexdump clone.

Awesome Lists containing this project

README

        

# Asciitty - Byte Visualization Swiss Army Knife
![](demo.png)
![](demo2.png)
![](demo3.png)

I'll let the help text explain for now. I'm too sleep deprived to further explain the utility at the moment.

```
Usage: asciitty [FLAGS] [OPTIONS]

Flags :
--help Show this help message.
--hex Show hexadecimal representation
--dec Show decimal representation
--oct Show octal representation
--bin Show binary representation
--chr Show raw ASCII character representation
--horizontal Lay out bytes horizontally.
--color Colorize output via ANSI.
--stdin Read bytes from stdin.

Flags can be negated by prefixing with 'no-', e.g. --no-hex
to disable flags set by default.

Options :
--columns <4> Number of columns to display.
--width <40> Width of each column.
--separator <|> Separator between columns.

--bytes Which bytes to display.
---------------------------------
ascii | extended | asciix | 1,2,3,4 ..etc
---------------------------------
When providing specific values, the following formats are
accepted: 0xN (hex), 0oN (octal), 0bN (binary), N (decimal).
Or a range of values: 0..127, 0x00..0x7F, etc, or any combination
of the above, e.g. 1,0x02,0b1100,1..10 etc. Duplicates are not
ignored, thus:

1,0x02,0b1100,1..10 =>
1, 2, 3, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10

Ranges are inclusive.

ascii, extended, and asciix can be included in the separated list
e.g. ascii,extended would be the same as asciix, likewise,
so would 0..127,extended.
--------------------------------

--string Display bytes from a string.
--file Read bytes from a file.

When using --stdin, --string, or --file, the default value of --bytes
is ignored unless explicitly provided. If multiple sources are provided,
the bytes are appended in the order the arguments are provided.
```