happybara-io / WorkflowBuddy

The missing pieces of Slack Workflow Builder.
GNU Affero General Public License v3.0
28 stars 4 forks source link

Deployment: Serverless option #29

Open I-Dont-Remember opened 1 year ago

I-Dont-Remember commented 1 year ago

Serverless is a common utility in the current age, and allowing people to deploy bots on FaaS providers like AWS Lambda is pretty much a given - whether that's because their company doesn't allow use of external hosting like Fly, or they want to manage costs, or etc.

AWS Lambda is likely the largest contingent, so this work would include:

jphorn commented 1 year ago

Would this work as a Cloudflare Worker as well?

I-Dont-Remember commented 1 year ago

Yes, solid idea, especially with it having KV stores, D1 (sql database), the queues coming out, etc!

Would require a decent bit of work to flesh out though. I was playing with the idea recently to see what it would take to have a fully-featured Slack App on Workers, ran into a few things:

Though it sounds like a lot of work to do a rewrite, it actually wouldn't be TOO crazy in this case. A lot of the logic is very simple, the blocks code is language-agnostic, so is definitely possible.