{"id":36441548,"url":"https://github.com/gerifield/epher","last_synced_at":"2026-01-11T21:58:47.432Z","repository":{"id":140370146,"uuid":"82280729","full_name":"Gerifield/epher","owner":"Gerifield","description":"Event Pusher","archived":false,"fork":false,"pushed_at":"2023-10-13T08:02:12.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-21T19:08:09.292Z","etag":null,"topics":["events","golang","hacktoberfest","http","websocket"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gerifield.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":"2017-02-17T09:32:16.000Z","updated_at":"2023-10-13T08:03:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"ef6ef074-be69-4d2a-870d-a85b8ae7ea07","html_url":"https://github.com/Gerifield/epher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Gerifield/epher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gerifield%2Fepher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gerifield%2Fepher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gerifield%2Fepher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gerifield%2Fepher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gerifield","download_url":"https://codeload.github.com/Gerifield/epher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gerifield%2Fepher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28324682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T18:42:50.174Z","status":"ssl_error","status_checked_at":"2026-01-11T18:39:13.842Z","response_time":60,"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":["events","golang","hacktoberfest","http","websocket"],"created_at":"2026-01-11T21:58:47.337Z","updated_at":"2026-01-11T21:58:47.425Z","avatar_url":"https://github.com/Gerifield.png","language":"Go","readme":"# Event Pusher ![Go](https://github.com/Gerifield/epher/workflows/Go/badge.svg?branch=master) [![Coverage Status](https://coveralls.io/repos/github/Gerifield/epher/badge.svg?branch=master)](https://coveralls.io/github/Gerifield/epher?branch=master)\n\nThis stuff allows users to subscribe to a given channel and let the services to send notifications to those channels with an HTTP request.\nAll the messages sent to the websocket endpoint will be dropped.\n\n# Usage\n\n```\n  -listen string\n    \tHTTP and WS server listen address (default \":9090\")\n  -redisAddr string\n    \tRedis server address (optional)\n  -redisPass string\n    \tRedis server password (optional)\n```\n\n# Example\n\nStart the server:\n\n```\n$ go run main.go\n```\nIt'll start on port `9090` by default.\n\nConnect with websocket to the subscribe endpoint (for example using websocat):\n```\n$ websocat ws://127.0.0.1:9090/subscribe/test1\n```\n\nSend HTTP post requests to the publish endpoint:\n```\n$ curl 127.0.0.1:9090/publish/test1 -d 'test message'\n```\nYou should see your message in the websocket client.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgerifield%2Fepher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgerifield%2Fepher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgerifield%2Fepher/lists"}