#hex-editor #tui #data #cross-platform #ascii #ui #file

app heh

A cross-platform terminal UI used for modifying file data in hex or ASCII

7 unstable releases (3 breaking)

0.4.1 Jul 31, 2023
0.4.0 Jul 26, 2023
0.3.1 Mar 20, 2023
0.3.0 Feb 28, 2023
0.1.1 Aug 8, 2022

#144 in Text editors

MIT license

145KB
2.5K SLoC

heh

Crates.io Codecov Dependency status

The HEx Helper is a cross-platform terminal UI used for modifying file data in hex or ASCII. It aims to replicate some of the look of hexyl while functionally acting like a terminal UI version of GHex.

heh is currently in alpha - it's not ready to be used in any production manner. Notably, it does not store backups if killed or crashing and there is no undo option after deleting a byte.

screenshot of heh

Installation and Usage

heh is currently only available via cargo:

cargo install heh

From heh --help:

...
Terminal UI Commands:
    ALT=                Increase the stream length by 1
    ALT-                Decrease the stream length by 1
    CNTRLs              Save
    CNTRLq              Quit
    CNTRLj              Jump to Byte
    CNTRLe              Change endianness
    CNTRLd              Page Down
    CNTRLu              Page Up
    CNTRLf or /         Search
    CNTRLn or Enter     Next Search Match
    CNTRLp              Prev Search Match

Left-clicking on a label will copy the contents to the clipboard.
Left-clicking on the ASCII or hex table will focus it.

Zooming in and out will change the size of the components.

USAGE:
    heh <FILE>

ARGS:
    <FILE>
            

OPTIONS:
    -h, --help
            Print help information

    -V, --version
            Print version information

Contributing

See CONTRIBUTING.md.

Dependencies

~5–17MB
~212K SLoC