r/selfhosted May 25 '19

Official Welcome to /r/SelfHosted! Please Read This First

1.5k Upvotes

Welcome to /r/selfhosted!

We thank you for taking the time to check out the subreddit here!

Self-Hosting

The concept in which you host your own applications, data, and more. Taking away the "unknown" factor in how your data is managed and stored, this provides those with the willingness to learn and the mind to do so to take control of their data without losing the functionality of services they otherwise use frequently.

Some Examples

For instance, if you use dropbox, but are not fond of having your most sensitive data stored in a data-storage container that you do not have direct control over, you may consider NextCloud

Or let's say you're used to hosting a blog out of a Blogger platform, but would rather have your own customization and flexibility of controlling your updates? Why not give WordPress a go.

The possibilities are endless and it all starts here with a server.

Subreddit Wiki

There have been varying forms of a wiki to take place. While currently, there is no officially hosted wiki, we do have a github repository. There is also at least one unofficial mirror that showcases the live version of that repo, listed on the index of the reddit-based wiki

Since You're Here...

While you're here, take a moment to get acquainted with our few but important rules

When posting, please apply an appropriate flair to your post. If an appropriate flair is not found, please let us know! If it suits the sub and doesn't fit in another category, we will get it added! Message the Mods to get that started.

If you're brand new to the sub, we highly recommend taking a moment to browse a couple of our awesome self-hosted and system admin tools lists.

Awesome Self-Hosted App List

Awesome Sys-Admin App List

Awesome Docker App List

In any case, lot's to take in, lot's to learn. Don't be disappointed if you don't catch on to any given aspect of self-hosting right away. We're available to help!

As always, happy (self)hosting!


r/selfhosted Apr 19 '24

Official April Announcement - Quarter Two Rules Changes

45 Upvotes

Good Morning, /r/selfhosted!

Quick update, as I've been wanting to make this announcement since April 2nd, and just have been busy with day to day stuff.

Rules Changes

First off, I wanted to announce some changes to the rules that will be implemented immediately.

Please reference the rules for actual changes made, but the gist is that we are no longer being as strict on what is allowed to be posted here.

Specifically, we're allowing topics that are not about explicitly self-hosted software, such as tools and software that help the self-hosted process.

Dashboard Posts Continue to be restricted to Wednesdays

AMA Announcement

The CEO a representative of Pomerium (u/Pomerium_CMo, with the blessing and intended participation from their CEO, /u/PeopleCallMeBob) reached out to do an AMA for a tool they're working with. The AMA is scheduled for May 29th, 2024! So stay tuned for that. We're looking forward to seeing what they have to offer.

Quick and easy one today, as I do not have a lot more to add.

As always,

Happy (self)hosting!


r/selfhosted 5h ago

A threat actor attempted to slipstream a malware payload into yt-dlp's GitHub repo

245 Upvotes

I thought the subreddit might find this interesting. I came across this thread on X:

https://x.com/vxunderground/status/1856450468945506615


r/selfhosted 8h ago

Glance and Homepage (in iframe)

Thumbnail
gallery
144 Upvotes

r/selfhosted 13h ago

Ever been turned off on an app because of the developer's behavior?

354 Upvotes

After a ridiculous back-and-forth with the Grocy developer (who called me "stupid AF" after I deleted a post on Reddit [A question with a one line answer that probably wouldn't have helped anyone else] and continued to insult me, I decided to look back at Tandoor and Mealie instead.

So my question to you all is: What are your developer horror stories in the Self Hosted world?

Conversely, are there any apps that are so good that you are willing to overlook a difficult, vocal developer?


r/selfhosted 10h ago

Release Linkwarden - An open-source collaborative bookmark manager to collect, organize and preserve webpages | November 2024 Update - Browser synchronization, custom icons, custom preview image, and so much more! 🚀

101 Upvotes

Hello everybody, Daniel here!

We're excited to be back with some new updates that we believe the community will love!

As always before we start, we’d like to express our sincere thanks to all of our Cloud subscription users. Your support is crucial to our growth and allows us to continue improving. Thank you for being such an important part of our journey. 🚀

What's New?

🖼️ Custom Preview Image

Allows users to set a specific preview image for links, making them more visually distinctive and personalized.

🎨 Custom Icons for Links and Collections

Thanks to Phosphor Icons, users can now assign unique icons to both individual Links and Collections, each with thousands of unique combinations.

ℹ️ New Link Details Drawer

We added a new drawer to display a full view of Link Details, Preserved Formats, and Additional information.

🛠️ Customizable View and Adjustable Columns

You can now customize what to view and adjust the number of columns.

🔄 Browser Synchronization

Special thanks to Marcel from Floccus, you can now sync your browser bookmarks with Linkwarden using Floccus.

↗️ Open all Links under a Collection

Allows users to open all links under a collection in a new tab.

🌐 Added many more Translations

Thanks to all the contributors, we now support the following languages to make Linkwarden accessible to a broader, global audience:

  • 🇹🇼 Chinese - Taiwan (zh-TW)
  • 🇳🇱 Dutch (nl)
  • 🇩🇪 German (de)
  • 🇯🇵 Japanese (ja)
  • 🇧🇷 Portuguese - Brazil (pt-BR)
  • 🇪🇸 Spanish (es)
  • 🇹🇷 Turkish (tr)
  • 🇺🇦 Ukrainian (uk)

👥 Reserve more Seats

Cloud subscribers can now add more seats and invite users who aren’t on Linkwarden from their billing page. Learn more about managing seats in our documentation.

🔗 Editable Link URL's

Users can now directly edit link addresses without needing to create a new entry.

🐳 Smaller Docker Image

The Docker image size has been reduced by around 50%, optimizing storage usage and making deployment faster.

✅ And more...

Check out the full changelog below.

Full Changelog: https://github.com/linkwarden/linkwarden/compare/v2.7.1...v2.8.0

If you like what we're doing, you can support the project by either starring ⭐️ the repo to make it more visible to others or by subscribing to the Cloud plan (which helps the project, a lot).

Feedback is always welcome, so feel free to share your thoughts!

Website: https://linkwarden.app

GitHub: https://github.com/linkwarden/linkwarden

Read the blog: https://blog.linkwarden.app/releases/2.8


r/selfhosted 2h ago

Automated Weather Report for Self-Hosted Radio Station

18 Upvotes

I host an internet radio station for my local town on my server using azuracast. In order to have minimal maintenance but stay relevant and useful, I wrote a script that takes the API from weather.com and creates a weather report for my local area. Feel free to check it out and let me know what you think!

Radio Station (Fair warning. I love christmas, so it's christmas music in the morning and evening right now):

https://mvrc.intellidwell.net

Weather Report Script:

https://github.com/TannerNelson16/radio_weather_report


r/selfhosted 9h ago

Need Help How do you handle privacy with offsite backup? Encryption?

20 Upvotes

For people that care about privacy and selfhost as much as possible for that reason, how do you handle offiste backup for some important data such as your private files and photos?

From what I understand it's best to keep some offsite backup in case of floods/fire/etc, but I am curious how everyone do that, for example do you backup your files periodically to zero knowledge cloud providers like Proton/Mega/Sync/pCloud/etc

Or do you encrypt your files (which requires you to safe keep a lot of different passphrases/passwords) before backing them up to any remote storage?

(I'm asking this as I'm backing up something to b2 with rclone crypt, but damn, it is so slow or maybe my *****u is just too old)


r/selfhosted 32m ago

Need Help Cloudflare tunnel alternative? Want to use the right tools for the job.

Post image
Upvotes

r/selfhosted 15h ago

Product Announcement ToolJet 3.0 - Open-core low-code platform for building business applications. Now with workflow automation, improved performance, 50+ integrations, in-built database and more security features. Deploy using Docker, k8s, AWS AMI & more! Alternative to Retool, Power Apps & OutSystems.

Thumbnail
blog.tooljet.com
76 Upvotes

r/selfhosted 4h ago

Community Self Hosting Workshops

4 Upvotes

I maybe have no right to aks because I’m still learning, but I’m really interested in figuring out how to host a homelab basics workshop with friends. I run a small organization that even has budget for a few pis and other infrastructure and would love to learn with my community. Does anyone have any thoughts or links to resources that could help us learn as a group irl?


r/selfhosted 10h ago

Remote Access How do you (mainly) protect your selfhosted services?

12 Upvotes

I just wanted to check how you guys are accessing your selfhosted services from outside of your network.

Of course many services do offer their own login system - but not all do.

I know this question not very specific as many of you are using a mix of the options.

I'm personally using nginx with authelia. However, many people prefer using VPN or tunnels.

I'm just interested in seeing what you are using.

661 votes, 2d left
Tunneling (Cloudflare, etc.)
Reverse proxy
Reverse proxy with 2FA (Authelia, etc.)
VPN
other

r/selfhosted 6h ago

Is it possible to use Caddy as a reverse proxy on a local network and avoid the browser warnings?

5 Upvotes

Hello,

I’ve been looking into using Caddy as a reverse proxy for web app development, but I’m having trouble installing a certificate that the browser will accept. I’m starting to wonder if it's even possible without pointing a public DNS to the development machine. Is the only way to get rid of the browser warning to install a root certificate on each device I’ll be working with? Has anyone had experience with this?


r/selfhosted 14h ago

tududi v0.32 - A Minimalist, Open-Source Task and Project Management Tool (update)

19 Upvotes

Hey all,

For those of you that do not know this project, I had made some previous posts here:
https://www.reddit.com/r/selfhosted/comments/1ffqop2/tududi_v019_a_personal_task_management_system/

tududi is a task and project management web application that allows users to efficiently manage their tasks and projects, categorize them into different areas, and track due dates. It is designed to be intuitive and easy to use, providing a seamless experience for personal productivity.

This a big update of the UI layout as well as for the main features. I moved the views from server rendered erb files to a full ReactJS frontend with tailwind CSS support, making it fully responsive.

There are also now Task, Projects, Notes, Areas and Tags management pages among others.

And still, it can be setup with only one command.

If you're into productivity experimentation or you simply want to create some order in your life, feel free to try it.

https://github.com/chrisvel/tududi

https://www.reddit.com/r/tududi/

Thanks!
Chris


r/selfhosted 1d ago

Launched my side project on a self-hosted M1 Mac Mini - Here's what happened when hundreds of users showed up

975 Upvotes

Everyone talks about how easy it is to spin up cloud instances for new projects, but I wanted to try something different. I bought an M1 Mac Mini on Facebook Marketplace for $250, set it up as a home server, and launched my project last week.

Figured you all might be interested in some real-world performance data:

  • First 48 hours: ~3k sessions from users across US, Europe, Australia, and even a user in Cambodia added some listings
  • *****U stayed under 10% the whole time (M1 chip is seriously impressive)
  • Memory usage remained stable
  • Monthly costs: about $2 in electricity

Nothing fancy in the setup:

  • M1 Mac Mini
  • Everything runs in Docker containers
  • nginx reverse proxy X CloudFlare dynamic DNS
  • Regular backups to external drives

Yeah, there are trade-offs (home internet isn't AWS global infrastructure), but for a bootstrapped project that needs time to grow, it's working surprisingly well.

Wrote up the technical details here if anyone's curious: link

[EDIT] we did it! haha this post apparently found the ceiling and the servers now down. Trying to get it back online now

[UPDATE] it's back online! Absolutely bone headed move: made too strict an nginx rejection policy last night


r/selfhosted 5h ago

Email Management Looking for a simple imap server (local only)

3 Upvotes

I have some old email boxes that have grown huge over the years. I was thinking of using something like imapsync and would like to have an imap server running locally withthout having to be connected to anything as it wont be sending or receiving any mail.

I just want to get all my emails, sort and archive and once done, pull one last time via imapsync and then mirror the box to the remote account... or something like that.

Ideas? I looked into dovecot, but damn the configuration is overwhelming for newbie.


r/selfhosted 7h ago

Is there a hostable (embedded) video player that is feature-rich?

6 Upvotes

There's a lot of great video playes that run as a stand-alone software - VLC, SMPlayer, IINA, and many, many more.

Why the market for embedded, browser-based players is so slim? How about rich keyboard integration? Easy picture rescalling, adjusting, etc? How about subtitles integration, with custom file loading, opensubtitles integration, delay customization? All the software that I saw has only play/pause, wonky slide bar and a fullscreen button.

Anybody familiar with a feature rich, browser-embedded video player?


r/selfhosted 12m ago

News Aggregator - Filter Keywords

Upvotes

Been searching for a while and haven't quite been able to pin anything down. As the title says, looking for a News Aggregator where I can filter keywords. Some things I just don't want to see (eg. Kardashian). Any suggestions would be most appreciated!


r/selfhosted 13m ago

Proxy Crowdsec with Cloudflare Proxy

Upvotes

I have implemented crowdsec, with some specific collections like vaultwarden, ssh and nginx, and a firewall bouncer. It works(worked) fine. I recently moved my DNS to cloudflare, and started using their proxy functionality. Does it make sense to still have crowdsec enabled? My guess is that any decisions (such as blocking an IP due to wrong credentials in vaultwarden) will simply block one of cloudflares IPs, right? Should I disable the specific collections and just leave the default crowdsec ones then? Completely disable it? Leave it?


r/selfhosted 25m ago

From four to five 9s of uptime by migrating from Heroku to a custom EKS setup

Thumbnail
workos.com
Upvotes

r/selfhosted 42m ago

Debian vs FreeBSD vs OpenBSD for servers

Upvotes

Hi, I use Debian for both desktop and server use. The distro was chosen specifically because I value stability over new features, as I prefer spending little time and effort on maintenance beyond running updates once a week. I have a VPS hosting small websites and internet-facing applications for personal use, and a Pi for torrenting. Recently, I became interested in switching from Debian to FreeBSD or OpenBSD for my servers, because I read that they adhere more to the Unix philosophy, thus apparently simpler and more consistent than Linux distros. I also read the file system they use (ZFS) is somehow better. Beyond those, I'm not sure of any meaningful advantages of switching for my use case. I'm also torn between FreeBSD (probably has more support/features) and OpenBSD (probably has better security). What do you guys think? Sorry if it's a loaded question; I'm just a self-hosting amateur 🙏.


r/selfhosted 1h ago

Nginx timing out requests to local Synapse server

Upvotes

I set up a Synapse server, and put it behind a Nginx reverse proxy, which in turn is behind Cloudflare(not sure if this is relevant) The configurations are as follows:
homeserver.yaml:

pid_file: "/var/run/matrix-synapse.pid"

listeners:

- port: 8008

tls: false

type: http

x_forwarded: true

bind_addresses: ['::', '0.0.0.0']

resources:

- names: [client, federation]

compress: false

database:

name: psycopg2

args:

user: synapse_user

password: password_here

database: synapse

host: localhost

*****_min: 5

*****_max: 10

log_config: "/etc/matrix-synapse/log.yaml"

media_store_path: /var/lib/matrix-synapse/media

signing_key_path: "/etc/matrix-synapse/homeserver.signing.key"

trusted_key_servers:

- server_name: "matrix.org"

nginx config:

server {

listen 443 ssl;

listen [::]:443 ssl;

# For the federation port

listen 8448 ssl default_server;

listen [::]:8448 ssl default_server;

server_name domain_here;

location ~ ^(/_matrix|/_synapse/client) {

# note: do not add a path (even a single /) after the port in \proxy_pass`,`

# otherwise nginx will canonicalise the URI and cause signature verification

# errors.

proxy_pass https://192.168.86.118:8008; # This is on a separate machine, so not using localhost

proxy_set_header X-Forwarded-For $remote_addr;

proxy_set_header X-Forwarded-Proto $scheme;

proxy_set_header Host $host;

# Nginx by default only allows file uploads up to 1M in size

# Increase client_max_body_size to match max_upload_size defined in homeserver.yaml

client_max_body_size 50M;

# Synapse responses may be chunked, which is an HTTP/1.1 feature.

proxy_http_version 1.1;

}

# listen 443 ssl; # managed by Certbot

ssl_certificate /etc/letsencrypt/live/domain_here/fullchain.pem; # managed by Certbot

ssl_certificate_key /etc/letsencrypt/live/domain_here/privkey.pem; # managed by Certbot

include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot

ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

proxy_read_timeout 300;

proxy_connect_timeout 300;

proxy_send_timeout 300;

}

However, when I use Element with only the Matrix HQ room added (and it was added ~6 hours ago, so it should have had time to sync), many requests either 524 (timeout) or 502 (invalid), mostly to the sync and messages endpoint. When I look at the Nginx log, I get lots of the following:

connect() failed (111: Connection refused) while connecting to upstream and upstream prematurely closed connection while reading response header from upstream. In the log, the upstream is correctly requesting from 192.168.86.118:8008.

In the Synapse log, there are lots of issues looking up DNS records for various homeservers, and some about a timeout on other homeservers, resulting in a failed request, but I can't find much online about it. Here is an example of the timeout message:

Request failed: PUT matrix-federation://149segolte.dev/_matrix/federation/v1/send/1731465138047: TimeoutError('')

This all results in Element loading for ages, and never loading a single message from the single room I joined. I also am unable to join any other rooms, as it results in it hanging. Both machines have plenty of resources, and aren't even close to using up the available *****U or RAM. It's completely unusable in this state, and I would greatly appreciate help troubleshooting it.

Edit: I should mention I am running synapse via the Debian packages on a Proxmox container (with nothing else running on it), and using postgresql. I didn't take any special steps with postgres, I only created the database and enabled the synapse_user to connect.


r/selfhosted 18h ago

Any creative workarounds to self-host image gen on a budget?

23 Upvotes

I'm aware that these models can be intensive and I'm not sure if my hardware can handle it with a basic setup at home:

  • Laptop: Intel Core i3-10110U, 16GB RAM, Intel UHD Graphics 630, no fancy GPU for me
  • Storage: 256GB SSD, 1TB HDD
  • OS: Ubuntu 20.04 LTS
  • Docker experience: total beginner

Been hearing about these uncensored AI models like AnonAI or Venice. So I'd love to host one for fun. I've looked into some possible solutions like use lower-res models to make the most of my *****U, or use GPU sharing platforms. Would love to learn from ur exp, thanks


r/selfhosted 5h ago

Looking for a web-based video review and clipping tool

2 Upvotes

I work with a few video game streamers and video producers as a hobby project and I host our raw recording repository. Video files in it are usually 5-10 GB a piece with a few outliers in the 15-20 GB range.

We are doing a lot of short form video content these days and I'm looking for a solution so they all don't have to download an entire clip to pull a 15 second clip from it.

Ideally it would be something like a web-based surveillance tool has, functionality wise - the ability to allow playback on a long video source and provide simple clipping of the video straight from the browser and download the clip to use in their offline video production tools.

I don't really need anything fancy here - we already have a solid upload pipeline in place and I'd ideally just point this tool to look at a single directory, do some basic indexing of the files in it, and present the videos to the user for review and clipping.


r/selfhosted 1h ago

Email Management How to cost-efficiently receive 1 million emails a day.

Upvotes

As the title says I need to receive ~1 million (and maybe more in the future) emails a day. I then will need to trigger scripts to process these emails. (I can't read that fast). I am presently using SES for this, but that has turned out to be quite pricy ($100 a day). It seems like I can host my own email server, and most of the pitfalls of doing that are related to sending emails, which I don't need to do.

I have done some reading and it seems like there are many email servers (developed in various decades) which offer a variety of features, most of which I don't seem to need. It's unclear what kinds of volume these applications can handle, and what kind of resources they would need.

Any advice or recommendations are welcome. I'm happy to give more details on my requirements if needed.


r/selfhosted 1h ago

Best coding AI to host on an "okay" computer ? (RX6650XT, 16GB DDR4, 11400F)

Upvotes

Hello ! I'm looking for an AI i could use on my PC for coding small projects mostly in Python. Do you guys have any suggestions ? Thank you.


r/selfhosted 1d ago

Self built home monitoring.

69 Upvotes

Warning there are some tall-ass images in this post.

A few years ago I got mad enough at the temperature gradient in my town house that I designed and build a bunch of ESP8266 sensors to feed data into an RRD so that I could have some pretty graphs to be angry about as well. (As of this week I have also started logging stats from my UPS and server.) Using the minimum of HTML and CSS I threw those graphs, a map of the previous day's incoming network traffic, and some convenient links onto a homepage that I use on all of my devices. At a glance this tells me if the furnace/AC is working, if my server is having a fit for unknown reasons, and if the local power grid is playing it fast and loose with the voltage and frequency (which I suspect they do).

Clicking the temperature/humidity data leads to a long term data page covering 2 years of data in varying resolution. The gap last fall was when the garage sensor failed and I was waiting for Aliexpress.

There are also long term trends for the server load and UPS but they have only been logging for a few days so there is not much to look at.

Clicking the map on the home page leads to a text file containing a summary of all incoming traffic to apache and ssh. The ssh server is on a high port number and doesn't see much traffic but occasionally a persistent bot will find it.

Everything but my landing page (this animation in p5.js https://old.reddit.com/r/cellular_automata/comments/1djwjbu/waves_processingorg/ with the text "Hey this isn't where I parked my car" overlayed) is behind basic auth or better and I have push notifications set up for every ssh login (even my own), in 5 years I have never had a successful login from an attacker, this is not an invitation, have mercy.

All the data is gathered with python scripts and stored in RoundRobinDatabases or, in the case of network data, digested down into a CSV. The climate sensors respond to requests on port 80 with the temperature and humidity separated by a comma to allow for easy polling. The map is generated by looking up the IPs' information on Shodan then plotting the location data if it was present.

Absolutely none of this is the ideal solution, there are existing projects that cover literally every aspect plus a dozen extra features I could never hope to implement. I wrote as much as I could from scratch just to see if I could, it's more fun to drive a shitty car that you built than one you bought from the dealer.