this post was submitted on 18 Jan 2026
32 points (94.4% liked)

Selfhosted

54845 readers
262 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.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Basically, I want to make one for some multiplayer games out there (along with Stoat communities, or something similar - what do y'all recommend? Bonus if it has voice chat).

What would I need, and how can I set this up safely without having my own network hacked beyond comprehension? I could do it off site from home too if that's better.

I have a Raspberry Pi 4gb, but also an old DDR3 16gb desktop with a PCI network card available if that's recommended.

top 16 comments
sorted by: hot top controversial new old
[–] poVoq@slrpnk.net 15 points 4 days ago* (last edited 4 days ago)

First of all I would recommend you use Piefed instead. Easier to setup and maintain.

But I am not sure exactly what you want that Lemmy/Piefed instance for? As an internal forum of sorts? That can work, but is not really what it was developed for and there are better (non-federated) options.

If you want it to be an actually federated instance then the Rasberry will not cut it. The desktop might, if it has some good SSD storage for the database.

For in game voice-chat the simplest option is a Mumble server. Very low resource use and runs great on a Rasberry like yours. Otherwise you could also try setting up a Movim instance. It has text chat and voice/video calls that should reasonably work as a Discord substitute for small groups. It is also quite low resource and should run fine on that Rasberry.

[–] hitmyspot@aussie.zone 11 points 4 days ago (2 children)

Couldn't you just create the communities on an existing server? Obviously it would be good to not be on the biggest one to help spread out the community, as that's the point of federation. If it's on a server with existing users, you're more likely to get members join as it will show in their local feed.

that's a good idea as well! might consider that.

[–] Lumisal@lemmy.world 1 points 4 days ago (2 children)

How would I do that? I that each and every community had to be manually approved by the server administration

[–] hitmyspot@aussie.zone 4 points 4 days ago

I think it depends on the instance. So check the instance rules that you are considering. Then message the mods and ask, I reckon!

[–] hitmyspot@aussie.zone -1 points 4 days ago

I think it depends on the instance. So check the instance rules that you are considering. Then message the mods and ask, I reckon!

[–] 4am@lemmy.zip 5 points 4 days ago

Disclaimer: I might be talking out of my ass here but this is how I think it works, to the best of my knowledge.

The safest way would be to make an instance that only hosts the communities; it has no users and therefore federates no subscriptions of other communities who’s content you may need to police for stuff like CSAM that isn’t caught right away. You’d only need to monitor and moderate your own communities created on the instance.

I’m not sure but you might need one account to be an admin/ moderator for the communities you create? Just don’t subscribe to any off-instance communities with it and it shouldn’t federate those posts.

Folks on other communities will interact with it via someone from their instance subscribing to it; so discoverability might present an issue.

[–] potatoguy@lemmy.eco.br 5 points 4 days ago* (last edited 4 days ago) (1 children)

I tried one time to make my own personal instance https://potato-guy.space/, that ended because I forgot my ssh keys when i distrohopped, but I could make some suggestions.

  • Get anti-bot protection, like cloudflare (or something more privacy friendly) AND something like anubis or a nginx plugin.
  • Don't make it on your network if you don't know what you're doing, put it on a rented VM on the "cloud", the chance of someone breaking into your network because you misconfigured something, if you don't know about network security, is above zero and horizontal hopping in a network is feasible.
  • A raspberry pi is enough, just use some optimzed settings and use the picture server settings to use postgresql too, just create a new database on postgresql and hook that on, it will be more cpu and ram friendly.
  • If you really want it on your network, double check and triple check every router configuration, put it on a virtual network, inside a VM, outside your own network so horizontal attacks don't happen.
  • Edit: Also, use btrfs with compression enabled for the postgresql database, it will make the database faster as the read and write ops will be 2x (with lzo, almost no cpu usage) to 3x (with zstd, but with more cpu usage) faster.

This is the docker-compose config for lemmy: https://github.com/LemmyNet/lemmy/tree/main/docker

This is the tutorial for it: https://join-lemmy.org/docs/administration/install_docker.html

Some drama happened in the past on those docker configs, check all and put your domain where needed.

[–] moonpiedumplings@programming.dev 1 points 4 days ago* (last edited 4 days ago) (1 children)

Do you have a source or benchmarks for the last bullet point?

I am skeptical that optimizations like that wouldn't already be implemented by postgres.

Edit: Btrfs has the worst performance for databases according to this benchmark.

https://www.dimoulis.net/posts/benchmark-of-postgresql-with-ext4-xfs-btrfs-zfs/

[–] potatoguy@lemmy.eco.br 1 points 4 days ago* (last edited 4 days ago)

Postgresql, or any database, don't compress its database files.

As the checks are done in the database files, at the disks, but cached in memory, when it does some expensive check or put any data into disk, if the data is compressed, then it will be faster.

I only have old data, but this could be of help, compression help disk reads and writes, even facebook uses btrfs for disk compression. Everyone should compress their databases in 2026, it makes it take less space and faster.

Edit: specifically, on the postgresql database, there isn't the default configuration without compression, but you can take some guesses from the other benchmarks, and these are old benchmarks, things changed since 2017, 9 years ago.

Edit 2: These are more noticeable on the data being capped by the ssd/hdd or sata connection, as it's a raspberry pi, it will surely be capped by the data transmission, sending and receiving less data will make the reads/writes faster.

Edit 3: This is another benchmark too, not postgresql, but on limited bandwidth to the disk

[–] Decronym@lemmy.decronym.xyz 4 points 4 days ago* (last edited 3 days ago)

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

Fewer Letters More Letters
CSAM Child Sexual Abuse Material
HTTP Hypertext Transfer Protocol, the Web
SSD Solid State Drive mass storage
nginx Popular HTTP server

3 acronyms in this thread; the most compressed thread commented on today has 9 acronyms.

[Thread #1007 for this comm, first seen 19th Jan 2026, 02:05] [FAQ] [Full list] [Contact] [Source code]

[–] rimu@piefed.social 3 points 4 days ago

I want to set up a Lemmy server too (currently still deciding between Lemmy and PieFed) to host some basic content that we create at a university group with the public. It's more like a blog than anything else, at least as envisioned. I'd also like to add some cool features to it like auto-posting (i.e. we have a bot that automatically uploads certain posts).

[–] EarMaster@lemmy.world 2 points 4 days ago (1 children)

Are you maybe looking for something like Revolt or Spacebar?

[–] mnemonicmonkeys@sh.itjust.works 6 points 4 days ago (1 children)

Revolt

They got a C&D over the name and switched it to Stoat, which OP said they've tried before.

I don't get why they picked Stoat; it's a terrible name, but it is what it is

[–] EarMaster@lemmy.world 3 points 3 days ago

Didn't know that. I agree it is a terrible name, but maybe that's why it is safe from any cease and desist orders...