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.
- Host: GitHub
- URL: https://github.com/psychedelicshayna/asciitty
- Owner: PsychedelicShayna
- Created: 2024-07-22T23:18:25.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-11-14T13:12:10.000Z (7 months ago)
- Last Synced: 2025-01-11T02:45:30.416Z (5 months ago)
- Topics: ascii, bytes, cli, hexdump
- Language: Rust
- Homepage:
- Size: 374 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Asciitty - Byte Visualization Swiss Army Knife


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, 10Ranges 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.
```