{"id":40808720,"url":"https://github.com/dd86k/binco","last_synced_at":"2026-03-04T19:01:12.372Z","repository":{"id":101664186,"uuid":"589364456","full_name":"dd86k/binco","owner":"dd86k","description":"Binary-Text Encoder-Decoder","archived":false,"fork":false,"pushed_at":"2026-03-03T23:13:02.000Z","size":72,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-03T23:37:04.949Z","etag":null,"topics":["binary-decoder","binary-encoder","binary-text","text-encoding"],"latest_commit_sha":null,"homepage":"","language":"D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause-clear","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dd86k.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-01-15T23:07:15.000Z","updated_at":"2026-03-03T23:13:06.000Z","dependencies_parsed_at":"2023-06-07T14:45:36.999Z","dependency_job_id":null,"html_url":"https://github.com/dd86k/binco","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/dd86k/binco","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dd86k%2Fbinco","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dd86k%2Fbinco/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dd86k%2Fbinco/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dd86k%2Fbinco/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dd86k","download_url":"https://codeload.github.com/dd86k/binco/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dd86k%2Fbinco/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30090037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T18:31:08.343Z","status":"ssl_error","status_checked_at":"2026-03-04T18:31:07.708Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-decoder","binary-encoder","binary-text","text-encoding"],"created_at":"2026-01-21T21:12:35.301Z","updated_at":"2026-03-04T19:01:12.343Z","avatar_url":"https://github.com/dd86k.png","language":"D","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Binco: Binary-Text Encoder-Decoder\n\nbinco is a CLI-oriented binary-text encoder and decoder.\n\nCurrently supports:\n- `array_c`: C array (encoding only)\n- `array_csharp`: C# array (encoding only)\n- `array_d`: D array (encoding only)\n- `array_go`: Go array (encoding only)\n- `array_java`: Java array (encoding only)\n- `array_python`: Python byte array (encoding only)\n- `array_rust`: Rust array (encoding only)\n- `array_d`: D array (encoding only)\n- `ascii85`: Ascii85\n- `base2`: Binary\n- `base16`: Hexadecimal\n- `base32`: Base32 (RFC 4648)\n- `base32h`: Base32 Extended Hex (RFC 4648)\n- `base32z`: Z-Base32\n- `base36`: Base36\n- `base58`: Base58 (Bitcoin alphabet)\n- `base64`: Base64\n- `base64u`: Base64 URL without padding, RFC 4648 and 7515\n- `base64up`: Base64 URL with padding\n- `base91`: basE91\n- `intelhex`, `ihex`: Intel HEX (entry types `00` and `01` only)\n- `srecord`, `srec`: Motorola S-Record\n- `uuencode`: UUEncoding\n- `xxencode`: XXEncoding\n- `z85`: Z85 (ZeroMQ Base85)\n\nWhy? Well, I want to stop using random websites for this sort of thing.\n\n# Usage\n\nAn encoding (using `-e`) or decoding (`-d`) scheme needs to be specified.\n\nBy default, stdin and stdout streams are used for input and output.\n\nTo specify a file input, use `-i|--input`. For file output, use `-o|--output`.\n\nEncode file and show result to stdout:\n```text\n$ binco -e base64 -i dub.sdl\nbmFtZSAiYmluY28iCmRlc2NyaXB0aW9uICJCaW5hcnkgRW5jb2Rlci9EZWNvZGVyIgphdXRob3Jz\nICJkZDg2ayA8ZGRAZGF4Lm1vZT4iCmNvcHlyaWdodCAiQ29weXJpZ2h0IMKpIDIwMjMsIGRkODZr\nIDxkZEBkYXgubW9lPiIKbGljZW5zZSAiQlNELTMtQ2xhdXNlLUNsZWFyIgoKdGFyZ2V0VHlwZSAi\nZXhlY3V0YWJsZSIKCnN0cmluZ0ltcG9ydFBhdGhzICIuIg==\n```\n\nEncode stream to base64:\n```text\n$ echo 123 | binco -e base64\nMTIzIA0K\n```\n\nEncode file as a C array:\n```text\n$ binco -i bin -e array_c\nunsigned char data[] = {\n    0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x20, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x21\n    0x0a\n};\n```\n\nDecode Intel HEX to S-Record on-screen:\n```text\n$ binco -d ihex -i bin -e srec\nS11300005361646C792C206A7573742061206D656A\nS1130010616E696E676C657373206578616D706C71\nS11300206520696E20746578742C20736F72727900\nS1050030210A9F\nS9030000FC\n```\n\nDecode base64-encoded file to another file:\n```text\n$ binco -d base64 -i example.txt -o example.exe\n```\n\nTranscode a file to another encoding:\n```text\n$ binco -d base16 -i a.txt -e base64 -o b.txt\n```\n\n# Limitations\n\n## Newlines\n\nCurrently, due to a limitation to `File.byLine`, only the `\\n` line terminator\nis understood by the decoder.\n\n# Building\n\nTo build binco, you'll need any D compiler (dmd, gdc, ldc) and dub.\n\nTests: `dub test`\n\nDebug build: `dub build`\n\nRelease build: `dub build -b release`\n\nWith LDC: `dub build -b release --compiler=ldc2`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdd86k%2Fbinco","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdd86k%2Fbinco","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdd86k%2Fbinco/lists"}