#ip #hex #binary #cli #tool

bin+lib b0x

A simple CLI tool to display information about the provided input (integers, IP addresses, strings)

14 releases (7 breaking)

✓ Uses Rust 2018 edition

0.8.0 Mar 29, 2019
0.7.2 Dec 31, 2018
0.6.0 Dec 7, 2018
0.5.0 Oct 19, 2018

#249 in Encoding

Download history 26/week @ 2018-12-18 43/week @ 2018-12-25 14/week @ 2019-01-01 22/week @ 2019-01-08 17/week @ 2019-01-15 2/week @ 2019-01-22 3/week @ 2019-01-29 3/week @ 2019-02-05 2/week @ 2019-02-19 27/week @ 2019-02-26 2/week @ 2019-03-05 1/week @ 2019-03-12 15/week @ 2019-03-19 184/week @ 2019-03-26

93 downloads per month

MIT license

19KB
413 lines

❮b0x❯

version downloads license

A simple CLI tool to display information about the provided input (integers, IP addresses, strings).

Installation

$ cargo install b0x

Updating

$ cargo install b0x --force

Usage

$ b0x <input>...

Supported data types:

  • IP addresses
    • IPv4: 127.0.0.1
    • IPv6: 2606:4700:4700::1111
  • Unsigned integers
    • Binary: 0b101010
    • Octal: 0o52
    • Hexadecimal: 0x2A
    • Decimal: 42
  • Strings

See the built-in help for more information:

$ b0x --help

Examples

$ b0x 127.0.0.1 2606:4700:4700::1111

screenshot/ip

$ b0x 0xC0FFEE

screenshot/int

$ b0x "TeSt StRiNg"

screenshot/str

Dependencies

~2.5MB
~35K SLoC