{"id":27394632,"url":"https://github.com/el-zacharoo/pubsub","last_synced_at":"2026-04-29T01:32:37.173Z","repository":{"id":117585634,"uuid":"494302160","full_name":"el-zacharoo/pubsub","owner":"el-zacharoo","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-17T02:21:09.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T22:58:23.123Z","etag":null,"topics":["golang","grpc","protobuf","pubsub"],"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/el-zacharoo.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-05-20T03:03:21.000Z","updated_at":"2023-10-25T20:17:37.000Z","dependencies_parsed_at":"2024-06-21T16:38:47.025Z","dependency_job_id":"1bc82c02-6163-43f7-8a4c-5d0712816610","html_url":"https://github.com/el-zacharoo/pubsub","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/el-zacharoo/pubsub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/el-zacharoo%2Fpubsub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/el-zacharoo%2Fpubsub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/el-zacharoo%2Fpubsub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/el-zacharoo%2Fpubsub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/el-zacharoo","download_url":"https://codeload.github.com/el-zacharoo/pubsub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/el-zacharoo%2Fpubsub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32407164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"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","protobuf","pubsub"],"created_at":"2025-04-13T22:58:20.929Z","updated_at":"2026-04-29T01:32:37.134Z","avatar_url":"https://github.com/el-zacharoo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# publisher\n\nThis service is apart of my `pub-sub` services, which connects to my other app, the `subscriber` service.\nPub/Sub allows services to communicate asynchronously, with latencies on the order of 100 milliseconds.\nWhen I push data from this service, my subscriber recieves the data, puts in in mongoDB and returns a message. \n\n## Get started \n- Install/update dependencies `go get -u`\n- Run `make proto`, this will also send the proto definitions to `https://buf.build` as a commit. \n- Run the application: `make run`, this will run on port 8081\n- Make sure the subscriber service is also running, this should be visibil on port 8082\n\n### Dapr ###\n\nInstall and configure the dapr CLI:\n\n```bash\nbrew install dapr/tap/dapr-cli\ndapr init\n```\n\n### Buf ###\n\nAdd Buf API key to `.netrc` file\n\n```bash\nmachine buf.build password \u003cyour Buf API key\u003e\nmachine go.buf.build login \u003cyour Buf username\u003e password \u003cyour Buf API key\u003e\n```\n## Postman Setup ##\n- Go to New, select gRPC Request\n- Call `localhost:8080`\n- Select the proto definitions file to put into the methods input\n- Make sure server reflection is enabled in methods\n- You can generate example JSON Messages (this is particularly useful when using the CREATE method, make sure the ID field isn't present as this is being     filled in automatically when an entry is created) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fel-zacharoo%2Fpubsub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fel-zacharoo%2Fpubsub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fel-zacharoo%2Fpubsub/lists"}