{"id":20895167,"url":"https://github.com/wy-z/tproto","last_synced_at":"2025-09-11T21:48:39.315Z","repository":{"id":77052468,"uuid":"103013156","full_name":"wy-z/tproto","owner":"wy-z","description":"Parse golang data structure into proto3.","archived":false,"fork":false,"pushed_at":"2018-02-06T09:33:42.000Z","size":9767,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-05T01:12:35.749Z","etag":null,"topics":["ast","go","grpc","json-schema","protobuf"],"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/wy-z.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":"2017-09-10T07:59:22.000Z","updated_at":"2019-02-11T15:44:08.000Z","dependencies_parsed_at":"2023-06-18T20:26:21.933Z","dependency_job_id":null,"html_url":"https://github.com/wy-z/tproto","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/wy-z/tproto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wy-z%2Ftproto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wy-z%2Ftproto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wy-z%2Ftproto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wy-z%2Ftproto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wy-z","download_url":"https://codeload.github.com/wy-z/tproto/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wy-z%2Ftproto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274407707,"owners_count":25279338,"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-09-10T02:00:12.551Z","response_time":83,"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":["ast","go","grpc","json-schema","protobuf"],"created_at":"2024-11-18T10:25:31.787Z","updated_at":"2025-09-11T21:48:39.257Z","avatar_url":"https://github.com/wy-z.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tproto\n[![Build Status](https://travis-ci.org/wy-z/tproto.svg?branch=master)](https://travis-ci.org/wy-z/tproto) [![GoDoc](https://godoc.org/github.com/wy-z/tproto?status.svg)](http://godoc.org/github.com/wy-z/tproto) [![Go Report Card](https://goreportcard.com/badge/github.com/wy-z/tproto)](https://goreportcard.com/report/github.com/wy-z/tproto)\n\nParse golang data structure into proto3.\n\n## Installation\n```\ngo get github.com/wy-z/tproto/...\n```\nOr\n```\nimport \"github.com/wy-z/tproto/tproto\" # see cmd/tproto/cli.go\n```\n\n## Usage\n```\nNAME:\n   tproto - Parse golang data structure into proto3.\n\nUSAGE:\n   tproto [global options] command [command options] [arguments...]\n\nVERSION:\n   1.2.3\n\nCOMMANDS:\n     help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --package PKG, -p PKG                package path PKG (default: \".\")\n   --expressions EXPRS, --exprs EXPRS   (any-of required) type expressions, seperated by ',' EXPRS\n   --decorator DECORATOR, -d DECORATOR  (any-of required) parse package with decorator DECORATOR\n   --proto-package PP, --pp PP          (required) proto package PP\n   --proto-file PF, --pf PF             load messages from proto file PF\n   --json-tag, --jt                     don't ignore json tag\n   --help, -h                           show help\n   --version, -v                        print the version\n```\n\n## QuickStart\n\n`tproto -p github.com/wy-z/tproto/samples -exprs BasicTypes,NormalStruct -pp samples`\nOr\n`tproto -p github.com/wy-z/tproto/samples -pp samples BasicTypes NormalStruct`\n\n## Samples\n\nsee `github.com/wy-z/tproto/samples/source`\n\n## Test\n\n```\ngo get -u github.com/jteeuwen/go-bindata/...\ngo generate ./samples \u0026\u0026 go test -v ./tproto\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwy-z%2Ftproto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwy-z%2Ftproto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwy-z%2Ftproto/lists"}