{"id":19557854,"url":"https://github.com/monax/peptide","last_synced_at":"2025-08-02T23:10:22.741Z","repository":{"id":54880994,"uuid":"329348224","full_name":"monax/peptide","owner":"monax","description":"Protobuf generator supporting custom types","archived":false,"fork":false,"pushed_at":"2021-01-24T12:36:46.000Z","size":383,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-08T21:58:06.216Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/monax.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}},"created_at":"2021-01-13T15:21:16.000Z","updated_at":"2021-01-17T19:12:00.000Z","dependencies_parsed_at":"2022-08-14T05:31:23.094Z","dependency_job_id":null,"html_url":"https://github.com/monax/peptide","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monax%2Fpeptide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monax%2Fpeptide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monax%2Fpeptide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monax%2Fpeptide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monax","download_url":"https://codeload.github.com/monax/peptide/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240814864,"owners_count":19861958,"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":"2024-11-11T04:44:16.204Z","updated_at":"2025-02-26T08:16:32.913Z","avatar_url":"https://github.com/monax.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# I just want to say sorry\n\n_**This is a proof-of-concept**_\n\nPeptide is an anti-homage to amino the now defunct semi-protobuf-compatible library (https://github.com/tendermint/go-amino) (thanks for all the fish amino :) ).\n\nThis aims to provide support for custom types with the Google Go Protobuf V2 API (https://github.com/protocolbuffers/protobuf-go)\n\nFollowing the approach suggested protobuf-go maintainer here: https://github.com/xen0n/protobuf-gogogo/issues/1\n\n## Theft\n\nI have _borrowed_ the implementations provided by @xen0n (see: https://github.com/gogo/protobuf/issues/691) for the `gogoproto` extensions listed below:\n\n\u003e I took the time to re-implement the top 3 extensions needed by our projects, in the form of protobuf-gogogo (pardon the name). Note this is very preliminary work without testing infrastructure set up, don't use in (your) production yet.\n\nThe extensions implemented:\n- `gogoproto.moretags`\n- `gogoproto.jsontag`\n- `gogoproto.enumvalue_customname`\n\n## Test\n\nRun:\n\n```bash\n./test.bash\n```\n\nPerhaps some tea? \n\n### Extensions\n\nTo test additional extensions add a `.proto` file to [testdata](./cmd/protoc-gen-go-peptide/testdata)\n\nThen run:\n\n```bash \n./regenerate.bash\n```\n\nThen `./test.bash` again to see if the `.pb.go` files compile. If they compile they are probably fine and should be shipped.\n\n## Credits\n\n- This is a partial fork of: https://github.com/protocolbuffers/protobuf-go\n- This is based on: https://github.com/xen0n/protobuf-gogogo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonax%2Fpeptide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonax%2Fpeptide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonax%2Fpeptide/lists"}