MCPcopy Index your code
hub / github.com/DVDTSB/hexhog

github.com/DVDTSB/hexhog @v0.1.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.3 ↗ · + Follow
55 symbols 101 edges 9 files 5 documented · 9%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

hexhog

configurable hex viewer/editor

hexhog lol

To run use:

hexhog <file>

Instalation

If you have cargo installed, just run:

cargo install hexhog

Alternatevely, it is available on AUR (many thanks to @dhopcs).

yay -S hexhog

I hope I can make this tool available on other package managers soon.

Features

For now hexhog allows for basic hex editing features for files, such as editing/deleting/inserting bytes, as well as selecting and copy/pasting bytes. I'm look forward to adding other features, including (but not only): - moving the selection - find/replace - bookmarks - better navigation - CP437 - other coloring options

While I do love(and use) modal editors, hexhog does not attempt to be one. I am trying to make it as intuitive as possible :)

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:

[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 = "×"

Feedback

Feedback on hexhog is highly appreciated. Thanks! :D

License

Copyright (c) dvdtsb <2025>

This project is licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT)

Core symbols most depended-on inside this repo

get_idx
called by 10
src/app/utils.rs
do_change
called by 5
src/app/change.rs
selection_range
called by 4
src/app/utils.rs
value
called by 2
src/byte.rs
get_bytetype
called by 2
src/byte.rs
set_idx
called by 2
src/app/utils.rs
move_right
called by 2
src/app/utils.rs
move_left
called by 2
src/app/utils.rs

Shape

Method 45
Class 6
Enum 3
Function 1

Languages

Rust100%

Modules by API surface

src/app/utils.rs18 symbols
src/config.rs10 symbols
src/byte.rs8 symbols
src/app/render.rs6 symbols
src/app/state.rs5 symbols
src/app/change.rs5 symbols
src/app/events.rs2 symbols
src/main.rs1 symbols

For agents

$ claude mcp add hexhog \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact