220
submitted 9 months ago by spaduf@slrpnk.net to c/selfhosted@lemmy.world
all 49 comments
sorted by: hot top controversial new old
[-] MoogleMaestro@kbin.social 65 points 9 months ago

signing into cloud services and downloading apps is just so much easier to do!

This is actually true, but it doesn't speak to why self hosting is "impossible" and more to how the lack of education around computers have reached an inflection point.

There's no reason why self hosting should be some bizarre concept; In another reality, we would all have local servers and firewalls that then push our content into the wider internet and perhaps even intranet based notes. Society as a whole would be better if we chose to structure the internet that way instead of handing the keys to the biggest companies on the stock market.

I'll give this podcast a listen to though, as it might be interesting. I think the reality is that some more docker frontends might help casual users jump into the realm of self hosting -- especially be setting up proxy managers and homepage sites (like homarr) that work intuitively that never requires you to enter ports and IPs (though fearing that is also an education problem, not a problem with the concept itself.)

[-] tal@lemmy.today 25 points 9 months ago

If you want self-hosting for everyone, then I suspect you're gonna have something like a console -- a self-contained box that requires virtually no configuration.

[-] dandi8@kbin.social 16 points 9 months ago

So something like a Synology NAS, I guess.

[-] PlutoniumAcid@lemmy.world 5 points 9 months ago

And even that is not for the masses. It's good, it's for the medium savvy folks, but it will never be for my wife - or for my mother!

[-] tal@lemmy.today 3 points 9 months ago* (last edited 9 months ago)

I suppose that that's an "appliance-like computer" though I was thinking more of general-purpose hardware that takes software modules.

Like, think of how you install a game on a console. Maybe you set up your account at the beginning and plonk in a wireless password, but beyond that, there's no further essential configuration for the thing to work. Same kind of idea. You get box, do initial minimal setup. After that, you install software modules, and they have no more configuration involved.

If more configuration is required, then it's just not going to be something sufficiently accessible for everyone to use.

That's probably not what the typical user on this community is looking for, but I think that that's probably what would be required if one wants everyone in the public to be able to self-host.

[-] dan@upvote.au 9 points 9 months ago

There's no reason why self hosting should be some bizarre concept; In another reality, we would all have local servers

In the late 2000s, Opera had a very interesting product called "Opera Unite". It was essentially a self-hosting platform built into the web browser. You could use it to chat, host a website, share photos, share files (and let other people share files with you), and a few other things. It had a guest book called "the fridge" where people could leave you post it notes.

They'd give you a subdomain which would either connect to it directly (if your network allows UPnP or you forwarded the port), otherwise they'd proxy it via their servers.

Basically, it was a super simple solution to create a decentralized web. The goal was to let everyone own their own data in a way that anyone could understand, without having to know anything about server hosting. Instead of just browsing the web, you could contribute to it at the same time.

It worked surprisingly well, but never caught on with the general public, and they killed it off about three years later.

[-] lyam23@lemmy.world 5 points 9 months ago

My isp doesn't allow self hosting (available to WAN). Isn't that a pretty common condition in ToS for most ISPs?

[-] Someology@lemmy.world 8 points 9 months ago

I've never bothered to check, because I self host to serve 1-5 users, and I've never generated enough traffic for any ISP to notice. I would need to pay them more for a static IP address, but we have dynamic DNS services for that. My ISP doesn't put any actual obstacles in place beyond dynamic IP.

[-] lud@lemm.ee 4 points 9 months ago* (last edited 9 months ago)

Here we have net neutrality so they legally can't restrict what you're doing with your connection, unless it's illegal or if you are doing stupid shit like messing with their infrastructure.

CGNAT is decently common though and that can restrict your self hosting capabilities substantially, but you can work around it if you want.

[-] ImInPhx 3 points 9 months ago

Have you looked into setting up a reverse proxy? If you haven’t already, check out Traefik or Ngnix.

[-] lyam23@lemmy.world 3 points 9 months ago

I have not. I've only just started exploring self hosting and am quite a novice. Thanks for the lead!

[-] MalReynolds@slrpnk.net 2 points 9 months ago

Oh you summer child (I upvoted, but won't waste an hour of my life listening to random internet stuff). I don't think it's lack of education, in this world it's very possible to educate yourself, it's a lack of understanding (due to misinformation and corporate sponsored laziness) the implications of that easy click, or of what others can get without your consent. Privacy isn't dead, it's just now mostly for the rich.

[-] qdJzXuisAndVQb2@lemm.ee 8 points 9 months ago

Condescension is a terrible way to kindle enthusiasm. C'mon, if you know this shit, extend a hand to those who don't.

[-] MalReynolds@slrpnk.net 2 points 9 months ago

Valid, and I do help where I can (check my history if you care). This post just tweaked my twee radar, to which I generally respond, gently, "learn to think for yourself", parental pattern I guess.

[-] otl 46 points 9 months ago

They even have a term for this — local-first software — and point to apps like Obsidian as proof that it can work.

This touches on something that I've been struggling to put into words. I feel like some of the ideas that led to the separation of files and applications to manipulate them have been forgotten.

There's also a common misunderstanding that files only exist in blocks on physical devices. But files are more of an interface to data than an actual "thing". I want to present my files - wherever they may be - to all sorts of different applications which let me interact with them in different ways.

Only some self-hosted software grants us this portability.

[-] somedaysoon@lemmy.world 11 points 9 months ago* (last edited 9 months ago)

I want to present my files - wherever they may be - to all sorts of different applications which let me interact with them in different ways.

Only some self-hosted software grants us this portability.

I'd say almost everything is already covered with Samba shares and docker bind mounts. With Samba shares the data is presented across network to my Kodi clients, the file browser on my phone, and the file browsers of all my computers. And with docker bind mounts those files are presented to any services that I want to run.

[-] otl 13 points 9 months ago

Devil’s advocate: what about the posts and comments I’ve made via Lemmy? They could be presented as files (like email). I could read, write and remove them. I could edit my comments with Microsoft Word or ed. I could run some machine learning processing on all my comments in a Docker container using just a bind mount like you mentioned. I could back them up to Backblaze B2 or a USB drive with the same tools.

But I can’t. They’re in a PostgreSQL database (which I can’t query), accessible via a HTTP API. I’ve actually written a Lemmy API client, then used that to make a read-only file system interface to Lemmy (https://pkg.go.dev/olowe.co/lemmy). Using that file system I've written an app to access Lemmy from a weird text editing environment I use (developed at least 30 years before Lemmy was even written!): https://lemmy.sdf.org/post/1035382

More ideas if you're interested at https://upspin.io

[-] eluvatar@programming.dev 1 points 9 months ago

That makes sense. I think the reason why they're not represented as files is pretty simple. Data integrity. If you want to get the comments you just query the table and as long as the DB schema is what you expect then it'll work just fine and you don't have to validate that the data hasn't been corrupted (you don't have to check that a column exists for example). But with files, every single file you need to parse and validate because another application could have screwed them up. It's certainly possible to build this, it might be slower but computers are pretty fast these days, but it would require more work to develop to solve the problem that the database solves for you.

[-] warmaster@lemmy.world 36 points 9 months ago

TLDR: Selfhosting is hard. Obsidian is easy. Federation is a thing.

[-] Father_Redbeard@lemmy.ml 14 points 9 months ago

Projects like Runtipi have potential for the masses, imo. Single click deployment of apps on your own server....if you can get Runtipi installed first, of course. But hey, a step closer I suppose.

I'm very new to selfhosting, only started in earnest in April of this year. So I definitely felt the hosts frustrations in deploying (or trying to deploy) solutions I wanted to take back from Google and Microsoft. I'm still learning and am almost to the point where I'm comfortable pulling the plug on Google photos entirely. But it's a lot of research for newbs.

[-] TCB13@lemmy.world 9 points 9 months ago

The problem with those projects like Runtipi is the same you've with Docker - you'll be hostage to yet another platform that can fuck you up at any moment without notice... like Docker hub did.

[-] fristislurper@feddit.nl 10 points 9 months ago

Docker does not lock you in with the docker hub though. So no hostage taking.

[-] bear@slrpnk.net 1 points 9 months ago

While that isn't false, defaults carry immense weight. Also, very few have the means to host at scale like Docker Hub; if the goal is to not just repeat the same mistake later, each project would have to host their own, or perhaps band together into smaller groups. And unfortunately, being a good programmer does not make you good at devops or sysadmin work, so now we need to involve more people with those skillsets.

To be clear, I'm totally in favor of this kind of fragmentation. I'm just also realistic about what it means.

[-] dan@upvote.au 5 points 9 months ago* (last edited 9 months ago)

Linuxserver.io images don't come directly from Docker Hub any more, and I don't know if anyone noticed or cared. They use their own domain lscr.io that redirects to the Docker repository they're using (currently Github) which makes it easy for them to move the repository without breaking things for users. https://www.linuxserver.io/blog/wrap-up-warm-for-the-winter

That approach is a good idea in general. If you're running a medium to large size project, never directly rely on domain names you don't control because it makes it painful to migrate to something else in the future. Even if your own domain just has a bunch of redirects (both URL redirects and email forwarding), it's better than nothing.

[-] TCB13@lemmy.world -3 points 9 months ago

That's the same as saying that Microsoft doesn't make anyone hostage with MS Office, yet they do.

[-] fristislurper@feddit.nl 3 points 9 months ago

Bullshit. I can use docker without the docker hub very easily. Anyone can host docker images, and docker allows this, no weird hacks needed.

[-] dan@upvote.au 2 points 9 months ago

They don't though? The file formats are documented and other office suite software can read and write them.

[-] TCB13@lemmy.world 2 points 9 months ago

They do, those formats are a mess, full of small details and non-standard implementations on MS Office and Excel is most like the worst case. Office formats are all open until you realize that means shit because Microsoft does what they want and the standards don't cover everything. If you're serious about office and you need to collaborate with MS Office users those "other office suites" won't cut it. You'll have compatibility issues.

[-] dan@upvote.au 1 points 9 months ago

I agree that they're a mess, but there's nothing in there that intentionally holds you hostage. The format is not binary - it's readable to anyone that wants to read it.

non-standard implementations

Do you have an example?

[-] azdle@news.idlestate.org 6 points 9 months ago

That's not really possible with docker TBH, and I say that as a diehard Podman advocate. Docker, the tooling that you install with your package manager, is open source. Sure they have windows and mac desktop stuff that isn't open, but it's not like you're self-hosting with that, right?

Plus there's always Podman to switch to, which can be a (mostly) drop-in replacement, if you want something with a more trustworthy provenience.

[-] Cupcake1972@mander.xyz 1 points 9 months ago

Wait, what did Docker Hub do?

[-] TCB13@lemmy.world 5 points 9 months ago

https://blog.alexellis.io/docker-is-deleting-open-source-images/

You shouldn't be hostage to a platform. Before Docker we didn't have those kinds of issues APT repositories are easy to mirror and they're not run by for profit companies.

[-] Kaldo@kbin.social 2 points 9 months ago

Are there any docker FOSS alternatives? It sounds like a good thing in practice but yeah, they seem to have too much power atm.

[-] NamelessGO@sh.itjust.works 1 points 9 months ago
[-] TCB13@lemmy.world 1 points 9 months ago

Exactly my point.

[-] Decronym@lemmy.decronym.xyz 10 points 9 months ago* (last edited 9 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
CGNAT Carrier-Grade NAT
DNS Domain Name Service/System
HTTP Hypertext Transfer Protocol, the Web
IP Internet Protocol
NAS Network-Attached Storage
NAT Network Address Translation

5 acronyms in this thread; the most compressed thread commented on today has 6 acronyms.

[Thread #254 for this sub, first seen 31st Oct 2023, 08:40] [FAQ] [Full list] [Contact] [Source code]

[-] blackluster117@possumpat.io 3 points 9 months ago
[-] possiblylinux127@lemmy.zip 6 points 9 months ago

My respect has increased for the verge

[-] spaduf@slrpnk.net 2 points 9 months ago

They talked in a recent podcast about how they're doing a full pivot to the fediverse and that certainly got my attention.

[-] dantheclamman@lemmy.world 4 points 9 months ago

I use self-hosting for home assistant and jellyfin (behind two duckdns domains). I started to add more (Joplin server, Immich, tiny tiny RSS etc.) and found my workload increasing a lot, So I've paused that effort for now. For Joplin, I use syncthing with my Pi as a hub instead, which is much simpler.

this post was submitted on 31 Oct 2023
220 points (95.8% liked)

Selfhosted

38652 readers
395 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS