{"id":16766115,"url":"https://github.com/akshayjshah/connectproto","last_synced_at":"2025-08-10T14:16:04.325Z","repository":{"id":158992569,"uuid":"634359409","full_name":"akshayjshah/connectproto","owner":"akshayjshah","description":"Configurable codecs for connect-go","archived":false,"fork":false,"pushed_at":"2024-03-10T11:50:34.000Z","size":34,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-10T19:16:54.624Z","etag":null,"topics":["connectrpc","json","protobuf"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/go.akshayshah.org/connectproto","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/akshayjshah.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-04-29T21:29:58.000Z","updated_at":"2025-04-09T11:57:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"197bfc3e-5fb8-479a-8b2a-6635410577dd","html_url":"https://github.com/akshayjshah/connectproto","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/akshayjshah/connectproto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshayjshah%2Fconnectproto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshayjshah%2Fconnectproto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshayjshah%2Fconnectproto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshayjshah%2Fconnectproto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akshayjshah","download_url":"https://codeload.github.com/akshayjshah/connectproto/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshayjshah%2Fconnectproto/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269734204,"owners_count":24466574,"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-10T02:00:08.965Z","response_time":71,"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":["connectrpc","json","protobuf"],"created_at":"2024-10-13T06:05:26.153Z","updated_at":"2025-08-10T14:16:04.287Z","avatar_url":"https://github.com/akshayjshah.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"connectproto\n============\n\n[![Build](https://github.com/akshayjshah/connectproto/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/akshayjshah/connectproto/actions/workflows/ci.yaml)\n[![Report Card](https://goreportcard.com/badge/go.akshayshah.org/connectproto)](https://goreportcard.com/report/go.akshayshah.org/connectproto)\n[![GoDoc](https://pkg.go.dev/badge/go.akshayshah.org/connectproto.svg)](https://pkg.go.dev/go.akshayshah.org/connectproto)\n\n\n`connectproto` allows [Connect][connect] users to customize the default JSON\nand binary codecs. It also includes support for the optimized marshaling\nmethods generated by [vtprotobuf].\n\n## Installation\n\n```\ngo get go.akshayshah.org/connectproto\n```\n\n## Usage\n\nUse this package's options just like the ones built into `connect-go`:\n\n```go\nopt := connectproto.WithJSON(\n  protojson.MarshalOptions{UseProtoNames: true},\n  protojson.UnmarshalOptions{DiscardUnknown: true},\n)\n\n// The pingv1connect package is generated from your Protocol Buffer schemas\n// by protoc-gen-connect-go. You can use connectproto options with \n// both handlers and clients.\nroute, handler := pingv1connect.NewPingServiceHandler(\n  \u0026pingv1connect.UnimplementedPingServiceHandler{},\n  opt,\n)\nclient := pingv1connect.NewPingServiceClient(\n  http.DefaultClient,\n  \"https://localhost:8080\",\n  opt,\n)\n```\n\n## Status: Unstable\n\nThis module is unstable, with a stable release expected before the end of 2023.\nIt supports:\n\n* The [two most recent major releases][go-support-policy] of Go.\n* [APIv2] of Protocol Buffers in Go (`google.golang.org/protobuf`).\n\nWithin those parameters, `connectproto` follows semantic versioning. \n\n## Legal\n\nOffered under the [MIT license][license].\n\n[APIv2]: https://blog.golang.org/protobuf-apiv2\n[go-support-policy]: https://golang.org/doc/devel/release#policy\n[license]: https://github.com/akshayjshah/connectproto/blob/main/LICENSE\n[connect]: https://github.com/connectrpc.com/connect-go\n[vtprotobuf]: https://github.com/planetscale/vtprotobuf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakshayjshah%2Fconnectproto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakshayjshah%2Fconnectproto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakshayjshah%2Fconnectproto/lists"}