{"id":25070802,"url":"https://github.com/strvdr/binpeek","last_synced_at":"2025-03-31T16:28:25.301Z","repository":{"id":275815394,"uuid":"927206915","full_name":"strvdr/binpeek","owner":"strvdr","description":"like xxd but zig","archived":false,"fork":false,"pushed_at":"2025-02-04T18:01:40.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T18:39:55.184Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/strvdr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-02-04T15:27:12.000Z","updated_at":"2025-02-04T18:01:43.000Z","dependencies_parsed_at":"2025-02-04T18:39:57.018Z","dependency_job_id":"88f756d8-dcec-41cd-ba1e-2890317072f7","html_url":"https://github.com/strvdr/binpeek","commit_stats":null,"previous_names":["strvdr/binpeek"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strvdr%2Fbinpeek","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strvdr%2Fbinpeek/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strvdr%2Fbinpeek/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strvdr%2Fbinpeek/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strvdr","download_url":"https://codeload.github.com/strvdr/binpeek/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246498191,"owners_count":20787272,"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","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":[],"created_at":"2025-02-06T21:36:12.760Z","updated_at":"2025-03-31T16:28:25.263Z","avatar_url":"https://github.com/strvdr.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# binpeek\n\n**binpeek** is a minimalist hexdump utility inspired by `xxd`, rewritten in Zig for performance and simplicity. It displays binary files in hexadecimal and ASCII formats, making it a handy tool for low-level analysis and debugging.\n\n## Features\n\n- Hexadecimal and ASCII side-by-side view.\n- Clean, efficient output inspired by traditional hexdumps.\n- Written in Zig for memory safety and cross-platform compatibility.\n- Lightweight and fast, with no external dependencies.\n\n## Installation\n\n1. Ensure [Zig](https://ziglang.org/) (v0.14.0 or later) is installed.\n2. Clone the repository:\n   ```bash\n   git clone https://github.com/strvdr/binpeek\n   ```\n3. Build and install:\n   ```bash\n   cd binpeek\n   zig build -Doptimize=ReleaseFast\n   ```\n\n4. Optional: Move binpeek to `/usr/local/bin` and change config path. From the directory above binpeek:\n   ```\n    mv /binpeek/zig-out/bin/binpeek /usr/local/bin\n    mv /binpeek/.config/binpeek.toml ~/.config/\n   ```\n\n## Configuration\n**binpeek** has color customizability. Currently, we use ANSI escape codes to add color to the output as it is relatively ubiquitous and works with most terminals and operating systems. However, the potential to add complete themes to **binpeek** remains relatively straightforward if you're up for the task. \n\nIf not, there are a few default colors that **binpeek** works with. Inside binpeek.toml, you can set the following colors:\n```\n    ASCII Colors 'asciiColors'\n    Binary Colors 'binColors'\n    Format Colors 'formatColors'\n    Escape Colors 'escapeColors'\n```\nto any of the following options:\n```\n    red\n    green\n    blue\n    cyan\n    yellow\n    magenta\n```\n\n## Usage\n\nRun `binpeek` with a filename to view its hexdump:\n\n```bash\nbinpeek \u003cfilename\u003e\n```\n\n### Example Output\n\n```\n00000000: 7f45 4c46 0201 0100 0000 0000 0000 0000  .ELF............\n00000010: 0300 3e00 0100 0000 1010 0000 0000 0000  ..\u003e.............\n```\n\n## Contributing\n\nContributions are welcome! Open an issue or submit a pull request for improvements or bug fixes.\n\n## License\n\n[MIT](LICENSE) © Strydr Silverberg\n\n---\n\nInspired by `xxd`, built with Zig's simplicity in mind.🧠\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrvdr%2Fbinpeek","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrvdr%2Fbinpeek","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrvdr%2Fbinpeek/lists"}