{"id":24656728,"url":"https://github.com/jgardona/mhv","last_synced_at":"2025-10-07T17:31:52.604Z","repository":{"id":208874123,"uuid":"722108299","full_name":"jgardona/mhv","owner":"jgardona","description":"mhv is a minimalist hexadecimal viewer.","archived":false,"fork":false,"pushed_at":"2024-01-15T21:18:03.000Z","size":2051,"stargazers_count":11,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-16T09:56:00.963Z","etag":null,"topics":["cli","hexadecimal","viewer"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jgardona.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-22T13:02:43.000Z","updated_at":"2025-08-23T00:41:08.000Z","dependencies_parsed_at":"2023-12-04T22:44:26.994Z","dependency_job_id":null,"html_url":"https://github.com/jgardona/mhv","commit_stats":null,"previous_names":["jgardona/mhv","jgardona/hd"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jgardona/mhv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgardona%2Fmhv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgardona%2Fmhv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgardona%2Fmhv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgardona%2Fmhv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jgardona","download_url":"https://codeload.github.com/jgardona/mhv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgardona%2Fmhv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278813369,"owners_count":26050541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","hexadecimal","viewer"],"created_at":"2025-01-25T23:56:47.431Z","updated_at":"2025-10-07T17:31:52.263Z","avatar_url":"https://github.com/jgardona.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MHV\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://crates.io/crates/mhv\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/v/mhv.svg\" alt=\"Crates.io\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://crates.io/crates/mhv\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/d/mhv\" alt=\"Crates.io Downloads\"/\u003e\n  \u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/rust-stable-orange\" alt=\"Rust Stable\"/\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/l/mhv.svg\" alt=\"License\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/jgardona/mhv/actions/workflows/rust.yml\"\u003e\n    \u003cimg src=\"https://github.com/jgardona/mhv/actions/workflows/rust.yml/badge.svg\" alt=\"GitHub Actions Workflow Status\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n  \u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"images/logo.png\"/\u003e\n  \u003c/div\u003e\n\n## How it works?\n\n* **The color legend**\n  \n  *  ⬛ **Null byte**\n  *  🟦 **ASCII Printable Characters**\n  *  🟩 **Space Characters**\n  *  🟩 **Control Characters**\n  *  🟥 **ASCII Extended Codes**\n  \n\n\n* **Install**\n\n```\n$ cargo install mhv\n```\n\n## Usage\n\n```\n❯ mhv -h\nA minimalist hex viewer\n\nUsage: mhv [OPTIONS] \u003cFILENAME\u003e\n\nArguments:\n  \u003cFILENAME\u003e  Target file\n\nOptions:\n  -s, --skip \u003cN\u003e      Skip `N` bytes of the input. The `N` argument can also\n                      include an unit (see `--length` for details). [default: 0]\n  -l, --length \u003cN\u003e    Read `N` bytes from the input. None for full read. The `N`\n                      argument can be a unit with a decimal prefix(kb, mb).\n                      Examples: --length 3kb, -l3kb, --length 1mb...\n                      N unis are kb(1000), K(1024), mb(1000 * 1000), M(1024 * 1024),\n                      and a prefix 0x for hexadecimal, `0x0a`\n  -n, --no-squeezing  Displays all input data. Otherwise any number of output\n                      lines which would be identical to the last one are replaced\n                      with a line comprised of a single asterisk\n  -h, --help          Print help\n  -V, --version       Print version\n```\n## Stream Workflow\n\n![](images/mhv-dataflow.png)\n\n## Usage examples\n\n* **Read 5 bytes from start**\n\n![](images/read5.png)\n\n\n* **Read 32 bytes from start**\n\n![](images/read32fromstart.png)\n\n* **Skip 16 bytes and read 40**\n\n![](images/skip16andread40.png)\n\n* **Read using units kb(1000), K(1024), mb(1000 * 1000) or M(1024 * 1024)**\n\n![](images/read1kb.png)\n\n* **Read from offset 0x50 plus 16 bytes**\n\n![](images/off0x50-32bytes.png)\n\n* **Read UTF16 file**\n\n![](images/readutf16.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgardona%2Fmhv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjgardona%2Fmhv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgardona%2Fmhv/lists"}