{"id":16933554,"url":"https://github.com/yah01/cybuf-go","last_synced_at":"2026-03-03T16:08:11.395Z","repository":{"id":105206384,"uuid":"255947802","full_name":"yah01/cybuf-go","owner":"yah01","description":"a go package for marshal \u0026 unmarshal CyBuf format data","archived":false,"fork":false,"pushed_at":"2020-05-01T16:38:14.000Z","size":137,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T18:53:27.581Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/yah01.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":"2020-04-15T14:48:17.000Z","updated_at":"2020-12-23T03:21:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"9c19470e-0617-434e-81c2-a419333d125d","html_url":"https://github.com/yah01/cybuf-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yah01/cybuf-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yah01%2Fcybuf-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yah01%2Fcybuf-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yah01%2Fcybuf-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yah01%2Fcybuf-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yah01","download_url":"https://codeload.github.com/yah01/cybuf-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yah01%2Fcybuf-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270644742,"owners_count":24621332,"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-08-15T02:00:12.559Z","response_time":110,"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":[],"created_at":"2024-10-13T20:49:46.700Z","updated_at":"2026-03-03T16:08:06.374Z","avatar_url":"https://github.com/yah01.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CyBuf-go\na go package for marshal\u0026unmarshal CyBuf format data\n- [English](README.md)\n- [中文](README.zh_CN.md)\n\n## Usage\nCyBuf looks like JSON, there are three differences:\n- Outermost braces are optional, expect in CyBuf stream\n- CyBuf split attributes by space characters(space,line break,tab...), not comma.\n- Attributes of CyBuf have no double quotes, expect for attribute names that contain control characters.\n\nA standard CyBuf format data:\n```javascript\n{\n    Name: \"yah01\"\n    Age: 21\n    Weight: 100.2\n    Live: true\n    Friends: [\n        {\n            Name: \"wmx\"\n            Age: 100\n            Weight: 200.5\n            Live: false\n            Friends: nil\n            School: {\n                Name: \"SHU\"\n                Age: 114514\n            }\n        }\n    ]\n    School: {\n        Name: \"Wuhan University\"\n        Age: 120\n    }\n}\n```\n\n## How to contribute\nJust contact me, there are something need to do:\n- Design error types and messages\n- Marshal struct\n- Unmarshal struct\n- Zip/Unzip a cybuf data (go to [cybuf-formatter](https://github.com/yah01/cybuf-formatter) repo)\n- Support attribute names containing control characters\n- Support custom Marshal()/Unmarshal() methods\n- Support unmarshal() from io.Reader(bytes stream)\n- Optimize the algorithms\n\nThere's no CyBuf support for other languages, they need you:\n- [cybuf-py](https://github.com/yah01/cybuf-py)\n- [cybuf-cpp](https://github.com/yah01/cybuf-cpp)\n- [cybuf-rust](https://github.com/yah01/cybuf-rust)\n- [cybuf-java](https://github.com/yah01/cybuf-java/blob/master/Cybuf.java)\n- ...","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyah01%2Fcybuf-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyah01%2Fcybuf-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyah01%2Fcybuf-go/lists"}