{"id":25668539,"url":"https://github.com/borud/chat","last_synced_at":"2026-02-08T10:32:57.192Z","repository":{"id":149426249,"uuid":"444869969","full_name":"borud/chat","owner":"borud","description":"Minimal example of repository that uses buf.build's schema registry.","archived":false,"fork":false,"pushed_at":"2022-01-27T16:52:38.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-26T11:35:27.835Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/borud.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-05T16:17:52.000Z","updated_at":"2022-01-06T12:18:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"dfdbf12a-22b6-4e7b-8bf7-7cb15a3f0e97","html_url":"https://github.com/borud/chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/borud/chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borud%2Fchat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borud%2Fchat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borud%2Fchat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borud%2Fchat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borud","download_url":"https://codeload.github.com/borud/chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borud%2Fchat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29227739,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T09:43:19.170Z","status":"ssl_error","status_checked_at":"2026-02-08T09:42:55.556Z","response_time":57,"last_error":"SSL_read: 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":"2025-02-24T10:34:57.069Z","updated_at":"2026-02-08T10:32:57.185Z","avatar_url":"https://github.com/borud.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat\n\nThis is a minimal example of using the [buf.build](https://buf.build) *Buf Schema Registry* (BSR) to maintain a protobuffer and/or gRPC API.  This\nexample is going to evolve a bit as I learn more about how to use *buf.build*, but we are going to try to keep it minimal.\n\nYou can find this on \u003chttps://buf.build/borud/chat\u003e\n\n## Prerequisites\n\nIf you have Go installed and set up correctly on your system.  If you have Go installed you can execute the command:\n\n```shell\nmake dep\n```\n\nwhich will install the latest version of the `buf` command in your `$GOPATH/bin` directory.\n\nIf you do not have Go installed you can check out [the installation instructions on](https://docs.buf.build/installation)\n\n## Makefile\n\nIn this project we use `make` to automate the various steps (since make is the lowest common denominator of build systems).  You can also consider the `Makefile` as a piece of compact documentation if you want to use something else in your project.  \n\n## Linting and building\n\nIf you just want to run both linting and code generation you can just use the default target in the makefile by running:\n\n```shell\nmake\n```\n\nYou can run linting and generation separately by using their own targets:\n\n```shell\nmake lint\nmake gen\n```\n\n## Check for breakage\n\nTo ensure that you do not make changes that break backward compatibility you can use the `breaking` target to check for breakage.  This compares the current state of your repository against the main branch on github.\n\n```shell\nmake breaking\n```\n\n## Publishing\n\nIn order to publish updates to the BSR you can run\n\n```shell\nmake publish\n```\n\nThis runs the breakage check and if this is okay, publishes the result to \u003chttps://buf.build/borud/chat\u003e.  Having a breakage check before you publish is a really good idea.\n\nThe other build targets are:\n\n## Cleaning up\n\nThe code generated in this project (and placed in the `pkg` directory) isn't really used for anything and doesn't get checked in.  You want to get this code from the BSR when you use it in a project anyway.  This is more to enable you to inspect the result of the code generation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborud%2Fchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborud%2Fchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborud%2Fchat/lists"}