{"id":25656540,"url":"https://github.com/uben0/binary","last_synced_at":"2025-11-17T10:02:10.217Z","repository":{"id":278368164,"uuid":"935385158","full_name":"uben0/binary","owner":"uben0","description":"Command line to print binary content in desired radix","archived":false,"fork":false,"pushed_at":"2025-02-19T11:22:12.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-19T12:27:24.551Z","etag":null,"topics":["binary-converter","cat","command-line","hexadecimal","hexadecimal-converter","hexdump","octal-converter"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/uben0.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-19T11:07:35.000Z","updated_at":"2025-02-19T11:22:51.000Z","dependencies_parsed_at":"2025-02-19T12:37:57.075Z","dependency_job_id":null,"html_url":"https://github.com/uben0/binary","commit_stats":null,"previous_names":["uben0/binary"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uben0/binary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uben0%2Fbinary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uben0%2Fbinary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uben0%2Fbinary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uben0%2Fbinary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uben0","download_url":"https://codeload.github.com/uben0/binary/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uben0%2Fbinary/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284861038,"owners_count":27075155,"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-11-17T02:00:06.431Z","response_time":55,"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":["binary-converter","cat","command-line","hexadecimal","hexadecimal-converter","hexdump","octal-converter"],"created_at":"2025-02-23T22:38:03.026Z","updated_at":"2025-11-17T10:02:10.199Z","avatar_url":"https://github.com/uben0.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Command line to print binary content in desired radix\n\n```\nUsage: binary [OPTIONS] [INPUT] [OUTPUT]\n\nArguments:\n  [INPUT]   Path to a binary file [default: stdin]\n  [OUTPUT]  Path to write the text output [default: stdout]\n\nOptions:\n  -a, --address                  Show the address of the first byte of each line\n  -t, --text                     Show the corresponding ascii character\n  -r, --radix \u003cRADIX\u003e            Numerical base for the bytes value [default: bin] [possible values: bin, oct, dec, hex]\n  -s, --select \u003cSELECT\u003e          What range of the input to show, as N..N where N is an optional integer [default: ..]\n  -l, --line-width \u003cLINE_WIDTH\u003e  How many bytes per line [default: 8]\n  -b, --break-on \u003cBREAK_ON\u003e      Start a new line when a given byte value is found\n  -c, --colored                  If the output should you ansi escapes sequences\n  -h, --help                     Print help\n```\n\n```\n$ ./binary Cargo.toml -at -r hex -l 20 -b 10\n\n000000  5b 70 61 63 6b 61 67 65 5d 0a                                [package]           \n00000a  6e 61 6d 65 20 3d 20 22 62 69 6e 61 72 79 22 0a              name = \"binary\"     \n00001a  76 65 72 73 69 6f 6e 20 3d 20 22 30 2e 31 2e 30 22 0a        version = \"0.1.0\"   \n00002c  65 64 69 74 69 6f 6e 20 3d 20 22 32 30 32 31 22 0a           edition = \"2021\"    \n00003d  0a                                                                               \n00003e  5b 64 65 70 65 6e 64 65 6e 63 69 65 73 5d 0a                 [dependencies]      \n00004d  63 6c 61 70 20 3d 20 7b 20 76 65 72 73 69 6f 6e 20 3d 20 22  clap = { version = \"\n000061  34 2e 35 2e 32 39 22 2c 20 66 65 61 74 75 72 65 73 20 3d 20  4.5.29\", features = \n000075  5b 22 64 65 72 69 76 65 22 5d 20 7d 0a                       [\"derive\"] }        \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuben0%2Fbinary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuben0%2Fbinary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuben0%2Fbinary/lists"}