Notes on Cloudron, crowdfunding app packaging
-
Nice writeup. I have to disagree with the “home hosting” part though. It’s not as tricky as it seems. Setting up the DNS before installing Cloudron does eliminate most the propagation issues new self hosters will face, and opening the proper ports in the router covers most of the set up mystery. Also, mini PCs like the HP Prodesk/Elitedesk work flawlessly as a Cloudron server and cost less than $150 on eBay. As for crowdfunding, I would post on the forum to check if others might be willing to chip in. There are a handful of devs (that I know of) on here that can handle the packaging for a very reasonable fee.
-
Home hoster here, as well. It's quite easy, IMHO, in particular since Cloudron supports Dynamic DNS: https://docs.cloudron.io/networking/#dynamic-dns
And one of those Intel N95/N100/N200 boxes will not set you back USD 500 in my experience. -
You're still looking at a ~$500 mini server purchase, which is like 2 - 3 years of VPS hosting costs!
In german this is called a "Milchmädchenrechnung" as just comparing the purchase price with the monthly price of a cloud server misses to take into account that said "mini server" also consumes energy at home, needs additional investments in case the hardware goes bad, etc etc.
I believe the topic of crowdfunding app packaging was already discussed a few times on this forum (and i am seriously not trying to be negative here), but packaging an app is only a part of the effort required. It also needs people that are somehow knowledgeable with the application being packaged to provide help in case something does not work out with it. Needs people that update and maintain the app over its lifetime, ....
Plus packaging up the newest kid on the block of the software world may end in disappointment when the original maintainer of said software looses interest after a few weeks and his code begins to rot.
-
@fbartels said in Notes on Cloudron, crowdfunding app packaging:
Needs people that update and maintain the app over its lifetime, ....
@bmann did say "packaging and maintenance of apps over time"
-
Yep, my general model would be to create an OpenCollective with monthly funding over time. I’d put in some money up front to get going and see who wants to join.
The initial work is to figure out how to package, and then maintain over time.
I actually don’t see the current model of all the apps being updated forever being sustainable. Would be interesting if Cloudron license buyers would do something like allocate points to apps once or twice a year.
“People who know the app”. Yep, I’m good at this. But it’s also a custom app. I don’t really expect the Cloudron team to adopt it.
We already see this issue about knowing the long list of apps. Discourse on Cloudron isn’t great, because it’s a pretty complex piece of software. I know how to use it / admin it / config it at an application level better than the Cloudron team … but I don’t know how to package or make it work with Cloudron (I run like 6 installs on DO). I have some notes I’d like to contribute but don’t currently have more volunteer time.
-
On home hosting: you’re making my point for me.
“It’s easy” -> is there a step by step guide? There’s a blog post from 2018 and various tips scattered across forum threads.
“Just buy it on eBay” -> even more of my time that I’d have to figure out. I’m also not looking for a minimal box and I priced it out. There are ALWAYS cheaper options, with different trade offs.
The most recent post I found was about CloudflareD https://forum.cloudron.io/topic/8962/cloudflared-as-proxy-for-home-hosting
If Cloudron were serious about home hosting, building in first class support for Tailscale, Cloudflare, and similar providers would be the way to go.
I’d also love a built in config for one or more CDN providers (not just for home hosting!) which would take load off a server AND keep static sites up and running in the case of a server outage.
And of course, the email issue, where you need to add an SMTP relay, as a home IP isn’t going to have good mail delivery. Maybe with a VPN and a “gateway” box, but that’s a separate cost again.
Don’t get me wrong: I’m really intrigued with home hosting. I work on p2p and edge computing myself, and an IPFS server app is one of the custom apps I want to fund. But the majority of Cloudron apps are “classic web2 server apps”, which are mostly designed to run on servers.
A cloud hosted Cloudron to act as always on coordinator / relay / bootstrap connection to eg simple desktop apps (and/or connecting via Tailscale to the Cloudron box) is probably a nice trade off to serve many more people.
-
@bmann servethehome did all the homework regarding SFF PCs that are great as a home server https://m.youtube.com/playlist?list=PLC53fzn9608B-MT5KvuuHct5MiUDO8IF4
-
@bmann said in Notes on Cloudron, crowdfunding app packaging:
“It’s easy” -> is there a step by step guide? There’s a blog post from 2018 and various tips scattered across forum threads.
Good point. This has been pointed many times by now. I will merge that blog post in our main installation docs so it gives a better impression that it is a living document.
If Cloudron were serious about home hosting, building in first class support for Tailscale, Cloudflare, and similar providers would be the way to go.
Mostly home hosting and VPS hosting don't really differ that much minus the networking complications that come with a home network or an intranet. I don't think you need Tailscale or Clouddflare for home hosting though. Why would you want to send all your traffic to Cloudflare for a home server? Why is tailscale needed to host web apps (in fact, I don't even know exactly what it is, other than it is some advanced VPN tunnel)?
I’d also love a built in config for one or more CDN providers (not just for home hosting!) which would take load off a server AND keep static sites up and running in the case of a server outage.
If you need a CDN for home hosting, I think use cases are getting mixed up. To clarify, in my mind, the home hosting use case is meant to replace personal use cases like photos, calendar, notes, documents, files etc (think NAS use cases). None of these require a CDN. If you want to host an online web shop or a video website or public blog or email server, go ahead and put it on a VPS. Hosting at home is not the right solution for those use cases.
-
@girish said in Notes on Cloudron, crowdfunding app packaging:
Mostly home hosting and VPS hosting don't really differ that much minus the networking complications that come with a home network or an intranet. I don't think you need Tailscale or Clouddflare for home hosting though. Why would you want to send all your traffic to Cloudflare for a home server? Why is tailscale needed to host web apps (in fact, I don't even know exactly what it is, other than it is some advanced VPN tunnel)?
One argument pro something like Tailscale etc. is that the average home network setup does not offer the same security abilities as a professional data center. My router has plain port control but not much more (e.g. the - often requested - network blocklists). Of course, one single home server has also a different risk vector, hopefully. In any event, securing some sensitive apps (such as Nextcloud / Vaultwarden) via a "advanced VPN" solution might make sense.
-
@necrevistonnezr said in Notes on Cloudron, crowdfunding app packaging:
One argument pro something like Tailscale etc. is that the average home network setup does not offer the same security abilities as a professional data center.
True. Initially, I added a basic firewall in Cloudron with blocklist but I found that all the traffic from china was entering my local network and getting dropped at the VM. Comcast treats this as traffic anyway and downscales the full network speed. I had to somehow stop traffic from even hitting the network. That's when I found my previous router (netgear) doesn't even have a basic firewall When I went shopping 6 years ago, I found that firewall was now sold only in "business" routers which are > 600 bucks. I ultimately settled on synology router (which is not a very well known product, but it works really well).
In any event, securing some sensitive apps (such as Nextcloud / Vaultwarden) via a "advanced VPN" solution might make sense.
It's in our TODO list to allow access to specific apps only via VPN. The ever growing TODO list
-
Just to say, in many ways all apps that staff package, and all the apps in the app store which they maintain are already crowdfunded, in that they are funded by the crowd of customers who buy Cloudron licenses
-
I have added https://docs.cloudron.io/installation/home-server/ and also https://docs.cloudron.io/installation/intranet/ for a start. They are also linked from the main installation page.
-
@girish said in Notes on Cloudron, crowdfunding app packaging:
In any event, securing some sensitive apps (such as Nextcloud / Vaultwarden) via a "advanced VPN" solution might make sense.
It's in our TODO list to allow access to specific apps only via VPN. The ever growing TODO list
@necrevistonnezr Might be useful to know that there is a Nextcloud app, "Restrict Login to IP address" that can be used to restrict access to Nextcloud except via enterprise VPN. I used that successfully for a number of years, though as with everything Nextcloud it can break on updates if the app doesn't keep up!
Having used cloudron in both the business (SME) and home settings, I concur with everything that's been said here about cloudron being completely suitable for home use, albeit with different use cases.
On the install guide it might be useful to explicitly mention the subsections on Home Server and Intranet, in case people don't look at or see the side bar (easy to do outside of viewing full screen). Something as simple as something at the end like "Additional information is provided for those seeking to install Cloudron on a home server or intranet."
-
@girish a CDN can perform a number of different purposes.
Including if I’m hosting stuff behind a home connection that I’d like to stay up! Eg my home internet goes down, a CDN can keep serving up static content.
And: serves up cached content that never has to be fetched from my home connection.
And of course — ALL of this stuff is pretty far beyond basic home use. It’s great that Cloudron enables it at all.
-
@girish Tailscale is what many people use to access their home networks. It’s a private overlay network that makes it very easy to connect any devices as if they were on a private routable LAN.
Lots of run stuff at home geeks have it on their phone / laptop / home desktop as a way to access their devices from anywhere.
You can specify egress points. So, if you and a very small / cheap VPS / cloud something, you could use that to expose your home network without having to deal with what your router can do.
It’s built on the Wireguard protocol that is now in the Linux kernel.
There are of course tons of professional uses too, like making arbitrary private networks between any devices.
There’s an open source implementation called Headscale https://github.com/juanfont/headscale
-
@jdaviescoates said in Notes on Cloudron, crowdfunding app packaging:
Just to say, in many ways all apps that staff package, and all the apps in the app store which they maintain are already crowdfunded, in that they are funded by the crowd of customers who buy Cloudron licenses
No that’s the business of Cloudron: maintaining and supporting the core software, and deciding which apps to add and maintain or drop.
As I mentioned elsewhere, getting a strong signal from paying Cloudron customers could be helpful in understanding which apps to keep.
I get the analogy you’re trying to make, and I’d welcome a formal “fund this new app” run by Cloudron.
Luckily, the packaging format is all open, so we can also fund private / custom apps as we like. And the team can even choose to take over maintenance and offer it officially if they like!
-
@robi yep! The dual edge sword of "fund the feature" and "fund the long term maintenance" has always been a challenge in open source.
It might be interesting for active members here to make a stack ranked list of the apps they run a lot / would "vote for".