{"id":23658576,"url":"https://github.com/lvkolb/zzd","last_synced_at":"2026-07-18T05:34:07.274Z","repository":{"id":270135498,"uuid":"909418810","full_name":"lvkolb/zzd","owner":"lvkolb","description":"Project to give an introduction and start learning Zig for a university course. A hexdump utility built with Zig that helps you inspect binary content in a human-readable format.","archived":false,"fork":false,"pushed_at":"2024-12-28T18:03:44.000Z","size":5907,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-07-18T05:34:04.584Z","etag":null,"topics":["beginner-code","hexdump","learning-exercise","learning-project","zig","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/lvkolb.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-28T16:40:56.000Z","updated_at":"2024-12-28T18:06:14.000Z","dependencies_parsed_at":"2024-12-28T22:48:10.131Z","dependency_job_id":null,"html_url":"https://github.com/lvkolb/zzd","commit_stats":null,"previous_names":["lvkolb/zzd"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lvkolb/zzd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvkolb%2Fzzd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvkolb%2Fzzd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvkolb%2Fzzd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvkolb%2Fzzd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lvkolb","download_url":"https://codeload.github.com/lvkolb/zzd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvkolb%2Fzzd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35606857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-18T02:00:07.223Z","response_time":61,"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":["beginner-code","hexdump","learning-exercise","learning-project","zig","ziglang"],"created_at":"2024-12-29T00:48:09.242Z","updated_at":"2026-07-18T05:34:07.268Z","avatar_url":"https://github.com/lvkolb.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zzd\n\n[![Zig](https://img.shields.io/badge/Made%20with-Zig-%23F7A41D)](https://ziglang.org)\n\nProject to give an introduction and start learning Zig for a university course. A hexdump utility built with Zig that helps you inspect binary content in a human-readable format.\n\n## Features\n\n- Cross-platform support (Windows, Linux, macOS)\n- Flexible display options and number formats\n- Pattern highlighting capabilities\n- Customizable output formatting\n\n## Prerequisites\n\nBefore installing `zzd`, ensure you have [Zig](https://ziglang.org/download/) installed on your system.\n\n## Installation\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/lvkolb/zzd.git\ncd zzd\n```\n\n### 2. Build and Install\n\nChoose one of the following installation methods:\n\n#### Method A: Global Installation\n\n```bash\n# Build and install to /usr/local/bin (requires admin privileges)\nzig build install-to-bin\n```\n\n#### Method B: Local Build\n\n```bash\n# Just build the project\nzig build\n```\n\n## Usage\n\n### Basic Command\n\n```bash\nzzd \u003cfilename\u003e [options]\n```\n\n### Platform-Specific Paths\n\n#### Windows\n```bash\nzig-out\\bin\\zzd \u003cfilename\u003e [options]\n```\n\n#### Linux/macOS\n```bash\nzig-out/bin/zzd \u003cfilename\u003e [options]\n```\n\n### Command-Line Options\n\n#### Display Options\n```\n--line-length=\u003cn\u003e   Set the number of bytes per line (default: 16, max: 64)\n--group=\u003cn\u003e         Group bytes in sets of n (default: 1)\n--no-ascii          Don't display ASCII representation\n--no-offset         Don't display offset column\n--color=\u003cn\u003e         Set color display mode\n```\n\n#### Number Format Options\n```\n(default: hex)      Display numbers in hexadecimal\n--decimal           Display numbers in decimal\n--octal             Display numbers in octal\n--binary            Display numbers in binary\n```\n\n#### Data Selection\n```\n--limit=\u003cn\u003e         Limit the number of bytes displayed\n--skip=\u003cn\u003e          Skip first n bytes of input\n```\n\n#### Pattern Matching\n```\n--highlight=\u003chex\u003e   Highlight specific byte sequences (can be used multiple times)\n```\n\n### Examples\n\n#### Basic File Analysis\n```bash\n# Display a file in default hexadecimal format\nzzd sequence.bin\nzig-out\\bin\\zzd zzd sequence.bin\nzig-out/bin/zzd zzd sequence.bin\n\n# Display with custom line length and grouping\nzzd sequence.bin --line-length=32 --group=4\nzig-out\\bin\\zzd zzd sequence.bin --line-length=32 --group=4\nzig-out/bin/zzd zzd sequence.bin --line-length=32 --group=4\n\n# Show only decimal values without ASCII\nzzd sequence.bin --decimal --no-ascii\nzig-out\\bin\\zzd zzd sequence.bin --decimal --no-ascii\nzig-out/bin/zzd zzd sequence.bin --decimal --no-ascii\n```\n\n#### Advanced Usage\n```bash\n# Skip first 100 bytes and limit output to 500 bytes\nzzd large_file.bin --skip=100 --limit=500\nzig-out\\bin\\zzd zzd large_file.bin --skip=100 --limit=500\nzig-out/bin/zzd zzd large_file.bin --skip=100 --limit=500\n\n# Highlight specific byte patterns\nzzd firmware.bin --highlight=FF00 --highlight=A5\nzig-out\\bin\\zzd zzd firmware.bin --highlight=FF00 --highlight=A5\nzig-out/bin/zzd zzd firmware.bin --highlight=FF00 --highlight=A5\n\n# Custom formatting with binary output\nzzd data.bin --binary --line-length=8 --group=4\nzig-out\\bin\\zzd zzd data.bin --binary --line-length=8 --group=4\nzig-out/bin/zzd zzd data.bin --binary --line-length=8 --group=4\n```\n## License\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvkolb%2Fzzd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flvkolb%2Fzzd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvkolb%2Fzzd/lists"}