{"id":24103503,"url":"https://github.com/herudi/nbroadcast","last_synced_at":"2025-07-30T06:11:38.658Z","repository":{"id":93897578,"uuid":"387108550","full_name":"herudi/nbroadcast","owner":"herudi","description":"Crazy fast broadcast message","archived":false,"fork":false,"pushed_at":"2023-05-04T22:36:55.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T06:27:12.860Z","etag":null,"topics":["deno"],"latest_commit_sha":null,"homepage":"https://nbroadcast.deno.dev","language":"HTML","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/herudi.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-07-18T06:38:24.000Z","updated_at":"2024-12-25T22:40:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"c657d027-fad7-47cd-9cda-afacb1c9baee","html_url":"https://github.com/herudi/nbroadcast","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/herudi/nbroadcast","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herudi%2Fnbroadcast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herudi%2Fnbroadcast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herudi%2Fnbroadcast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herudi%2Fnbroadcast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/herudi","download_url":"https://codeload.github.com/herudi/nbroadcast/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herudi%2Fnbroadcast/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266241054,"owners_count":23898063,"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":["deno"],"created_at":"2025-01-10T19:57:11.936Z","updated_at":"2025-07-21T04:34:06.184Z","avatar_url":"https://github.com/herudi.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NBroadcast\nCrazy fast broadcast message.\n[Example Site](https://nbroadcast.deno.dev/sample/live-news)\n\n## Usage listen message\n```js\nconst evtSource = new EventSource(\"https://nbroadcast.deno.dev/\u003cKEY\u003e/\u003cCHANNEL_NAME\u003e\");\nevtSource.onmessage = function (event) {\n    const data = JSON.parse(event.data);\n    console.log(data)\n}\n```\n\n## Usage send message\n```js\nfetch(\"https://nbroadcast.deno.dev/\u003cKEY\u003e/\u003cCHANNEL_NAME\u003e\", {\n    method: \"POST\",\n    body: JSON.stringify(yourdata)\n})\n.then(data =\u003e data.json)\n.then((data) =\u003e {\n    console.log(data)    \n})\n.catch((err) =\u003e {\n    console.log(err)\n}); \n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherudi%2Fnbroadcast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fherudi%2Fnbroadcast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherudi%2Fnbroadcast/lists"}