Selfhosted

42273 readers
371 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
1
 
 

First, a hardware question. I'm looking for a computer to use as a... router? Louis calls it a router but it's a computer that is upstream of my whole network and has two ethernet ports. And suggestions on this? Ideal amount or RAM? Ideal processor/speed? I have fiber internet, 10 gbps up and 10 gbps down, so I'm willing to spend a little more on higher bandwidth components. I'm assuming I won't need a GPU.

Anyways, has anyone had a chance to look at his guide? It's accompanied by two youtube videos that are about 7 hours each.

I don't expect to do everything in his guide. I'd like to be able to VPN into my home network and SSH into some of my projects, use Immich, check out Plex or similar, and set up a NAS. Maybe other stuff after that but those are my main interests.

Any advice/links for a beginner are more than welcome.

Edit: thanks for all the info, lots of good stuff here. OpenWRT seems to be the most frequently recommended thing here so I'm looking into that now. Unfortunately my current router/AP (Asus AX6600) is not supported. I was hoping to not have to replace it, it was kinda pricey, I got it when I upgraded to fiber since it can do 6.6gbps. I'm currently looking into devices I can put upstream of my current hardware but I might have to bite the bullet and replace it.

Edit 2: This is looking pretty good right now.

2
 
 

Hello everyone! Mods here 😊

Tell us, what services do you selfhost? Extra points for selfhosted hardware infrastructure.

Feel free to take it as a chance to present yourself to the community!

🦎

3
 
 

It's Sunday somewhere already so why wait?

Let us know what you set up lately, what kind of problems you currently think about or are running into, what new device you added to your homelab or what interesting service or article you found.

I'll post my ongoing things later/tomorrow but I didn't want to forget the post again.

4
 
 

UDN (Ukranian Data Network) an internet service hosting has been offline for a few days and for a moment on their site has reports a message about their network being off-line as a result of sabotage by Ukrainian police officers. Did anyone use it and have any other info?

I was using it for my TOR node.

5
41
Good mail server for selfhosting (lemmy.cronyakatsuki.xyz)
submitted 1 day ago* (last edited 1 day ago) by crony@lemmy.cronyakatsuki.xyz to c/selfhosted@lemmy.world
 
 

So I'm migrating stuff from my old server to a new provider and only thing left is email.

The problem is I used luke smith's emailwiz script ( the script and setup itself isn't a problem ) because it uses system users for managing users with dovecot and friends to setup a mail server.

So now I'm looking for a new email server to selfhost (preferably docker/podman) that in the future I can easilly migrate.Would also love if somebody has a reccomendation on how I could backuo and import emails from the old server.

NOTE: I use caddy as webserver, so the server should have a simple way on getting ssl certs, or abikity to easilly make use if caddy one's.

6
 
 

Hey everyone, #What is wanderer? wanderer is a self-hosted GPS track database. You can upload your recorded GPS tracks or create new ones and add various metadata to build an easily searchable catalogue. Think of it as a fully FOSS alternative to sites like alltrails, komoot or strava. #What is new? I'm coming back here to tell you a bit about what has been happening since my last update. Since then, we implemented some highly requested features:

  1. A fancy new 3D model on the front page (there is an easter egg, can you find it?)
  2. wanderer now uses vector map tiles which results in a significant performance boost for everything map-related
  3. As a result, we now also support topographical 3D maps in wanderer (see gif)
  4. Greatly improved social features: from list sharing, over profile pages and activity feeds to notifications
  5. The better location search allows you to search right down to the address
  6. And finally probably the most requested feature: integrations. You can now sync all your trails from strava and komoot directly with wanderer without having to manually export/import them

Big thanks to everyone who contributed code or translations! If you have any suggestions/questions feel free to let me know below.

Have a great weekend!

Flomp

7
 
 

Just discovered #spotdl (https://github.com/spotDL/spotify-downloader). It's a great way to download songs from #youtube with metadata and lyrics, or to just quickly listen to that one song somebody sent you. Cli and webui are available and it's very configurable

#spotify #musicdownload #spotifydownloader #selfhosted @selfhosted

8
9
 
 

Hi guys!

I have some subtitles in French, which I'd like to batch-translate. Surely I could use gtranslate or similar, but the end result is usually...crappy, always losing context from sentence to sentence, making the overall result garbage. I was wondering if an AI such as GPT4All could handle context in the conversations better, and give a possibly better output. But I'm not sure how to make it batch process a bunch of files and output new ones. Would you guys know a suitable AI that could do this?

Thanks!

10
16
submitted 1 day ago* (last edited 1 day ago) by Shimitar@downonthestreet.eu to c/selfhosted@lemmy.world
 
 

I have a remote VPS that acts as a wireguard server (keys omitted):

[Interface]
Address = 10.0.0.2/24
[Peer] # self host server
AllowedIPs = 10.0.0.1/32

(The VPS is configured to be a router from the wg0 to it's WAN via nft masquerading)

And i have another server, my self-host server, which connects to the VPS trough wireguard because it uses wireguard tunnel as a port-forwarder with some nft glue on the VPS side to "port forward" my 443 port:

[Interface]
Address = 10.0.0.1/24
[Peer]
AllowedIPs = 10.0.0.2/24

(omitted the nft glue)

My self-hosted server default route goes trough my home ISP and that must remain the case.

Now, on the self-host server i have one specific user that i need to route trough the wireguard tunnel for it's outgoing traffic, because i need to make sure it's traffic seems to originate from the VPS.

The way i usually handle this is with a couple of nft commands to create a user-specific routing table and assign a different default route to it (uid=1070):

 ip rule add uidrange  1070-1070 lookup 1070
ip route add default via 192.168.0.1 dev eno1 table 1070

(this is the case, and works, to use eno1 as default gateway for user 1070. Traceroute 8.8.8.8 will show user 1070 going trough eno1, while any other user going trough the default gateway)

If i try the same using the wg0 interface, it doesn't work.

 ip rule add uidrange  1070-1070 lookup 1070
ip route add default via 10.0.0.2 dev wg0 table 1070

This doesnt work, wireguard refuses to allow packets trough with an error like:

ping 8.8.8.8
From 10.0.0.1 icmp_seq=3 Destination Host Unreachable                                            
ping: sendmsg: Required key not available 

I tried to change my self-host server AllowedIps like this:

[Interface]
Address = 10.0.0.1/24
[Peer]
AllowedIPs = 10.0.0.2/24, 0.0.0.0/0

and it works! User 1070 can route trough wireguard. BUT... now this works just too much... because all my self-host server traffic goes trough the wg0, which is not what i want.

So i tried to disable the WireGuard messing with routing tables:

[Interface]
Address = 10.0.0.1/24
Table = off
[Peer]
AllowedIPs = 10.0.0.2/24, 0.0.0.0/0

and manually added the routes for user 1070 like above (repeat for clarity):

 ip rule add uidrange  1070-1070 lookup 1070
ip route add default via 10.0.0.2 dev wg0 table 1070

The default route now doesnt get replaced, but now, without any error, the packers for user 1070 just don't get routed. ping 8.8.8.8 for user 1070 just hangs

I am at a loss.... Any suggestions?

(edits for clarity and a few small errors)

11
 
 

Hi Everyone, long time!

Been an incredible few weeks to create new features for Postiz.

Postiz is a social media scheduling tool supporting 18 social media channels:

Instagram, Facebook, TikTok, Reddit, LinkedIn, X, Threads, BlueSky, Mastodon, YouTube, Pinterest, Dribbble, Slack, Discord, Warpcast, Lemmy, Telegram and Nostr.

https://github.com/gitroomhq/postiz-app/

We have added some cool features all in the open-source:

  • New provider: Nostr - it was pretty challenging to understand how to implement it, but it's awesome, it's a protocol that works on Websockets (you can find platforms built on that protocol like Iris and Primal)
  • Tagging - You can tag posts (text + colors) and later see them on the calendar with the color/text.
  • Webhook - You can create webhooks on published posts
  • Signatures - You can save signatures that can be used later (and also add a default one)
  • Repeated posts - You can add posts that will repeat every X amount of time (pretty challenging implementation)
  • Fixed Telegram - it can now schedule for both channels and groups
  • Added digested notifications - if you have multiple posts scheduled for the same time you will get only one email about them.

Next:

  • I am working on RSS auto-reposter, for example if you have a new blog on your website it will automatically be posted on your socials (with AI for the text and pictures)
  • Chrome extension that replaces your textarea on social platforms to Postiz directly with Postiz.
  • Sync old posts (that were not created by Postiz)
  • Social Templates - you can create a template of multiple social media so instead of selecting your socials everytime, you can just use the template.

I have seen some posts on the channels that it's hard to self-host postiz. I agree documentation is lacking. and I haven't found enough motivation to update the missing thing - I know it's the core of open-source and I am super sorry about that.

It's also challenging to add providers, but that's already something that I can't solve as we are all bound by social networks approval process.

If somebody can help me out filling it out some missing docs, that would be amazing!

https://docs.postiz.com/introduction

Thank you for the constant support!

12
 
 

Over the years I accumulated very many services which I host myself and each of them has it's own URL:

  • 6 websites, mine and my sisters
  • 3 instances of home assistant
  • Uptime Kuma
  • Synology with photos on it
  • Matrix server
  • Firefox sync
  • TinyTinyRSS
  • Mastodon
  • PeerTube
  • PieFed
  • Immich
  • Open WebUI (for local large language models)
  • UniFi (CCTV)
  • Baïkal (Cal- and CardDav)

I'm probably forgetting some of them now and I'm planning to host more in the future.

The problem is how to remember all of those URLs or domains. I have a system how I call them, but my extended family can't really remember them.

I think it's time for a landing page. Do you guys have any suggestions?

13
 
 

Hello!

I started my journey into self-hosting around 2022, and it's been a long and laborious learning process. I'm not a developer by trade (just a sound engineer and photographer) but I'm curious, and I needed a straightforward and effective application to fill a gap in my photography workflow.

With some guidance from my brother, who knows how to code, and a significant amount of help from AI, I managed to create an application that does exactly what I need. Yeah, I'm sorry I had to rely so heavily on AI, but I can't afford to learn to code entirely since I already have multiple jobs, a lot of hobbies, and a family I want to spend time with :) Anyway, I learned a lot working on this.

I'm sharing this app here in all humility, I'm sure it's all very goofy, but I was hoping it might be useful to some of you somehow. Feel free to check it out and let me know if it helps or if you have any suggestions for improvement. Thanks for being such a supportive community!


ImaGUIck is a user-friendly web application designed around Imagemagick for batch image processing. It offers a very simple graphical interface to resize and convert images with ease. Key features include:

  • Single or Batch Image Processing: Handle individual images or batch process multiple images with ZIP export.
  • Resizing Options: Resize images by specific dimensions, percentage, with aspect ratio preservation or not. You can select 1080p resolution based on the longest edge for social media platforms.
  • Format Support: Supports common, RAW, modern, animation, and vector formats.
  • Automatic Image Enhancement: Optimize dynamic range, correct exposure, and apply sharpening.
  • Image Import from URL: Import images directly from a URL.

You can find it here.

14
 
 
15
 
 

Hi all.

I have been hosting my mail (not "self" like at home, but hosting on a rented server on the 'net) for the last 20 years going the old good way of postfix+dovecot+OpenDKIM/DMARC/SpamAssassin and all the glue and bells.

Having the opportunity to rethink the entire approach (which works fine, but its pretty cumbersome and complex to replicate) i was looking at Stalwart mail server which looks promising and nice, being written in rust following modern principles and such.

Asking to anybody who has been using Stalwart, is it good? Does it deliver being a solid mail server?

Asking to people hosting it's own mail, is there a better solution out there?

Asking to people commenting against hosting a mail server, please refrain from doing so, as i'have been doing that with success for the past 20 years that's what i will be keep doing for the foreseeable future as well.

16
 
 

Upvote RSS is a self-hosted project I've been working on that generates RSS feeds from social aggregation websites like Lemmy, Reddit, and Hacker News. You can subscribe to Lemmy communities, subreddits, and Hacker News while filtering to only the top posts. It will embed Reddit post media (videos, images, galleries), and you can optionally include parsed article content, AI-generated summaries, top comments, and more. Here are some of the features:

  • Supports Lemmy communities, subreddits, Hacker News, and more to come
  • Configurable filtering to dial in the right number of posts per day in your feed reader
  • Embedded post media: videos, galleries, images
  • Parsers to extract clean content and add featured images
  • AI article summaries
  • Estimated reading time, score, and permalinks to the original post
  • Top comments
  • NSFW filtering/blurring (Reddit only for now)
  • Custom Reddit domain
  • Light/dark mode for feed previews

Here's the GitHub link if you'd like to give it a spin:

https://github.com/johnwarne/upvote-rss

And the preview website (not all options are available here):

https://www.upvote-rss.com/

17
18
 
 

Actively working on a guide, as a companion to my recent podcast episode on the same topic you can hear at https://podcast.james.network/@linuxprepper/episodes/byebye-raspberry-pi

19
 
 

I kept my promise and wrote something in Lisp.

FWIW: Not counting third-party libraries, READMEs and build-related stuff:

-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
LISP                            12            205            330           1028
HTML                            16             69              6            698
CSS                              1             19             11             92
-------------------------------------------------------------------------------
TOTAL                           29            293            347           1818
-------------------------------------------------------------------------------

This has a few rough edges yet, for which I’m sorry. I’m proud enough to release it though. Please don’t consider this to be “finished software” yet. :-)

20
 
 

Hi all,

Working through some things like a Will (I am fine, just normal life planning), and debating on methods for digital management when I do die.

I run a lot of self-hosted services for family and friends, all on secured servers with ZFS and on/off site backups. Key ingredient is Vaultwarden for password management.

I'd like to put something in place so that encryption keys, some docs, and key passwords are released to a tech savvy friend. Anyone know of existing solutions for this?

Requirements of:

  • Not providing keys to a third-party beforehand
  • Not forgeable to open
  • If possible, no "weekly press a button"

I'm thinking some kind of key pair where my friend has the private key and the public key is provided to a family member, and when activated a timer starts where I could cancel the release.

21
 
 

Title question mostly. I've played with XTTS-v2 and it worked pretty well, but I'm wondering if folks are using anything else special. I'd like to train my own voice finetune which is what I did with XTTS-v2, and then use it with home assistant's voice feature. Welcome all opinions on it!

22
 
 

Hi c/selfhosted,

I have another project idea. However, before I start I want to make sure there is interest in the community and a similar project does not exist yet.

I was thinking about a "compose" website that contains the compose files and basic information of the projects listed in the awesome-selfhosted list. Users can search for projects, browse by categories, etc. In my opinion when finding a new project you want to try out it, is a bit cumbersome to find the corresponding compose file to get started.

Let me know if there is any interest in such a project. Also I have no idea how I would name the project, so give me your best suggestions :). Thanks!

23
 
 

Hi all!

I will soon acquire a pretty beefy unit compared to my current setup (3 node server with each 16C, 512G RAM and 32T Storage).

Currently I run TrueNAS and Proxmox on bare metal and most of my storage is made available to apps via SSHFS or NFS.

I recently started looking for "modern" distributed filesystems and found some interesting S3-like/compatible projects.

To name a few:

  • MinIO
  • SeaweedFS
  • Garage
  • GlusterFS

I like the idea of abstracting the filesystem to allow me to move data around, play with redundancy and balancing, etc.

My most important services are:

  • Plex (Media management/sharing)
  • Stash (Like Plex 🙃)
  • Nextcloud
  • Caddy with Adguard Home and Unbound DNS
  • Most of the Arr suite
  • Git, Wiki, File/Link sharing services

As you can see, a lot of download/streaming/torrenting of files accross services. Smaller services are on a Docker VM on Proxmox.

Currently the setup is messy due to the organic evolution of my setup, but since I will upgrade on brand new metal, I was looking for suggestions on the pillars.

So far, I am considering installing a Proxmox cluster with the 3 nodes and host VMs for the heavy stuff and a Docker VM.

How do you see the file storage portion? Should I try a full/partial plunge info S3-compatible object storage? What architecture/tech would be interesting to experiment with?

Or should I stick with tried-and-true, boring solutions like NFS Shares?

Thank you for your suggestions!

24
 
 

How is the drive management in OMV? I'm looking for something similar to UnRaid pools so i can add one drive at a time (ZFS makes you add vdevs of the same no. of drives).

I'm not too concerned with parity (ive got automated remote backups for sensitive info that I cant replace) but it would be good to know if I could swap drives out if I need to expand or replace anything too.

EDIT: with ZFS 2.3.0 supporting raid expansion, it might be worth me holding out for a year for that to become more stable, and migrate after. I only have 1 drive for now so it shouldnt be too bad if i made a new pool and moved stuff over to a 2nd drive

25
 
 

This is a continuation of my other post

I now have homeassistant, immich, and authentik docker containers exposed to the open internet. Homeassistant has built in 2FA and authentik is being used as the authentication for immich which supports 2FA. I went ahead and blocked connections from every country except for my own via cloudlfare (I'm aware this does almost nothing but I feel better about it).

At the moment, if my machine became compromised, I wouldn't know. How do I monitor these docker containers? What's a good way to block IPs based on failed login attempts? Is there a tool that could alert me if my machine was compromised? Any recommendations?

EDIT: Oh, and if you have any recommendations for settings I should change in the cloudflare dashboard, that would be great too; there's a ton of options in there and a lot of them are defaulted to "off"

view more: next ›