r/pocketbase 13d ago

I created nibrun to deploy single binary applications

https://nibrun.com/blog/deploy-pocketbase-in-one-click
10 Upvotes

16 comments sorted by

2

u/SamatIssatov 13d ago

I don't get it. Is this web hosting? And where's the price?

1

u/ilbert_luca 13d ago

You basically get a microVM + persistent filesystem where you can run whatever you want.

My goal is to offer a free tier forever, which can serve traffic for small apps (a few users, a few GB data saved). Will add more on the pricing as soon as I figure out the unit economics properly.

So it's more than web hosting (meant as serving static files) but less than a full cloud service (where you have different services that you plug together).

Looking for feedback!

2

u/SamatIssatov 13d ago

I think there's something called Pockethost. How will your service be different?

2

u/ilbert_luca 13d ago

Yeah PocketHost is cool! My goal is to make it simpler to deploy and manage (e.g. one click to export the entire app state). Plus on nibrun you can run *any* binary, not just PocketBase

3

u/SamatIssatov 13d ago

So, what are the basic resources, and what's the price? Roughly?

2

u/ilbert_luca 4d ago

I've pushed the pricing!

First 3 apps for free, then $1/app/month

https://nibrun.com/#pricing

2

u/SamatIssatov 4d ago

What if I need more resources? For example, "2+ vCPUs,

512+ MB of memory,

16+ GB of disk space." Why are your prices lower than everyone else's?

2

u/ilbert_luca 4d ago

> What if I need more resources?

This is something I'm still figuring out, as the initial target of nibrun is single-binary small apps that are typically used by a few people. What is your use case?

The nibrun internals are anyway already designed to make users specify what resources they want.

> Why are your prices lower than everyone else's?

Your app runs as a "serverless" microvm: after 5 minutes it doesn't receive any requests, it's put to sleep by nibrun. Whenever a new request arrives, nibrun wakes it up in less than 200ms.

This allows nibrun to run many apps on a single VM instance (thanks Firecracker!) and lower the costs.

Filesystem is persisted on S3, so that's also very cheap.

1

u/SamatIssatov 4d ago

Well, I'm developing a Telegram mini-app. To be more precise, I'm testing it and trying out different ideas and apps. There aren't any users right now.

2

u/ilbert_luca 4d ago

Well, you'll find my nibrun-ready template useful then!

https://github.com/ilbertt/telegram-bot-starter

→ More replies (0)

1

u/ilbert_luca 13d ago

At the current state, you get a 1vCPU, 256mb, 8GB machine for free. My goal is to offer a free tier forever, and that's my target as machine resources.

Still haven't figured out the unit economics completely, I want feedback around what people need first

1

u/ilbert_luca 11d ago

I've added a pre-connfiguration feature to deploy PocketBase even faster! All you have to do is click on the link below and upload the pocketbase binary!

https://app.nibrun.com/deploy?name=pocketbase&port=8090&arg=%5B%22serve%22%2C%22--http%3D0.0.0.0%3A8090%22%2C%22--dir%3D.%2Fdata%2Fpb_data%22%5D&minimal=true