You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's a weird idea. We have many ways to send webhooks but naturally no way to receive them so people have to resort to things like polling. Not great.
What we could do is have some service like webhooks.turbowarp.org and a corresponding extension. The process is:
Extension can generates very long random code. Can store it in the project.
We tell the user to use the URL webhooks.turbowarp.org/post/verylongrandomcode as the webhook they give to whatever website lets you add webhooks (are there any interesting ones?)
Anything sent to that code gets forwarded over a websocket or server-sent events to the project.
Tada: it's a webhook going the other way
concerns:
figuring out reasonable rate limiting, max sizes, etc.
generating the random web hook codes server-side might be better against abuse
the random code remaining private is important; storing it in the project seems a bit dangerous but not sure of better solution as long as people know about the risk when sharing their project file
the payload would be fully readable by the server; hopefully there's nothing sensitive in there
if project is not opened then webhook events should probably just be ignored
The text was updated successfully, but these errors were encountered:
Here's a weird idea. We have many ways to send webhooks but naturally no way to receive them so people have to resort to things like polling. Not great.
What we could do is have some service like webhooks.turbowarp.org and a corresponding extension. The process is:
Tada: it's a webhook going the other way
concerns:
The text was updated successfully, but these errors were encountered: