this post was submitted on 31 Oct 2023
209 points (96.0% liked)

Selfhosted

40211 readers
1323 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
top 33 comments
sorted by: hot top controversial new old
[–] MoogleMaestro@kbin.social 61 points 1 year ago (4 children)

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 24 points 1 year ago (1 children)

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 15 points 1 year ago (2 children)

So something like a Synology NAS, I guess.

[–] PlutoniumAcid@lemmy.world 5 points 1 year 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 1 year ago* (last edited 1 year 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 8 points 1 year 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 1 year ago (3 children)

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 1 year 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.

[–] ImInPhx@lemmy.sdf.org 2 points 1 year ago (1 children)

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

[–] lyam23@lemmy.world 3 points 1 year ago

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

[–] lud@lemm.ee 2 points 1 year ago* (last edited 1 year 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.

[–] MalReynolds@slrpnk.net 1 points 1 year ago (1 children)

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 6 points 1 year ago (1 children)

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 1 year 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@lemmy.sdf.org 44 points 1 year ago (1 children)

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 1 year ago* (last edited 1 year ago) (1 children)

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@lemmy.sdf.org 13 points 1 year ago (2 children)

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 1 year 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.

[–] somedaysoon@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

That's true, any apps/services that use a database instead of files are more problematic. But then as you have done, you could build your own tooling to accomplish it. That's quite a bit of effort, so it would have to be worth it for you.

I too like having file access whenever possible and prioritize it, for instance on the notes and wiki apps that I use like minimalist web notepad and dokuwiki... it's nice to have access to the files directly. And similarly Immich didn't have a good way to use your own directory structure for quite a while so I didn't use it and instead I used PhotoPrism, but now there is a way to make that work with Immich. It took a bit more effort where I do the actual syncing of my phone's photos with syncthing, and then have a cronjob running an immich --import to import them into Immich, but it works... and I'm happier because I get to maintain my existing directory structure of files.

[–] warmaster@lemmy.world 34 points 1 year ago

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

[–] Father_Redbeard@lemmy.ml 12 points 1 year 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.

[–] SamXavia@kbin.run 11 points 1 year ago (1 children)

@spaduf That's really nice, I actually use Obsidian myself for note taking and I can say that I will never go back to normal note taking software. The internet and software needs to change to be for the user, for if the software doesn't exist in the future. We never know if a service will go but we shouldn't loose everything.

[–] spaduf@slrpnk.net 5 points 1 year ago (2 children)

Love Obsidian and linked notes in general. The potential utility there is insane but it's such a steep learning curve. I really think that in the not too distant future they'll be teaching it in schools.

[–] ricdeh@lemmy.world 5 points 1 year ago (2 children)

Proprietary software should NOT be taught in schools! We already have way too much of that

[–] spaduf@slrpnk.net 2 points 1 year ago

Definitely talking about linked notes. Obsidian is far from the first or only player in the space. Logseq is out there for the FOSS diehards. I actually very much prefer the Logseq paradigm but struggled with performance issues on my machines.

[–] Someology@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (1 children)

If you do not teach proprietary software un schools, you will hobble your students' job hunting potential. We should ALSO teach open source alternatives, and teach the idea that there are functional alternatives, but a student who has never used the major apps isn't getting their resume even looked at by a human.

[–] lud@lemm.ee 1 points 1 year ago

Imo students need to be taught how to use Windows, Linux would also be neat, but it's not necessary for most.

They also need to be taught how to use any office suite, it can be libre office or MS office, it doesn't really matter which but they have to be able to use it.

[–] orosus@lemmy.world 2 points 1 year ago

I really hope so, it should be taught, because for me it was a slow learning process. First I started using Obsidian, and moving all my notes from Evernote, Notion, and others manually. After that I moved to Logseq, which is like Obsidian but open-source. And the last step was using an open-source syncing tool (Syncthing) to have my notes synced locally in all devices. And now I have been 2 years self-hosting my notes in a really easy way.

[–] Decronym@lemmy.decronym.xyz 10 points 1 year ago* (last edited 1 year ago) (1 children)

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]

[–] possiblylinux127@lemmy.zip 5 points 1 year ago (1 children)

My respect has increased for the verge

[–] spaduf@slrpnk.net 2 points 1 year 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 2 points 1 year 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.