Hexit
A minimalistic Hex-Editor!
View Demo
·
Report Bug
·
Request Feature
Table of Contents
About The Project
- Hexit is a easy to use program used to view and edit binary files.
- Hexit allows editing the raw data contents of a file, instead of other programs which attempt to interpret the data for you.
- Hexit's UI is separated into three visual areas: an address area on the left, a hexadecimal area in the center, and a character area on the right.
Built With
Getting Started
Prerequisites
- gcc(c++-20 support is needed)
- Make
- CMake(3.23 or greater)
- libncurses-dev
Installation
- Clone the repo
git clone https://github.com/marprok/hexit.git
- Cd into the directory
cd hexit
- Make a direcoty named "build" and cd into it
mkdir build && cd build
- Create build files
cmake -DCMAKE_BUILD_TYPE=Release ..
- Build the Project
make
Usage
-
Help Page:
./hexit -h
-
Display the hex dump of a file:
./hexit -f (--file) <file> [options]
-
Options:
- Hexadecimal or decimal byte offset to seek during startup:
-o (--offset) <offset>
- Hexadecimal or decimal byte offset to seek during startup:
-
If no file is given via the -f flag, then Hexit will read bytes from standard input until EOF is reached. When displaying the hex dump of standard input, saving will do nothing.
Controls
Key | Function |
---|---|
ctrl + S | Save the file |
ctrl + X | Toggle HEX mode |
ctrl + A | Toggle ASCII mode |
ctrl + Q | Exit the editor |
ctrl + G | Go to byte |
Arrows keys | Move the cursor |
Page-up/Page-down | Move the page up/down |
License
Distributed under the MIT License. See LICENSE
for more information.