AWS Lambda Push Notification Gateway #22591
Slugger
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Quickly and easily handle Mastodon push notifications via a Lambda based gateway function. The gateway receives the push notifications from Mastodon, decrypts and verifies the message then delivers the decrypted payload to an SNS topic for consumption by whatever you like (another lambda, email, a webhook, SQS queue, etc.).
Let this gateway deal with all of the complexities of dealing with the decryption and JWT validation and you only need to deal with processing the final Mastodon JSON message.
Project: https://gitlab.com/ddb_db/mstdnlambda
If anyone is interested in actually using this reach out to me @ddb_db@mstdn.ca and let me know. I'm not dying to write detailed setup guides, but if there's actual interest from anyone besides me then I could probably be persuaded to write some detailed docs on how to get it all setup.
Beta Was this translation helpful? Give feedback.
All reactions