8000 [FEAT] allow broadcasting custom events · Issue #132 · Team-TAU/tau · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[FEAT] allow broadcasting custom events #132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cgsdev0 opened this issue Mar 29, 2023 · 0 comments
Open

[FEAT] allow broadcasting custom events #132

cgsdev0 opened this issue Mar 29, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@cgsdev0
Copy link
Member
cgsdev0 commented Mar 29, 2023

Is your feature request related to a problem? Please describe.
I have multiple different clients that listen to events from TAU. It would be convenient if these clients could also communicate with each other via TAU

My specific example is that I have a chat bot and an overlay that run separately; I have a !fish command that gives the user a random fish, which pops up briefly on my overlay. Currently, I'm doing some hacky text parsing on the chat messages in my overlay; it would be nice if I could instead listen for a custom FishEvent

Describe the solution you'd like
the obs-websocket project has something similar to what I'm envisioning: https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#customevent

tl;dr: you send a custom event payload up the websocket, and it gets broadcast to all other connected clients.

Describe alternatives you've considered
the alternative is I do this outside of TAU - but it seems like it could be a useful (and fairly trivial) feature to add

@cgsdev0 cgsdev0 added the enhancement New feature or request label Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant
0