this post was submitted on 25 Jan 2025
473 points (99.4% liked)

Selfhosted

41460 readers
494 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 2 years ago
MODERATORS
 

I think everybody on here is constantly keeping an eye out for what to host next. Sometimes you spinup something which chugs along nicely but sometimes you find out you've been missing out.

For me it's not very refreshing or new: Paperless-ngx. Never thought I would add all my administration to it. But it's great. I probably can't find the thing I need, but I should have a record of every mail or letter I've gotten. Close second is Wanderer. But I would like to have a little bit more features like adding recorded routes to view speed and compare with previous walks. But that's not what it is intended for.

What is that service for you?

you are viewing a single comment's thread
view the rest of the comments
[–] Mikina 72 points 2 days ago* (last edited 2 days ago) (6 children)

I'm hodsting my own Matrix server with WhatsApp, Telegram, Discord (you don't need a bot for that, you can just share your login with the bridge) and Messenger bridge. I have all my IMs in one app, don't have to install spyware on my phone, and I can make bots that troll annoying people that message me on any platform.

Hosting it was super simple, thanks to the Ansible project that's extremely robust and well done, I literally just got a hosting, domain amd changed like 5 config values to enable the bridges I wanted, gave it an IP and ssh key, and ran it. And if I need to update, I literally "just update" (it's all wrapped up into "just" tool), and it eve handles cases where I didn't update for a while, failing graciously and telling me what I need to do maually, usually just rename some config values.

I wholly recommend it. You probably wont convince your friends to switch from , and this is the best compromise.

I'm using a small instance on Hetzner, for 6$ a month. You could in theory get a free oracle cloud instance for it, but I didn't manage to get one.

And you can easily share it with anyone interrested, make them an account, so they can also consolidate their DMs. I'm sharing it with a few friends and colleagues.

[–] [email protected] 12 points 2 days ago (1 children)

You've just made me waste the next 2 days, because this sounds great! Only thing I'm a bit hesitant about is trusting all bridge makers. I'm a bit more aware that I use a lot of FOSS where it could be easy for the dev's to just go rogue. But that's still better than giving it away to some closed source company.

[–] Mikina 4 points 2 days ago

WhenI was setting it up, it took me only like two hours tops. The ansible project is well documented, has a clear setup guide, and the process is really just getting server with ssh access, changing DNS, changing around 5 values in the ansible config and running it.

[–] [email protected] 3 points 1 day ago* (last edited 1 day ago) (2 children)

How do you get around the requirement to run the official app somewhere?

I run a WhatsApp and signal bridge, but not recommend running the official app on a phone

[–] Mikina 1 points 19 hours ago

Yeah, that part about WhatsApp is annoying. I just have a spearate profile on Graphene that has only WhatsApp installed, and whenever it wants me to refresh a session I just switch to the profile and log in.

[–] [email protected] 3 points 1 day ago (1 children)

WhatsApp disconnects you if you don't open the official app every 14 days or so. So you definitely need it. I run it on an old tablet. It's supposed to run in a virtual machine (running Android) as well.

[–] [email protected] 2 points 1 day ago

I've used an old phone just for this task... ;-)

[–] [email protected] 7 points 2 days ago (3 children)

Would you recommend the Discord bridge? I've always wanted to install that as well. Is there anything I want to know before putting in the effort to install and configure it?

[–] [email protected] 6 points 2 days ago (1 children)
  1. A puppeting (personal account) Discord bridge basically requires your own homeserver. You are trusting the homeserver owner / bridge host fully with your Discord account.
  2. It is technically against Discord ToS. While I don't think anyone's been banned yet, several people have started receiving warnings that they "spammed", most of them after sending an attachment. These warnings are on your account for 2 years, and could contribute to an account ban.
  3. Voice chat is not, and probably will not be supported.
  4. Do NOT bridge a "large" server. You are essentially re-hosting the chats, which can be extremely taxing for large and active Discord servers.

I use mine for a single channel in a "medium-size" server (~2k people), a friend group server, DMs, and a few channels that follow a bunch of announcement channels on other servers.

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago) (1 children)

Those are certainly valid points. But do I want to care about that? Honest question... Discord also doesn't care about my privacy. Or making the internet a better place. So I think -in turn- I feel quite alright to ignore whatever client they like me to use. And their exact ToS.

What's with the "taxing for large and active Discord servers"? Does it lead to issues if I'm not using their Electron app or website? I can't imagine where this additional strain on their servers would come from?! I run my own homeserver, by the way. So I shouldn't weigh down on anyone else's server...

[–] [email protected] 2 points 8 hours ago (1 children)

When you use the official discord client, it only sends to your device whatever chat channel you have open at the time, and when you click on a different channel, it just downloads the last 20 messages, and downloads more when you scroll etc. If you bridge a discord server to a matrix server, it sends all of the contents of all of the channels in real time across. If the server had 50 channels, bridging it to matrix would be the equivalent of you having 50 official clients open, one to each channel. Hence the additional load on discord’s side to send you a lot more data than they usually would.

(Disclaimer: this is all conjecture based on a general understanding of how the systems work, I could be getting some details wrong)

[–] [email protected] 1 points 7 hours ago

Thanks for explaining. That makes perfect sense. I was under the impression there might be something else.

I'm not interested in forwarding spam in the first place. I don't think I have any use of channels where messages just fly by... So I think I should be safe.

[–] [email protected] 5 points 2 days ago (1 children)

@[email protected] which discord bridge? For Matrix? The one that operates as a Discord bot works perfectly. Don't know about the ones that want your login token.

[–] [email protected] 3 points 2 days ago (3 children)

I was thinking of mautrix/discord. Is that the one you use?

[–] [email protected] 2 points 1 day ago

Works great for me, too.

[–] [email protected] 4 points 2 days ago (1 children)

I use mautrix/discord, it can work in both puppeting (sign into your account) mode and relay (bot account with webhooks) mode.

[–] [email protected] 2 points 2 days ago

Thank you very much. I'm going to set it up then.

[–] [email protected] 3 points 2 days ago (1 children)

@[email protected] no. I use the app service one. It works well, but it's basically for bridging public channels. The Mautrix bridges all work very well. I've used the Facebook one in the past. It's just the limits those platforms put on the bridge (e.g. banning or locking account) that can be a problem. If your bridge is connecting from the same place as you normally connect to Discord from, you should be fine.

[–] [email protected] 2 points 2 days ago* (last edited 2 days ago)

Thx. So far the mautirx ones have worked flawlessly for me. I got blocked once, years ago by WhatsApp when I first set it up. No issues after that, so I'm not really afraid of getting banned. And I'm not planning to use the apps or website much after I got the bridge running. That is if it offers all the features and I don't have a reason anymore to log in myself...

[–] Mikina 2 points 2 days ago (1 children)

As far as I know the Discord bridge has some limitations, the major one being that IIRC it doesn't atually support calls. But just for chatting across servers it has worked well for me.

There's also the fact that you have to either trust the project with your password (as in, the the bridfe adds a matrix bot that runs on your server, but needs your pssword), since I think it uses the web version in the background (but then you can also use it for DMs and any server), or set up a bot on the discord server you want to bridge, which obviously cant be done if you're not an admin. It's a foss project, but there's always a small risk of it gping rogue.

[–] [email protected] 1 points 1 day ago* (last edited 1 day ago) (1 children)

I think I'd be fine with that. I'm using lots of Free Software projects, have Linux on my computers, wifi router, use random projects and Fediverse platforms ... So far every time one of my passwords got leaked it was some breach of a proprietary platform (last.fm, Facebook, ...) while the Free Software has served me extraordinary well. Usually it even limits the insatiable hunger for private data those commercial platforms have...

[–] Mikina 2 points 18 hours ago

Yeah, that's my experience as well. In addition to being lazy with updating, so if some kind of supply chain attack happens, I usually sorts itself out before I get to updating :D

But I did limit my browser extensions, after I a cause with Nano Defender taught me a lesson - it was a mildly popular anit-anti-adblock killer that worked where other adblocks were detected, but the developer sold the extension to a company that turned it into a info-stealer malware and pushed an update through chrome store, which got accepted and propagated, and some of my social network sessions got compromised. So, I just stick to more popular projects where something like this shouldn't happen, and don't use random extensions.

[–] [email protected] 2 points 2 days ago (2 children)

Would you mind sharing the link t the ansible project?

[–] Mikina 3 points 2 days ago

https://github.com/spantaleev/matrix-docker-ansible-deploy

Its pretty well documented and easy to follow, it took me only like an hour to setup.

[–] [email protected] 1 points 1 day ago (2 children)

When I was looking into matrix bridges I heard a bunch of stories about people getting their accounts blocked after using them through the bridges. Is this still an issue?

[–] Mikina 1 points 19 hours ago

I've been using it for almost a year by now, and so far I didn't have any problems. I've not considered that problem though, so it might be happening and I was just lucky.

[–] [email protected] 2 points 1 day ago

Once in a while discord signs me out and I have to do a bunch of extra sign-in steps on the official client. But otherwise I have discord, WhatsApp, Google voice, Google chat, Google messages (sms), Facebook, telegram, signal.

All the mautrix bridges are will made and robust

[–] [email protected] 1 points 2 days ago (1 children)

There’s a matrix whatsapp bridge??

[–] Mikina 1 points 19 hours ago

There is, but it requires you to log into the app every two weeks to maintain a session. You can setup a emulator to do it for you. I just have a separate profile on my Graphene with Only WhatsApp that I switch to and login whenever I get a warning.