#ascii #table #utility

bin+lib ascii-cli

A small CLI for quickly viewing the ASCII table in your terminal

2 stable releases

1.2.0 Feb 28, 2025
1.1.0 Mar 25, 2024

#1764 in Command line utilities

Download history 2/week @ 2024-11-17 19/week @ 2024-12-01 35/week @ 2024-12-08 12/week @ 2024-12-15 6/week @ 2024-12-22 8/week @ 2024-12-29 10/week @ 2025-01-05 5/week @ 2025-01-12 114/week @ 2025-02-23 51/week @ 2025-03-02

165 downloads per month

MIT/Apache

1MB
345 lines

ASCII cli

This is a small CLI for quickly viewing the ascii table in your terminal!

Usage

Simple call the CLI with the table subcommand, to view the table

ascii-cli table

Ascii Table Example

to get the table in base 16, or change the base by adding the argument:

-b {base}

You can also translate text strings to its ascii numbers, by using the to-num subcommand, like this:

ascii-cli to-num hello world
68 65 6C 6C 6F  20  77 6F 72 6C 64

And you can do the opposite too, by using the to-char subcommand, like this:

ascii-cli to-char 68 65 6C 6C 6F 20 77 6F 72 6C 64
hello world

Finally, you can use the what-is subcommand, to get more info about a specific character, like this

ascii-cli what-is 7

7: BEL - Bell
Category: Control Character
Description: Triggers a beep

Installation

You can clone the source code, and compile it yourself. Or download one of the binaries in the latest release. You can also download it with cargo install, like so:

cargo install ascii-cli

Dependencies

~1.2–8MB
~65K SLoC