Bine - A fast terminal hex editor

( English / Japanese )

Go Test License Go Reference GitHub

A fast terminal hex editor for large files and pipelines.

DEMO

Key Features

Install

Manual installation

Download the binary package from Releases and extract the executable.

Use eget installer (cross-platform)

brew install eget        # Unix-like systems
# or
scoop install eget       # Windows

cd (YOUR-BIN-DIRECTORY)
eget hymkor/bine

Use scoop-installer (Windows only)

scoop install https://raw.githubusercontent.com/hymkor/bine/master/bine.json

or

scoop bucket add hymkor https://github.com/hymkor/scoop-bucket
scoop install bine

Use "go install" (requires Go toolchain)

go install github.com/hymkor/bine/cmd/bine@latest

Note: go install places the executable in $HOME/go/bin or $GOPATH/bin, so you need to add this directory to your $PATH to run bine.

Usage

$ bine [FILES...]

or

$ bine < in.bin > out.bin

Edit the data and save using - as the file name to write the edited data to standard output.

Key-binding

Cursor Movement

Editing

After pressing / or ?, enter the search pattern in the input field at the bottom of the screen.
You can specify the pattern in the following formats:

Display

Meta- means either pressing Alt together with the key, or pressing Esc followed by the key.

Miscellaneous

Changelog

Contributing

Acknowledgements

Author