{"id":18870363,"url":"https://github.com/streetstrider/booth","last_synced_at":"2025-07-06T15:06:51.416Z","repository":{"id":41493423,"uuid":"84243423","full_name":"StreetStrider/booth","owner":"StreetStrider","description":"Booth provides symmetric Event API over websocket or unix domain socket","archived":false,"fork":false,"pushed_at":"2025-04-06T04:45:45.000Z","size":172,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-18T00:25:31.554Z","etag":null,"topics":["flyd","frp","node","promise","realtime","request","socket","socket-io","socketio","stream"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StreetStrider.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2017-03-07T20:34:21.000Z","updated_at":"2025-04-06T04:45:48.000Z","dependencies_parsed_at":"2024-11-24T19:25:15.777Z","dependency_job_id":"9836bd48-3195-4ff1-afcd-9fc4ac1372af","html_url":"https://github.com/StreetStrider/booth","commit_stats":{"total_commits":151,"total_committers":1,"mean_commits":151.0,"dds":0.0,"last_synced_commit":"64bc10aa34eac2a873db99aa91778c4c96bb19d0"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/StreetStrider/booth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StreetStrider%2Fbooth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StreetStrider%2Fbooth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StreetStrider%2Fbooth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StreetStrider%2Fbooth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StreetStrider","download_url":"https://codeload.github.com/StreetStrider/booth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StreetStrider%2Fbooth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263922513,"owners_count":23530338,"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":["flyd","frp","node","promise","realtime","request","socket","socket-io","socketio","stream"],"created_at":"2024-11-08T05:19:51.932Z","updated_at":"2025-07-06T15:06:51.355Z","avatar_url":"https://github.com/StreetStrider.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# booth\n\n\u003e Booth provides symmetric Event API over websocket or unix domain socket\n\nAlike socket.io, but less powerful. Simple Event API, simple reconnect strategy,\nsymmetric usage via `Endpoint()` on both client and server sides.\n\n# api\n```js\n/*\n * options: WebSocket.Server options\n */\nconst dispatch = Dispatch(options)\n\n/* port */\nconst dispatch = Dispatch({ port: 9000 })\n\n/*\n * httpServer instance\n * for using inside working http server\n * or with unix domain socket\n */\nconst dispatch = Dispatch({ server })\n\ndispatch.on('name', handler)\ndispatch.on({ name: handler })\n\nfunction handler (data, endpoint) { /* … */ }\n\n/*\n * ws_uri: string with ws or ws+unix uri\n */\nEndpoint(ws_uri)\n\n/* websocket */\nEndpoint('ws://127.0.0.1:9000')\nEndpoint('ws://localhost:9000')\n\n/* unix domain socket */\nEndpoint('ws+unix:///tmp/booth/unix.sock')\n\nendpoint.on('name', handler)\nendpoint.on({ name: handler })\n\nfunction handler (data, endpoint) { /* … */ }\n```\n\n# license\nISC.\nCopyright © 2025, Strider.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreetstrider%2Fbooth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreetstrider%2Fbooth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreetstrider%2Fbooth/lists"}