{"id":15373033,"url":"https://github.com/vi/cborsplit","last_synced_at":"2026-04-18T23:33:11.376Z","repository":{"id":137140045,"uuid":"97540716","full_name":"vi/cborsplit","owner":"vi","description":"Split CBOR data into text/bytestring stream and misc stream","archived":false,"fork":false,"pushed_at":"2017-07-18T02:04:09.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-28T06:04:34.366Z","etag":null,"topics":["bytestring","cbor","extract","library","rfc7049","split","string","utility"],"latest_commit_sha":null,"homepage":null,"language":"C","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/vi.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":"2017-07-18T01:57:40.000Z","updated_at":"2017-07-18T02:03:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7cbc320-bade-40d5-89a8-da163a8bc35c","html_url":"https://github.com/vi/cborsplit","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"1f3507399af2437df831b2e8046aeaece9aa48c5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fcborsplit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fcborsplit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fcborsplit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fcborsplit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vi","download_url":"https://codeload.github.com/vi/cborsplit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243099880,"owners_count":20236280,"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":["bytestring","cbor","extract","library","rfc7049","split","string","utility"],"created_at":"2024-10-01T13:54:08.165Z","updated_at":"2025-12-24T23:11:48.030Z","avatar_url":"https://github.com/vi.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cborsplit\n\nSplits [CBOR][1] data into two streams:\n\n2\\. Only text and bytestring contents.  \n1\\. Everything else.  \n\n```\n┌──────┐     *──────────────*     ┌──────────────┐\n│ CBOR │ ──\u003e │ cborsplit -s │ ──\u003e │     text     │\n└──────┘     *──────────────*     └──────────────┘\n               │                    │\n               │                    │\n               ∨                    ∨\n             ┌──────────────┐     *──────────────*     ┌──────┐\n             │     misc     │ ──\u003e │ cborsplit -m │ ──\u003e │ CBOR │\n             └──────────────┘     *──────────────*     └──────┘\n```\n\n```\n$ ./cborsplit  --help\nUsage:\n  cborsplit {-s|--split} in out1 out2\n  cborsplit {-m|--merge} in1 in2 out\n    '-' instead of in/out means stdin/stdout\n    '-' instead of out1/out2/in1/in2 means fd 3/fd 4/fd 3/fd 4\n\n$ ./cborsplit --split something.cbor misc.dat text.dat\n$ ./cborsplit --merge misc.dat text.dat something2.cbor\n$ cmp something.cbor something2.cbor\n```\n\nWhy? Maybe to compress something better or to repace some bytes inside the text.\n\nHint: JSON data can be round-tripped though CBOR.\n\nLicense is MIT + Apache 2.\n\n[1]:https://github.com/cbor/spec-with-errata-fixed/blob/master/rfc7049-errata-corrected.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvi%2Fcborsplit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvi%2Fcborsplit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvi%2Fcborsplit/lists"}