{"id":18968322,"url":"https://github.com/s1ntaxe770r/donut-rpc","last_synced_at":"2026-05-03T21:35:21.761Z","repository":{"id":118912403,"uuid":"372540458","full_name":"s1ntaxe770r/donut-rpc","owner":"s1ntaxe770r","description":"Donuts served over grpc","archived":false,"fork":false,"pushed_at":"2021-09-24T20:02:11.000Z","size":77,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-07T21:14:10.522Z","etag":null,"topics":["golang","grpc","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Go","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/s1ntaxe770r.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":"2021-05-31T14:48:30.000Z","updated_at":"2024-02-09T10:48:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"361dfcbb-4898-43c1-a331-f14b57d6406b","html_url":"https://github.com/s1ntaxe770r/donut-rpc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/s1ntaxe770r/donut-rpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s1ntaxe770r%2Fdonut-rpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s1ntaxe770r%2Fdonut-rpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s1ntaxe770r%2Fdonut-rpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s1ntaxe770r%2Fdonut-rpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s1ntaxe770r","download_url":"https://codeload.github.com/s1ntaxe770r/donut-rpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s1ntaxe770r%2Fdonut-rpc/sbom","scorecard":{"id":793828,"data":{"date":"2025-08-11","repo":{"name":"github.com/s1ntaxe770r/donut-rpc","commit":"b7766ce8670809e902e48ad29ba16215b838a1f9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/s1ntaxe770r/donut-rpc/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/s1ntaxe770r/donut-rpc/release.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:9: pin your Docker image by updating alpine to alpine@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0322 / GHSA-cg3q-j54f-5p7p","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: GO-2023-2153 / GHSA-m425-mq94-257g / GHSA-qppj-fm5r-hxr3","Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T08:21:28.576Z","repository_id":118912403,"created_at":"2025-08-23T08:21:28.576Z","updated_at":"2025-08-23T08:21:28.576Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32586187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"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":["golang","grpc","sqlite"],"created_at":"2024-11-08T14:46:52.738Z","updated_at":"2026-05-03T21:35:21.734Z","avatar_url":"https://github.com/s1ntaxe770r.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Donut RPC\n![donut](./pixel-donut.webp)\n\n\na fake donut store built using [grpc](https://grpc.io) and sqlite\n\n\n## Setup \npull the docker container\n```shell\ndocker pull ghcr.io/s1ntaxe770r/donut-store:latest\n```\nstart the service \n```shell\ndocker run -p 5050:5050 9052:9052 -d donut-store:latest\n```\n\n## Testing \nto test the service install [grpcurl](https://github.com/fullstorydev/grpcurl)\n```shell\ngo install github.com/fullstorydev/grpcurl/cmd/grpcurl\n```\n\n## List the methods\n```shell\ngrpcurl -plaintext  localhost:5050 DonutShop\n```\nsample response\n```shell\nDonutShop.GetDonut\nDonutShop.GetDonuts\nDonutShop.GetVersion\nDonutShop.MakeDonut\n```\n\n### Method (DonutShop.GetDonuts)\n```shell\ngrpcurl -plaintext localhost:5050 DonutShop/GetDonuts \n```\n\nsample response \n```json\n{\n  \"donuts\": [\n    {\n      \"name\": \"bagel\",\n      \"price\": 32,\n      \"image\": \"https://none.com/bagel\",\n      \"id\": \"1\"\n    },\n    {\n      \"name\": \"glazed donut\",\n      \"price\": 32,\n      \"image\": \"https://none.com/bagel\",\n      \"id\": \"3\"\n    },\n  ]\n}\n```\n### Method (DonutShop.GetDonut)\n```shell\ngrpcurl -d '{\"name\":\"bagel\"}'  -plaintext  localhost:5050 DonutShop/GetDonut\n```\n\nsample response \n```json\n{\n  \"name\": \"bagel\",\n  \"price\": 32,\n  \"image\": \"https://none.com/bagel\",\n  \"id\": \"1\"\n}\n```\n### Method (DonutShop.GetVersion)\n```shell \ngrpcurl -d '{}'  -plaintext  localhost:5050 DonutShop/GetVersion\n```\n\nsample response\n```json\n{\n  \"number\": \"v0.1\"\n}\n```\n### Method (DonutShop.MakeDonut)\n```shell\ngrpcurl -d '{\"name\":\"bagel\",\"price\":32,\"image\":\"https://none.com/bagel\",\"id\":\"001\"}'  -plaintext  localhost:5050 DonutShop/MakeDonut\n```\n\n```json\n{\n  \"name\": \"bagel\"\n}\n```\n\n## Accessing metrics \n```shell\ncurl http://localhost:9092/metrics\n```\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs1ntaxe770r%2Fdonut-rpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs1ntaxe770r%2Fdonut-rpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs1ntaxe770r%2Fdonut-rpc/lists"}