{"id":38712626,"url":"https://github.com/tom-code/pbtool","last_synced_at":"2026-01-17T11:00:51.811Z","repository":{"id":214857017,"uuid":"737527007","full_name":"tom-code/pbtool","owner":"tom-code","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-01T16:01:36.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-01-02T12:34:47.896Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tom-code.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}},"created_at":"2023-12-31T11:41:08.000Z","updated_at":"2024-01-02T12:34:47.896Z","dependencies_parsed_at":"2023-12-31T12:39:16.216Z","dependency_job_id":null,"html_url":"https://github.com/tom-code/pbtool","commit_stats":null,"previous_names":["tom-code/pbtool"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/tom-code/pbtool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tom-code%2Fpbtool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tom-code%2Fpbtool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tom-code%2Fpbtool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tom-code%2Fpbtool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tom-code","download_url":"https://codeload.github.com/tom-code/pbtool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tom-code%2Fpbtool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28506593,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T10:25:30.148Z","status":"ssl_error","status_checked_at":"2026-01-17T10:25:29.718Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2026-01-17T11:00:37.477Z","updated_at":"2026-01-17T11:00:51.763Z","avatar_url":"https://github.com/tom-code.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nUtility to encode/decode protobuf data into human readable format (json).\n\n\n![build](https://github.com/tom-code/pbtool/actions/workflows/rust.yml/badge.svg)\n\n\nExample use:\n```\nget help:\npbtool help\npbtool encode --help\npbtool decode --help\n```\n\n\nEncode using protobuf defintion in test/a.proto type M1. Read input data from test/a.json.\nRead additional protobuf dependencies from directory test.\nOutput store into file a.bin\n\n```\npbtool encode test/a.proto .M1 test/a.json  -o a.bin -i test\n```\n\n\nEncode using protobuf defintion in test/a.proto type M1. Read input data from test/a.json.\nRead additional protobuf dependencies from directory test.\nOutput store into file a.hex in hexadecimal format\n\n```\npbtool encode test/a.proto .M1 test/a.json  -o a.hex -i test -f hex\n```\n\n\nDecode using protobuf defintion in test/a.proto type M1. Read input data from file a.bin.\nRead additional protobuf dependencies from directory test.\n\n\n```\npbtool decode test/a.proto .M1 @a.bin -i test\n```\n\n\n\nDecode using protobuf defintion in test/a.proto type M1. Read input data from file a.hex in hexadecimal format.\nRead additional protobuf dependencies from directory test.\nStore output json in xx.json.\n\n\n```\npbtool decode test/a.proto .M1 @a.hex -i test -f hex -o xx.json\n```\n\nDecode using protobuf defintion in test/a.proto type M1. Use input data from cli argument (CAoSA2FiYxoDCM0C) in base64 format\nRead additional protobuf dependencies from directory test.\n\n```\npbtool decode test/a.proto .M1 CAoSA2FiYxoDCM0C  -i test -f base64\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftom-code%2Fpbtool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftom-code%2Fpbtool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftom-code%2Fpbtool/lists"}