this post was submitted on 26 Apr 2024
82 points (93.6% liked)

Selfhosted

40313 readers
227 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
 

For self-hosting though, the project I work on - Snikket - uses XMPP but has all the nice modern things you'd expect ready to go right out of the box, more like a Matrix (Synapse/Element) setup. Probably the biggest thing missing for Snikket right now is an official web app (we currently have Android and iOS apps).

My personal feeling is that if you're looking for something a bit more extensive, "team chat" style (such as Discord, Slack, that kind of thing), you're better served by Element right now. However if you're looking for something lightweight and simple for personal messaging in a group of family/friends (e.g. to replace WhatsApp/Telegram/Signal) then XMPP via Snikket is a great choice.

  • The above is copied from someone else. Anyone have any experience running this for family / friends?
top 17 comments
sorted by: hot top controversial new old
[–] lemmyreader@lemmy.ml 9 points 7 months ago

Tested Snikket self-hosting in the past. If I recall correctly one advantage was that it has the option for admins to create invite links for on-boarding new users which seems useful to me for "normies".

[–] kurcatovium@lemm.ee 6 points 7 months ago (1 children)

I wonder how does this differ from plain XMPP? There are tons of XMPP clients for every imaginable device, includong browser ones.

[–] lautan@lemmy.ca 10 points 7 months ago (1 children)

This is one-click install, easier for beginners / non-tech people.

[–] kurcatovium@lemm.ee 3 points 7 months ago (1 children)

Yeah, I get that. But since it's (basically) XMPP, can't it be used with such as Converse.js?

[–] poVoq@slrpnk.net 6 points 7 months ago (1 children)

It has a very opinionated default configuration and many of the relevant settings are hard-coded in the containers and thus are not easy to change permanently.

It's probably possible to get working with ConverseJS, but I think it is better to wait for an officially supported web-client to be added to Snikket or alternatively configure your own XMPP server without the ready made Snikket containers.

[–] EngineerGaming@feddit.nl 2 points 7 months ago (1 children)

What settings presented most trouble to you, just curious?

[–] poVoq@slrpnk.net 5 points 7 months ago

Its not specific settings but the overall setup that is not intended to be modified.

[–] Wolfwood1@lemmy.world 2 points 6 months ago (1 children)

I've tried to install it on my VPS behind Traefik but couldn't get it working. ¯\_(ツ)_/¯

[–] poVoq@slrpnk.net 4 points 6 months ago (1 children)

XMPP doesn't use HTTP for the most part, so Traefik isn't going to work. Just open the right ports in your firewall.

[–] Wolfwood1@lemmy.world 2 points 6 months ago

I know, bit Snikket still uses ports 80/443 for its web interface and group file sharing service. It even has a page for Reverse Proxy configuration, but it doesn't include Traefik and the configuration is non-trivial

[–] Decronym@lemmy.decronym.xyz 2 points 6 months ago* (last edited 6 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
HTTP Hypertext Transfer Protocol, the Web
SSL Secure Sockets Layer, for transparent encryption
VPS Virtual Private Server (opposed to shared hosting)
XMPP Extensible Messaging and Presence Protocol ('Jabber') for open instant messaging

4 acronyms in this thread; the most compressed thread commented on today has 14 acronyms.

[Thread #717 for this sub, first seen 27th Apr 2024, 18:05] [FAQ] [Full list] [Contact] [Source code]

[–] alexbrave@lemmy.world 2 points 6 months ago

I installed it with a caddy proxy, works like a charm. I've used the Converse.js web client, Modal on iOS and Conversations for Android. The installation was quick and easy, file and photo sharing works, audio and video calls.

Really the hardest part is getting friends to use it.

[–] lambalicious@lemmy.sdf.org 1 points 6 months ago (1 children)

While I like it conceptually, the two times I tried to install it I felt it was far too opinionated for me to get it to work correctly, like other software "bundles" of its kind that want to take control of the entire process of setting up ports, networking, storage, certificates etc..., instead of just hanging down from stuff that I have already prepared for it (like my own domain with my own cert).

Like, as a piece of software it's something I'd absolutely use... if someone else sets everything up for me.

[–] lautan@lemmy.ca 2 points 6 months ago (1 children)

I thought you could install as a docker container?

[–] lambalicious@lemmy.sdf.org 1 points 6 months ago (1 children)

You can, but honestly no idea how to handle stuff like the certs from that point on. Most other software on docker lets me eg.: just bind-mount the host's directory with the certs I want to use - or just not even know about SSL in the first place and just let me reverse-proxy the access in (like, say, a simple static page web server).

But, like I said, the last times I tried to get into it, it tried its darnest to get in my way. If that's changed since then, that'd be great.

[–] lautan@lemmy.ca 2 points 6 months ago (1 children)

There is a docker container setup with automatic lets encrypt and proxy. Can search around for it.

[–] lambalicious@lemmy.sdf.org 1 points 6 months ago

Hmmm maybe that's the one that tries to do everything on its own instead of using the stuff I've already set up. Had similar issues with eg.: Nextcloud.

I've been looking for an alternative "the actual XMPP service only, nothing else that can be sourced by the host" container setup but there doesn't seem to be any.