celest-dev / celest

The Flutter cloud platform
https://celest.dev
Other
232 stars 12 forks source link

Celest Store #45

Open marcglasberg opened 4 months ago

marcglasberg commented 4 months ago

I want to be able to provide SaaS for companies that use Celest in their apps, and charge for them. When publishing my Saas with celest deploy in the store, I'd provide a yaml file (or better yet, Dart code) to create a store page in the Celest website, much like pub.dev does for Flutter.

I'd have 4 pieces of software:

Example

For example, suppose I'm Harry Potter and I want to provide a SaaS that allows apps that use Celest to have magic features in their apps. In this example I'd publish:

Pricing

  1. Celest wouldn't charge anything for the store listing, but it would make money because the Celest is being used by the service and the Celest database.

  2. Celest would charge the client company directly, not the SaaS service provider.

  3. Celest would add an extra on top of its bill to the client company, to pay the SaaS service provider. That extra would be chosen by the SaaS service provider, and it could be a combination of: (i) a fixed monthly value; (ii) a % of the regular bill the client is paying Celest. For example, I could choose to be paid $5 plus 10% over Celest's normal cost. If the Celest regular bill would be, say $150 in a month, Celest would charge the client $150 + $5 + 0.1 * $150 = $150 + $5 + $15 = $170. I'd get $20.

Rules

It would be great if Celest could provide rules for pub.dev packages that are in the Celest store. For example, how should I name my packages:

Should there be a rule like this?: First thing you must say in the package docs in pub.dev is that it's a third-party service not provided by Celest, and that Celest is not responsible for anything, damages, etc etc; and then link to the Celest store.

Note

This is not hypothetical. I already have a service that I want to provide for Celest client companies.

dnys1 commented 4 months ago

Hey @marcglasberg, what a cool idea!

I think this makes a lot of sense, and in fact, I had never considered that the generation of a client library could be an out-of-the-box means of distribution in these cases 😄

A few things we would need to figure out would be:

I really love this idea because one of our driving principles has always been to build Celest in such a way that one could eventually rebuild Celest in Celest 😄 this is a great exposition to some of those steps needed.

marcglasberg commented 4 months ago

Hey, maybe we could discuss these questions and my particular use case over Zoom at some point? As I can't discuss the details of my service here.

dnys1 commented 4 months ago

Absolutely. Door's always open! https://cal.com/celest-dev/dillon

marcglasberg commented 4 months ago

Thanks! I'm busy until March 4, but then I'll set up a meeting in your calendar.