stratself
@stratself@lemdro.id
- Comment on Self-hosting matrix server on Raspberry Pi 4 next to Navidrome and Jellyfin 7 hours ago:
Pihole would be easy for a RPi 4. I’d also consider AdGuard Home which does the same thing, but has out-of-the-box support for encrypted upstream resolvers. I eventually moved on to Technitium for more advanced use cases (hosting my own domains, native config syncing between nodes), albeit it can use a bit more RAM.
- Comment on Self-hosting matrix server on Raspberry Pi 4 next to Navidrome and Jellyfin 7 hours ago:
Hi, as someone running their Matrix server on the same ware (using Continuwuity I have some thoughts:
- The bulk of the load is in federation with other homeservers. If you only run it in non-federated mode the resource usage would be minimal like a simple REST API server.
- If you do enable federation on such a low powered device, consider performance tuning it. DNS tuning is the most essential one, and then you should allow it to use some more RAM than normal (increasing cache capacity)
- Also if you enable federation, expect it to be the software with the most resource impact. I think usually Jellyfin and Navidrome only uses CPU when you’re streaming something, but Matrix may do a lot more background work because federation and so on.
- Calls are handled by a separate LiveKit SFU, which uses WebRTC for most of its operations rather than HTTPS. So you cannot expose it using Cloudflare Tunnels, and you may run into issues forwarding/routing a large number of UDP ports as well.
- I usually recommend renting a VPS for Livekit instead for simpler config and networking. But if you somehow get it working on the Pi itself as well it’d be great to know.
- I used mautrix-whatsapp a long time ago for the bridge. It was good enough, but do note that it is just a stopgap solution to prevent social isolation. Its better to eventually move people to federated protocols.
I’d also like to say you’d get much more juice out of a mini PC or some other non-embedded devices like a used laptop. This is for all your apps anyways.
And yes, Continuwuity can run in docker compose. There’s a few example files for it on the site, feel free to check it out and ask in the support room.
- The bulk of the load is in federation with other homeservers. If you only run it in non-federated mode the resource usage would be minimal like a simple REST API server.
- Comment on Self-Hosting a DNS Sinkhole is really important 5 days ago:
I’d prefer Adguard Home. Does the same thing but also supports encrypted DoT/DoQ/DoH upstreams. And the UI looks a bit neater for me
- Comment on ISP won't set up static IP - Services keep going down 6 days ago:
Since nobody mentioned, I recommend desec.io as the DNS provider. Has a good REST API to update records, also provides a
dedyn.iodynamic domain, and runs as a nonprofit. I thinkddclientwill also support it natively in the next release as well.The solution of renting a VPS also works but usually incurs some cost. You might also want to look into Cloudflare Tunnels
- Comment on Dedicated admin account or normal privileged users? 1 week ago:
Hi all, thanks again for the valuable insights, I really appreciate your comments. I realized I’ve overlooked a few topologies, namely that of having granular accounts for different admining purposes/different services (and using different names for them). Also, my IDP (Kanidm) also has a service accounts feature which can be delegated to real human accounts, so I think I should also be looking into that.
It’d be nice to have something like a “second password” for granting temporary privileged access to other apps’ admin commands, but OIDC doesn’t work this way sadly. Lastly I’d also need to consider managing SSH and non-app stuff as well.
- Submitted 1 week ago to selfhosted@lemmy.world | 16 comments
- Comment on Advice on double-identity server architecture and finding relevant resources to learn? 1 week ago:
Hi, I’ve been running something similar with Tailscale. Instead of traefik, you can use any other TCP proxy like nginx or caddy-l4, or even use
tailscale serveon the edge VPS as well. Do note that all of your listed services except Zola will make outbound requests, so it could be better to also exit node through the VPS (like the article did), as to avoid exposing your residential IP.As for the linked personas, you may wanna use one domain instead of two. Matrix homeservers can be resource-heavy for example, so maybe consider
@persona1:example.comand@persona2:example.comon a single server instead of having two resource hubs that does essentially the same thing. The same applies to GotoSocial and Lemmy. By the way, I recommend Continuwuity for the Matrix server :)Static sites don’t actively take up resources, so they can be on separate domains. But again you may wanna save some money, so maybe consider using
persona1/persona2.example.comsubdomains, or even pubnix-styleexample.com/~persona(1|2)paths!As for the Docker management frontend, I have no idea which one’s the best right now 😅 but do make use of Tailscale SSH feature to troubleshoot other parts of your machines as well. And as for updates, I just subscribe to RSS feeds to keep the important software updated. Highly recommend you do that too to check out changelogs yourself.
- Comment on What do you use for alerting? 1 week ago:
Thanks for the link to go-sendxmpp. It’s nice to have an xmpp-native way to send notifications
- Comment on Anyone using 6-day certs yet? 2 weeks ago:
I think they encourage that increased frequency by offering shortlived certs to begin with…
Although do note that normal certificates will reduce its lifetime to 45 days over the next few years
- Submitted 2 weeks ago to selfhosted@lemmy.world | 48 comments
- Comment on Looking to move from Caddy 4 weeks ago:
You can use
caddy reload -c /path/to/Caddyfileto reload the config midway through - Comment on Looking to move from Caddy 4 weeks ago:
For TLS I am looking into using CertBot and it appears there’s a module (github.com/desec-io/certbot-dns-desec) I can use that works for desec.io to handle my certs.
You can consider using lego-acme as well. It’s not too different, just that it comes prepackaged with a bunch of DNS providers including desec, so you don’t need to install an additional module.
Since Caddy is handling my certs automatically, how often would I want to renew my certs?
By default, certs are valid for 90 days so you’d wanna renew a bit earlier than that. There’s also the option to use 45-day certs or 6-day certs, depending on the profile chosen.
Would I be required to run the same command periodically to renew my cert?
Yes, but it’s better if you automate them, like Caddy did, and both Certbot and lego can do this well. I run lego via a cronjob which checks for the certs’ expiry, and renew it when it passes a certain deadline.
I am looking to hear any suggestions or experiences about different reverse proxies that are preferably free of AI
Not sure I can recommend anything from that list because I’m not familiar with them, but I’ve heard haproxy to be very performant.
- Comment on miniflux vs matrix-rss 4 weeks ago:
You can consider selfhosting maubot + RSS plugin if you wanna keep using Matrix
- Comment on Looking for a chat app with specific requirements 4 weeks ago:
I wrote this by myself using anectodal sources from the community, and no, it never passed through any LLMs. Perhaps I should approach things with a less upbeat and more cynically curt tone.
- Comment on Looking for a chat app with specific requirements 4 weeks ago:
Hello,
I believe Matrix would be the most suitable candidate for your use case. The protocol supports both public and private (invite-only) rooms. It also has spaces, which are collections of rooms that helps with organisation (and yes they do exist in the sidebar). Voice/video calls can be done through Element Call which is integrated in many clients, and are usually quite performant. Pinned messages and polls are natively supported, and there exist various bots for reminders and other little neat features (see the Maubot plugins).
Matrix is also federatable like email, so you can extend your community to people on other servers in the network, too. Be sure to employ moderation tooling though, of which the ecosystem has plenty of and are improving every day. I also recommend testing out non-Element clients (such as Sable, Cinny, or SchildiNext) to see which one fits best with your organisation.
In another comment, you have mentioned the limit of 100 users. I believe this only applies for the Element Server Suite freemium solution, and so I ask, why not use another open source solution? My suggestion would be Continuwuity, a homeserver written in Rust with a very active community behind it. Continuwuity is generally considered much more lightweight than alternatives, and have been seen supporting sub-500 users just fine on a machine with 8 gigs of memory.
There’s some other QoL features you may be interested in, like auto-joining to a room after account creation, and . and it can also integrate with your favorite single-sign-on solution via OIDC as well. So yeah, feel free to ask more here about it, or take the next steps in the support room!
There exists other solutions as well, but I think they are not the best candidates for few reasons. XMPP (i.e. the protocol behind Snikket) is more lightweight, but its clients still generally lack support for group calls, pinned messages, and polls. Fluxer may have a better UI, but it is not federated from the ground up which can lead to problems. I don’t think Nextcloud Talk offers federation either(?), but I believe Nextcloud to be a quite heavy, “bells and whistles included” software suite in general which may be too much for your use case.
- Comment on Issues with https certs locally 1 month ago:
Caddy does certs by responding to ACME challenges on port 80 and 443. You need to forward those ports from the public internet back to Caddy, have you done that?
- Comment on Replacing Cloudflare Tunnel with a Selfhosted Towonel Tunnel 1 month ago:
It bundles WireGuard transport layer and a SNI reverse proxy natively, along with optional authentication. Good enough for beginners or people who need quick deployments.
- Comment on QubesOS workstation + homeserver, and DANE for TLS without 3rd party company 1 month ago:
Hi, the sourcehut seems to be pretty interesting. If I understand it correctly, this DANE-without-root provides a TOFU model as an alternative to the normal case of verifying up all the parts of the domain levels, right? If feasible, maybe that could be nice to extend with other methods for OOB verification and key rollover
- Submitted 1 month ago to selfhosted@lemmy.world | 5 comments
- Comment on I measured the idle RAM of 19 self-hosted apps on identical hardware so you can size a VPS without guessing 2 months ago:
Most of the software are old versions, Forgejo 7 is like years ago now. Why are you running benchmarks on these versions and not the latest ones?
- Comment on Ways to Expose Services Publicly 2 months ago:
I do this albeit with Tailscale. Netbird/Tailscale would act as a node of your VPN and you can configure reverse proxy routes (via
tailscale serveor Netbird’s equivalent) from the VPS edge to the homelab. You can even do SNI passthrough and have TLS terminated at your home, if you want, though this can be a bit slowerAlternatively you can even expose stuff via their servers. Tailscale Inc calls this service Funnels, and Netbird should have similar offerings. It’s kinda like Tunnels, though a VPS is greater as a dedicated entrypoint.
Lastly yes you’d be exposing the service to the general public internet, so some basic security is needed. Netbird has a Crowdsec module integration, might wanna look at that one and set up rules/detections. Consider putting extra auth in front of Jellyfin, use Authelia or something with an auth screen. And only expose the stuff you need, not your internal dashboard or whatever admin UI.
- Comment on I am selfhosting Active Matrix Rooms which is helping users find activity in the matrix network 2 months ago:
Since this is a selfhosting sub can you actually explain how you’re hosting it?
- Comment on Where is the love for conduit? Everybody is preferring continuwuity or tuwunel? 4 months ago:
If you are running a conduit fork, what is your reason for leaving conduit, and if you are running conduit, why didn’t you switch?
Conduwuit (predecessor of Continuwuity and Tuwunel) hard-forked fron Conduit and introduced breaking database changes. That is a significant people don’t easily “switch over”
It may be slow in development, taking a bit longer to implement a new feature, but not too much longer.
I would say its pace of development is very slow compared to the pace of Matrix in general. But if you only want the barebones features, you can use it.
Or am I missing something the others have to offer?
Feature-wise, Continuwuity offers email support, single-use registration token, policy server integration, user suspending, a ton more of admin commands, and some extra endpoints for Element Call. It is also actively working on OIDC-OAuth (so you can login with your IDP), and an ecosystem-wide Admin API. It also has an active community. I can’t speak for the other fork.
Lastly, I don’t think anyone “hate” conduit, the project is alright. It’s just not the topmost option.
- Comment on Where is the love for conduit? Everybody is preferring continuwuity or tuwunel? 4 months ago:
As to answer your questions, threaded conversations are mostly a client issue. The UX for them are still not very good so not a lot of people use it.
SSO/Auth is actually quite hard to support. There’s the “legacy SSO” option which is deprecated in favor of native OIDC, and afaict only Synapse supports it for now. But Continuwuity is activeltly working on it.
- Comment on What are your self–hosted alternatives for inter device communication? 4 months ago:
Taildrop if you use Tailscale.
<offtopic> It’d be nice if there’s a Syncthing built into Tailscale or some of the mesh VPN solutions. Taildrop is good but it’s not entire directory sync with proper conflict resolution.
Surely I can use Syncthing inside Tailscale but 1. I have to depend on their public discoservers, or 2. I have to host and configure the discoserv myself for every client which is tedious to do </offtopic>
- Comment on Messaging apps - XMPP vs Matrix vs ??? 8 months ago:
I’m running continuwuity, and ejabberd as text-only IM servers to talk to some communities. The latter (and XMPP in general) has more moving parts (more ports, SRV records, etc) to set up, but messages deliver much faster and take much less resources. They’d probably both run fine on a VPS with the proper tweaks anyhow - the Rust-based server makes Matrix actually not suck after all
For bridges, I’ve used maunium-discord as a Matrix bridge in the past, and trying out slidcord right now. I think Matrix bridges still got better UI/UX due to more supported features (spaces/threads) and coherent clients, though let it be known Slidge is a hobbyist project. If your chat server is mainly for bridges, stick to Matrix and consider disabling federation. Also Matrix if you’d like your friends to switch over from Discord - it has more Discordesque features like custom emojis/stickers and SFU-backed group calls
Though this doesn’t mean I’m unrecommending XMPP. I do appreciate its clients’ snappiness, in-band notifications, and unrivaled efficiency. I kinda wanna write a blogpost comparing both software and protocols, but right now I don’t have an opinion about one over the other. They’re both cool albeit they both leak different metadata differently
- Comment on PSA: If you are running a Matrix homeserver written in Rust, you'll need to upgrade NOW 9 months ago:
- Submitted 9 months ago to selfhosting@slrpnk.net | 1 comment
- Comment on What is the current state of Matrix? 1 year ago:
- DNS adjustments aren’t needed if you do .well-known delegations which is easier
- Can recommend continuwuity, it runs much better on less resources. Lacks certain features compared to Synapse but overall good
- Notifications (and read markers) depend on client-specific black magic to work
- Federation do sometimes silent-fail completely, you can reset continuwuity’s cache when that happens. But full room history convergence needs patience
- Don’t join large rooms unless your server can handle the load
- Don’t host public rooms without modbots
The many small bugs make Matrix still bad - I wouldn’t recommend a non-tech user unless accompanied by a 24/7 admin. It is trying to improve but very slow because of reasons
- Comment on 18% of people running Nextcloud don't know what database they are using 1 year ago:
Should’ve specifically asked the operators/hosters if they need a better answer. But this has more engagement so