{"id":29179871,"url":"https://github.com/hasangenc0/pubsub","last_synced_at":"2025-10-08T06:49:08.592Z","repository":{"id":97408132,"uuid":"336079360","full_name":"hasangenc0/pubsub","owner":"hasangenc0","description":"PubSub in 20 lines  with Broadcast Channels. (It can be done using MessageChannel for better compatibility.)","archived":false,"fork":false,"pushed_at":"2021-02-04T20:52:57.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-24T03:47:06.493Z","etag":null,"topics":["broadcastchannel","messagechannel","pubsub","web"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/hasangenc0.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,"zenodo":null}},"created_at":"2021-02-04T20:51:47.000Z","updated_at":"2021-02-04T21:08:10.000Z","dependencies_parsed_at":"2023-03-23T15:03:40.193Z","dependency_job_id":null,"html_url":"https://github.com/hasangenc0/pubsub","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hasangenc0/pubsub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasangenc0%2Fpubsub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasangenc0%2Fpubsub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasangenc0%2Fpubsub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasangenc0%2Fpubsub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hasangenc0","download_url":"https://codeload.github.com/hasangenc0/pubsub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasangenc0%2Fpubsub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278903008,"owners_count":26065786,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["broadcastchannel","messagechannel","pubsub","web"],"created_at":"2025-07-01T19:07:20.310Z","updated_at":"2025-10-08T06:49:08.348Z","avatar_url":"https://github.com/hasangenc0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pubsub\nPubSub in 20 lines  with Broadcast Channels\n\n```\nwindow.pubsub = new pubsub();\n\nwindow.pubsub.subscribe(\"showAlert\", (data) =\u003e {\n  alert(data.message);\n});\n\nwindow.pubsub.publish(\"showAlert\", { message: \"wazzup\" });\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasangenc0%2Fpubsub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasangenc0%2Fpubsub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasangenc0%2Fpubsub/lists"}