{"id":24645585,"url":"https://github.com/xpko/protobufparser","last_synced_at":"2025-03-20T15:17:21.464Z","repository":{"id":198989301,"uuid":"701949923","full_name":"xpko/protobufparser","owner":"xpko","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-05T09:54:46.000Z","size":84,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T14:24:28.515Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/xpko.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":"2023-10-08T03:40:36.000Z","updated_at":"2024-07-08T01:06:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"35d351c8-e8f9-4aa9-abec-6fde16a2181e","html_url":"https://github.com/xpko/protobufparser","commit_stats":null,"previous_names":["humenger/protobufparser","jitcor/protobufparser","xpko/protobufparser"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpko%2Fprotobufparser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpko%2Fprotobufparser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpko%2Fprotobufparser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpko%2Fprotobufparser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xpko","download_url":"https://codeload.github.com/xpko/protobufparser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244637102,"owners_count":20485446,"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-01-25T14:22:29.603Z","updated_at":"2025-03-20T15:17:21.434Z","avatar_url":"https://github.com/xpko.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Project Overview\n\n`protobufparser` is a Go library designed for parsing Google Protocol Buffers (protobuf) files. It can read protobuf\nfiles and extract data from specified fields, making it suitable for applications that need to process and analyze\nprotobuf data.\n\n### Key Features\n\n1. **Parse Protobuf Files**: Reads and parses protobuf files, extracting field data.\n2. **Field Query**: Queries and returns data based on specified field positions.\n3. **Error Handling**: Manages file reading and parsing errors, providing detailed information.\n\n### Usage\n\n1. **Installation**:\n   ```bash\n   go get github.com/jitcor/protobufparser\n   ```\n\n2. **Basic Example**:\n   ```go\n   package main\n\n   import (\n       \"fmt\"\n       \"github.com/jitcor/protobufparser\"\n       \"io/ioutil\"\n   )\n\n   func main() {\n       fileData, err := ioutil.ReadFile(\"path/to/protobuf/file\")\n       if err != nil {\n           panic(err)\n       }\n\n       values, err := protobufparser.PQuery(fileData, 1, 2, 4, 10, 5)\n       if err != nil {\n           panic(err)\n       }\n\n       for _, v := range values {\n           fmt.Println(string(v.([]byte)))\n       }\n   }\n   ```\n\n### Contribution Guidelines\n\nWe welcome contributions, including reporting issues, suggesting features, or submitting code improvements. Please check\nthe project's contribution guidelines for more information.\n\nFor more details, visit the [protobufparser GitHub repository](https://github.com/jitcor/protobufparser).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpko%2Fprotobufparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxpko%2Fprotobufparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpko%2Fprotobufparser/lists"}