https://github.com/awaitlink/b0x
A simple CLI tool to display info about integers :1234:, IPs :globe_with_meridians:, strings :memo:
https://github.com/awaitlink/b0x
binary cli cli-app cli-utilities convert hexadecimal ip ipv4 ipv6 octal rust-crate
Last synced: 11 months ago
JSON representation
A simple CLI tool to display info about integers :1234:, IPs :globe_with_meridians:, strings :memo:
- Host: GitHub
- URL: https://github.com/awaitlink/b0x
- Owner: awaitlink
- License: mit
- Created: 2018-08-30T12:06:19.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-06-06T20:24:36.000Z (about 4 years ago)
- Last Synced: 2025-03-16T17:51:23.330Z (over 1 year ago)
- Topics: binary, cli, cli-app, cli-utilities, convert, hexadecimal, ip, ipv4, ipv6, octal, rust-crate
- Language: Rust
- Homepage:
- Size: 1.11 MB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ❮b0x❯
[![version][badges/version]][crates.io/b0x]
[![downloads][badges/downloads]][crates.io/b0x]
[![license][badges/license]][license]
A simple CLI tool to display information about the provided input (integers, IP addresses, strings).
### Installation
```console
$ cargo install b0x
```
### Updating
```console
$ cargo install b0x --force
```
### Usage
```console
$ b0x ...
```
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:
```console
$ b0x --help
```
### Examples
```console
$ b0x 127.0.0.1 2606:4700:4700::1111
```
![screenshot/ip]
```console
$ b0x 0xC0FFEE
```
![screenshot/int]
```console
$ b0x "TeSt StRiNg"
```
![screenshot/str]
[crates.io/b0x]: https://crates.io/crates/b0x
[license]: https://github.com/u32i64/b0x/blob/master/LICENSE
[changelog]: https://github.com/u32i64/b0x/blob/master/CHANGELOG.md
[badges/version]: https://img.shields.io/crates/v/b0x.svg?style=for-the-badge
[badges/downloads]: https://img.shields.io/crates/d/b0x.svg?style=for-the-badge
[badges/license]: https://img.shields.io/crates/l/b0x.svg?style=for-the-badge
[screenshot/ip]: https://raw.githubusercontent.com/u32i64/b0x/master/img/ip.png
[screenshot/int]: https://raw.githubusercontent.com/u32i64/b0x/master/img/int.png
[screenshot/str]: https://raw.githubusercontent.com/u32i64/b0x/master/img/str.png