{"id":17322629,"url":"https://github.com/pablojimpas/protoc-gen-sqlc","last_synced_at":"2025-04-06T10:42:13.973Z","repository":{"id":246044156,"uuid":"819934365","full_name":"pablojimpas/protoc-gen-sqlc","owner":"pablojimpas","description":"Protocol Buffers plugin to generate SQL schema and queries with sqlc annotations.","archived":false,"fork":false,"pushed_at":"2025-03-29T01:15:57.000Z","size":152,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T15:05:27.559Z","etag":null,"topics":["code-generation","code-generator","connectrpc","crud","crud-generator","generator","go","grpc","mysql","orm","postgresql","protobuf","rpc","sql","sqlc","sqlite"],"latest_commit_sha":null,"homepage":"","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/pablojimpas.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":"2024-06-25T13:19:37.000Z","updated_at":"2025-03-29T01:16:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"d23f0897-f6cc-48f4-9499-0305ad50c6c1","html_url":"https://github.com/pablojimpas/protoc-gen-sqlc","commit_stats":null,"previous_names":["pablojimpas/protoc-gen-sqlc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablojimpas%2Fprotoc-gen-sqlc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablojimpas%2Fprotoc-gen-sqlc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablojimpas%2Fprotoc-gen-sqlc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablojimpas%2Fprotoc-gen-sqlc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pablojimpas","download_url":"https://codeload.github.com/pablojimpas/protoc-gen-sqlc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247471288,"owners_count":20944153,"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":["code-generation","code-generator","connectrpc","crud","crud-generator","generator","go","grpc","mysql","orm","postgresql","protobuf","rpc","sql","sqlc","sqlite"],"created_at":"2024-10-15T13:42:52.851Z","updated_at":"2025-04-06T10:42:13.948Z","avatar_url":"https://github.com/pablojimpas.png","language":"Go","readme":"# protoc-gen-sqlc\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/pablojimpas/protoc-gen-sqlc/.svg)](https://pkg.go.dev/github.com/pablojimpas/protoc-gen-sqlc/)\n[![Go CI](https://github.com/pablojimpas/protoc-gen-sqlc/actions/workflows/go.yaml/badge.svg)](https://github.com/pablojimpas/protoc-gen-sqlc/actions/workflows/go.yaml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/pablojimpas/protoc-gen-sqlc)](https://goreportcard.com/report/github.com/pablojimpas/protoc-gen-sqlc)\n\nProtocol Buffers plugin to generate SQL schema and queries with\n[sqlc](https://sqlc.dev/) annotations.\n\n## Why?\n\n## Install\n\nYou can download and compile the latest version from source using Go directly:\n\n```shell\ngo install github.com/pablojimpas/protoc-gen-sqlc/cmd/protoc-gen-sqlc@latest\n```\n\nor you can download pre-built binaries from the [Github releases\npage](https://github.com/pablojimpas/protoc-gen-sqlc/releases/latest).\n\n## Usage\n\n### With `buf`\n\nTo use `buf` you have to make a config file called `buf.gen.yaml` with your\noptions, like this:\n\n```yaml\nversion: v2\nplugins:\n  - local: protoc-gen-sqlc\n    out: out\n```\n\nAnd then run `buf generate`. See [the documentation on buf\ngenerate](https://buf.build/docs/reference/cli/buf/generate#usage) for more\nhelp.\n\n### With `protoc`\n\nThis plugin works with `protoc` as well. Here's a basic usage example:\n\n```shell\nprotoc example.proto --sqlc_out=gen\n```\n\n## General Idea\n\n![Idea diagram](./docs/diagrams/idea.svg)\n\n## Schema Build Process\n\n![Generate schema sequence diagram](./docs/diagrams/schema-seq.svg)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablojimpas%2Fprotoc-gen-sqlc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablojimpas%2Fprotoc-gen-sqlc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablojimpas%2Fprotoc-gen-sqlc/lists"}