# hexhog
configurable hex viewer/editor

To run use:
```
hexhog <file>
```
Current limitations:
- loads whole file into memory
To do:
- add selections
- add copy/paste
- add find
## Instalation
If you have cargo installed, just run:
```
cargo install hexhog
```
I hope I can make this tool available on other package managers soon.
## Configuration
Configuration file is located at:
- Linux: `/home/user/.config/hexhog/config.toml`
- Windows: `C:\Users\user\AppData\Roaming\hexhog\config.toml`
- MacOS: `/Users/user/Library/Application Support/hexhog/config.toml`
An example configuration file:
```toml
[theme]
null = "dark_gray"
ascii_printable = "blue"
ascii_whitespace = [67, 205, 128] # rgb
ascii_other = 162 # ansi
non_ascii = "red"
accent = "blue"
primary = "green"
background = "black"
border = "cyan"
[charset]
null = "."
ascii_whitespace = "·"
ascii_other = "°"
non_ascii = "×"
```
## License
Copyright (c) dvdtsb <2025>
This project is licensed under the MIT license ([LICENSE] or <http://opensource.org/licenses/MIT>)
[LICENSE]: ./LICENSE