Skip to content

Simple program to process text into binary, hexadecimal, and even octal! Ideal for piped input and/or output.

License

Notifications You must be signed in to change notification settings

nico-castell/go-binme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go bin-unbin

Commits since last release Release License Lines of code GitHub Workflow Status

I've been learning Golang for a while, I made this program to process input into binary, hexadecimal and octal.

Usage

  • To process text input into binary:
    $ go-binme
  • To process text input into hexadecimal:
    $ go-binme -x
  • To process text input into octal:
    $ go-binme -o
  • To process text input into decimal:
    $ go-binme -d
  • You can pipe the input:
    $ echo "Hello, World" | go-binme

The program will print a new line after it's done, but only if the output is a terminal, not a pipe.

Getting it

To get the program run the following command:

go get github.com/nico-castell/go-binme

Alternatively, you can clone the repository and install it from there:

git clone https://github.com/nico-castell/go-binme.git && \
    cd go-binme                                        && \
    go install .

Either way, you'll need to Golang installed. To install it, you should follow the official instructions.

About

This program and this repository are available under the Unlicense license.

About

Simple program to process text into binary, hexadecimal, and even octal! Ideal for piped input and/or output.

Topics

Resources

License

Stars

Watchers

Forks

Languages