https://github.com/thetacom/hexabyte
A modern, modular, and robust TUI hex editor.
https://github.com/thetacom/hexabyte
binary-analysis binary-diffing hexeditor modular plugins python python3 python310 reverse-engineering terminal terminal-based tui
Last synced: 9 months ago
JSON representation
A modern, modular, and robust TUI hex editor.
- Host: GitHub
- URL: https://github.com/thetacom/hexabyte
- Owner: thetacom
- License: gpl-3.0
- Created: 2023-03-11T21:00:31.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-20T23:51:38.000Z (almost 2 years ago)
- Last Synced: 2025-04-02T08:18:49.531Z (9 months ago)
- Topics: binary-analysis, binary-diffing, hexeditor, modular, plugins, python, python3, python310, reverse-engineering, terminal, terminal-based, tui
- Language: Python
- Homepage: http://io.thetacom.info/hexabyte/
- Size: 12 MB
- Stars: 270
- Watchers: 6
- Forks: 5
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hexabyte - Commandline Hex Editor
[](https://pypi.python.org/pypi/hexabyte)
[](https://pypi.python.org/pypi/hexabyte)
[](https://pypi.org/project/hexabyte/)
[](https://pypi.python.org/pypi/hexabyte)
[](https://pypi.python.org/pypi/hexabyte)
[](https://pypi.org/project/hexabyte/)
[](https://pypi.org/project/hexabyte/)
[](https://github.com/thetacom/hexabyte/actions/)
[](https://github.com/thetacom/hexabyte/actions/)
[](https://github.com/thetacom/hexabyte/actions/)
[](https://github.com/thetacom/hexabyte/actions/)
[](https://github.com/pre-commit/pre-commit)
[](https://github.com/charliermarsh/ruff)

A modern, robust, and extensible commandline hex editor.
> **NOTE:** To reduce the number of dependencies of the core editor. The builtin plugins have been moved into separate packages. They are [hexabyte_extended_info](https://github.com/thetacom/hexabyte_extended_info) and [hexabyte_entropy](https://github.com/thetacom/hexabyte_entropy).
## User
### Install
```bash
~/$ pip install hexabyte
...
```
### Run
```bash
~/$ hexabyte --help
usage: hexabyte [-h] [-c CONFIG_FILEPATH] [-s] [files ...]
Hexabyte can operate in three distinct modes. Single file mode opens a single file with a single editor. Split screen mode opens a single file with a split screen view. Diff
mode opens two files side by side.
positional arguments:
files Specify 1 or 2 filenames
options:
-h, --help show this help message and exit
-c CONFIG_FILEPATH, --config CONFIG_FILEPATH
Specify config location. Default: ~/.config/hexabyte/config.toml
-s, --split Display a single file in two split screen editors.
```
Help Screen

Command Prompt

Single File - Split Screen

Single File - Hexadecimal View Mode

UTF8 View Mode

Binary View Mode

Two Files - Diff View

### Plugins and Customization
Hexabyte's interface is highly customizable. You can adjust the column size and column count for each view mode.

Hexabyte functionality can be extended through the use of plugins.
## Developer
```bash
~/$ git clone https://github.com/thetacom/hexabyte
...
~/$ cd hexabyte
hexabyte/$ poetry install
...
```
### Test
```bash
hexabyte/$ make test
...
```