superseriousbusiness / gotosocial

Fast, fun, small ActivityPub server.
https://docs.gotosocial.org
GNU Affero General Public License v3.0
3.68k stars 311 forks source link

[feature] webhook #2164

Open eallion opened 1 year ago

eallion commented 1 year ago

Is your feature request related to a problem ?

Is there a way to trigger other CI or scripts via webhook when I post a new toot?

Describe the solution you'd like.

trigger other CI or scripts via webhook

Describe alternatives you've considered.

NONE

Additional context.

No response

igalic commented 1 year ago

any web hook that can react to RSS should do: https://docs.gotosocial.org/en/latest/user_guide/rss/

tsmethurst commented 1 year ago

Just adding this for some more context: https://github.com/mastodon/mastodon/pull/24133

If/when we add this, we ought to look at Mastodon's webhooks and see what we can keep the same for the sake of meeting API expectations.

eallion commented 1 year ago

any web hook that can react to RSS should do: https://docs.gotosocial.org/en/latest/user_guide/rss/

RSS is good, but it is passive.

eallion commented 1 year ago

Just adding this for some more context: mastodon/mastodon#24133

If/when we add this, we ought to look at Mastodon's webhooks and see what we can keep the same for the sake of meeting API expectations.

Thanks!

NyaaaWhatsUpDoc commented 1 year ago

Just adding this for some more context: mastodon/mastodon#24133

If/when we add this, we ought to look at Mastodon's webhooks and see what we can keep the same for the sake of meeting API expectations.

adding to this, i think whether / how we implement webhooks will tie into how we look at adding the ability for adding spam fighting features, etc.