#ip #hex #binary #ip-address #tool #cli-tool #integer

bin+lib b0x

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

16 releases (2 stable)

1.0.1 Jun 6, 2022
1.0.0 May 11, 2019
0.8.0 Mar 29, 2019
0.7.2 Dec 31, 2018
0.5.0 Oct 19, 2018

#749 in Science

Download history 45/week @ 2024-02-17 1/week @ 2024-02-24 5/week @ 2024-03-09

51 downloads per month

MIT license

20KB
412 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

~3.5MB
~54K SLoC