r/SelfHosting • • 9d ago

[ANNOUNCEMENT]: New Rules and AI

107 Upvotes

Based on the results of the poll and the feedback we've received from the community, we've made some changes to the rules. The previous AI rule has now been specified in more detail, renamed as Rule #2 and will be enforced. We also want to emphasize that Rule #1 will be enforced.

Rule #1 Be kind and respectful: This is a great community, don't ruin that. Any offensive or disrespectful comments will be dealt with and possible bans will be handed out.

Rule #2: No AI-generated posts: Posts must be human/hand-written. If you want people to actually read your post, then take the time to do a write up yourself. Supplementing your post by using AI for translation and listing specs is allowed only by posting it as a comment on your own post. Projects using AI-assisted development is allowed, but you must be transparent about how it was used.

We believe that requiring posts to be human/hand-written and enforcing this will also discourage people to post projects that are entirely vibecoded. We will try out these new rules for some time and re-evaluate. If there is enough activity and the community gains some momentum based on the new rules, then we can discuss adding restrictions to vibecoded projects.

Thank you for voting and being part of this community. Let's try to make it even better!


r/SelfHosting • • 5h ago

Want to see who knocks on your Homelab?

Thumbnail
gallery
31 Upvotes

So i made a thing for my Homelab.

I like to tinker with a lot of stuff in my homelab, mostly for fun but also for things in my daily life and i like to do it myself.

So i just came up with the idea, who is at my front door, like a ring doorbell that records all the movement. :)

I just wanted a nice way to see it and an easy way to read it, so i looked up honeypot and from there it just evolved a lot and i got good traction on a Linkedin post where people told me to add other stuff and from there it grew alot

I have used Claude and Codex to make Huginn.( yes, i have no idea how to write code beside some mSL :P ) Codex´s biggest model has been checking the code and then i let claude write most of it. (ok bust my sack with Ai Jokes)

If you don't have a managed switch, then just igone this since you need to make a isolated VLAN that is separated from the rest of your network.

You need to open ports to let them "in" so you need to know what you are doing.

This just started as a fun thing to have, but has evolved to a bigger project over time and i thought, maybe someone else wants this too, to just see who wants in and then be able to block IP´s in the firewall.

Most of the things that want to get it is just bots thats scans the rest of the internet.

Anyway, if you want to play around and can make a isolated VLAN, play around with it and give me some more ideas.

You can see a demo on my own homepage https://ancientswede.se/huginn/ with fake data and get the repo at GitHub: https://github.com/ancientswede/Huginn


r/SelfHosting • • 11h ago

Best Remote connection software?

25 Upvotes

Been rebuilding my self hosted server. Running Immich and looking to add a vpn for secure remote connections. Looking into a media service to install as well. Wanted to put some feelers out on what everyone thinks on remote connection services from Mac to Linux


r/SelfHosting • • 28m ago

OpenSync - self hostable steam and steam cloud alternative

1 Upvotes

Good evening everyone, for disclosure this post is written entirely by hand

i wanted to share a project on which i've been working on since August with a couple of friends. it's a self-hosted game library and differential save-sync server and it comes with its linux, windows and macos native desktop launcher.

[WEBSITE: https://opensync.pskv.cc ]

[REPO: https://github.com/piskevalee-cpu/OpenSync ]

[LAUNCHER REPO: https://github.com/piskevalee-cpu/OpenSync-Launcher ]

The problem it solves

I keep offline and DRM-free PC game builds on my home server so multiple machines (my main desktop, a Linux couch PC, and family laptops) can pull them down without re-downloading over the internet or plugging in external drives. The annoying part has always been keeping saves and game installs separate across machines and users.

OpenSync stores every game on the server as a normal live folder paired with a SHA-256 JSON manifest. When a player downloads a game, the server streams a ZIP on the fly in uncompressed STORE mode (so a local gigabit or 2.5G link is not bottlenecked by CPU compression) while merging:

clean baseline + user overlay - user deletions

Every user gets their own save overlay computed by diffing against the shared clean manifest, never chained across overlays, with a safety guard that blocks accidental mass deletions (>50% of the manifest) unless explicitly forced

Before writing this, I looked at combining existing tools:

  • Samba / Nextcloud / HTTP file shares: Great for storing files, but every client downloads raw folders manually, and there is no clean per-user save isolation on top of one shared read-only game build.
  • Syncthing: Works well for syncing one known save directory, but bidirectional folder sync gets risky if you accidentally wipe files, does not understand a shared baseline vs. per-user save overlays, and still leaves you configuring paths machine by machine.
  • Ludusavi: Awesome for backing up saves when you already know where every game writes, but it is a backup utility rather than a central LAN distribution server that streams the game itself and merges your saves into the download automatically.
  • RomM / emulator frontends: Focused on ROMs and console emulators rather than arbitrary uncompressed Windows/Linux/macOS PC game directories.

Why this project is relecant to this sub:

  • Simple to host: Runs as a single Docker container (ghcr.io/piskevalee-cpu/opensync, linux/amd64) or directly on Node.js 22.13+ using built-in node:sqlite. Everything persistent (SQLite metadata, game directories, user overlays, and signing secret) lives under one /data volume, so backing up or migrating the server is trivial.
  • Optimized Rust streaming: Zero temporary zip files on disk on either the server or the desktop launcher. Downloads extract straight from the HTTP stream while verifying SHA-256 hashes inline.
  • Cross-platform desktop client: Written in Rust and Tauri v2, supporting Linux (AppImage and Flatpak), Windows (.exe), and macOS (Apple Silicon and Intel .dmg / .app), with automatic ELF/PE/Mach-O executable detection, Proton/Wine support, gamepad navigation, and automatic save sync as soon as a game closes (plus offline queueing if you play away from home).
  • Multi-user: Account registration, per-user profile pictures, role-based admin panel, and isolated save overlays so different people in a house can play the same game archive without touching each other's progress.

After writing by hand the first sketch of the sync saving mechanism, I do admit to using an AI coding assistant during development, mainly for accelerating boilerplate, CSS styling and responsive layout tweaks, writing unit and integration tests, refactoring Rust async command boundaries, and setting up cross-platform CI packaging workflows (Linux, Windows, and macOS builds). I directed the overall architecture, manifest and overlay sync model, feature set, and manual testing across my own machines, and reviewed and verified all changes against the test suites before releasing. However, art is human made!

NOTE: This project is still in rather early developement, especially the desktop client. i do not have a windows machine so i could not test the windows client. We are seeking contributors to help out with this project that, although new and niche, really did come a long way.

thanks to everyone who's going to check this out


r/SelfHosting • • 41m ago

Old laptop with 4 GB RAM, no budget - what's the most unusual "actually useful" self-hosted project?

1 Upvotes

I have an old laptop sitting idle, 4 GB of RAM, no money to spend on hardware. Comfortable with the command line, never ran a server before.

The usual suggestions are covered: Pi-hole, Nextcloud, Vaultwarden, Jellyfin, a Telegram bot, Ollama. I'm looking for what doesn't come up in every thread.

What I'd like to hear:

- Projects that solve a problem most people don't have

- Things that taught you networking, Linux or distributed systems properly

- Small builds you still use a year later

- Ideas that sound dumb but work

Constraints: 4 GB RAM, no usable GPU, HDD or small SSD. No Pi, no VPS, no subscriptions. Assume the RAM is the hard limit - if a project needs 8 GB to be pleasant, say so instead of recommending it.

Also welcome: what you tried and regretted, and which beginner projects look great on YouTube but waste a weekend.

If you had to name one project someone could finish in a weekend and keep using on 4 GB, what would it be?p


r/SelfHosting • • 2h ago

What tunnel do you recommend?

1 Upvotes

I have couple minecraft servers hosted on Ubuntu server. I need couple tunnels for my server ant given public ip would be just numbers or to my domain. I want free services, but there are none. Please help me


r/SelfHosting • • 7h ago

Just shared my 9router LLM Gateway Prometheus Exporter — feedback wanted!

Post image
0 Upvotes

I wanted to visualize my 9router LLM usage, couldn't find an exporter, so I built one.

Hey everyone,

I've been using 9router as my LLM gateway for a while, and I really wanted to see my token consumption, cost burn rate, and provider breakdown in Grafana. After searching around, I realized there wasn't an existing Prometheus exporter that fit my setup.

Honestly, I’m not a professional developer—I just wanted a dashboard for my own use. armed with a lot of trial-and-error and a bit of "vibe coding," I managed to pull the data directly from the 9router SQLite database and expose it as Prometheus metrics.

It started as a personal weekend project, but it’s grown into a pretty solid tool, and I figured I’d open-source it in case anyone else in the community is looking for the same observability.

What it does:

\* Real-time monitoring: Tracks request rates, token usage (prompt vs. completion), and cost burn rates ($/sec).

\* Granular visibility: Breakdown by AI provider (Gemini, Claude, etc.) and specific LLM models.

\* Health checks: Monitors API health and service version status.

\* Ready-to-go: Includes a fully configured Grafana dashboard JSON and a systemd service template to keep the exporter running persistently.

Why I'm sharing this:

I'm honestly just a homelab enthusiast, so the code might not be "enterprise-grade." I’d love for some of you to take a look, review it, or even suggest improvements. It works for my setup, but I’m curious if it fits yours!

Check it out here:

hugosabdo97/9router-prometheus-exporter

Any feedback, pull requests, or questions are more than welcome. Happy self-hosting!


r/SelfHosting • • 4h ago

Self hosting vs streaming

0 Upvotes

I have been building my server for over a year. 40+ TB. I have recently come across the mars box. Supposedly that thing can access every channel and movies. Let's not talk about the potential malware nightmare. My question is, has anyone messed with it? I still want to keep building my server. But I feel like this may be easier for my in-laws, then trying to teach them jelly/emby/plex.


r/SelfHosting • • 14h ago

Idea: An open, auditable "Goodlist" for self-hosted & small mail operators — could a fairness-first reputation layer work?

0 Upvotes

Anyone who runs their own Postfix/Rspamd stack on a VPS knows the current Catch-22: you set up strict SPF, DKIM, DMARC (p=reject), aligned PTR/HELO, and zero bulk mail—and you still get bounced by major receivers because your domain is newly registered and landed on a DBL "Low Reputation" list with a flat "no" on delisting, or because your VPS subnet has noisy neighbours.

There's a glaring conflict of interest baked into how email works right now. Major mailbox providers adopt and pay for blocklist feeds that knock legitimate self-hosters, charities, and small businesses out of inbox delivery—and then those exact same big cloud/email ecosystems benefit when frustrated senders give up on self-hosting and route their mail through paid commercial platforms instead. A tiny handful of closed lists and big providers end up acting as de facto gatekeepers over SMTP.

Obviously, you can't force Microsoft or Google to drop Spamhaus tomorrow. But what if we built the inverse at the open-source mail-server layer (Rspamd / SpamAssassin / Postfix / Mailcow / ISPConfig)—essentially an open, CrowdSec-style "Goodlist" built on competition fairness and verifiable trust?

How it would differ from legacy blocklists:

  • Cryptographic & config verification over domain age: Automated checks for strict DMARC (p=reject), DKIM, aligned FCrDNS/HELO, and zero open-relay/form abuse.
  • Tiered identity verification (so spammers can't game it): Basic DNS/DMARC verification earns a small negative spam-score offset; verified real-world organizations/businesses/non-profits earn stronger trust weight, with instant automated revocation if abuse or spamtrap hits occur.
  • Transparent, deterministic appeals: No black-box rejections—clear public criteria for how a domain earns or loses trust.
  • Drop-in DNS / Rspamd multimap integration: Easy for any indie mail admin to plug into Rspamd or SpamAssassin to stop false-positiving legitimate low-volume transactional mail from other small operators.

Genuine question for people running their own mail servers:

  1. Would you plug a transparent, anti-spam-hardened "Goodlist" DNSWL into your Rspamd/Postfix stack?
  2. What anti-gaming guardrails would it need for you to actually trust its negative score weight?

r/SelfHosting • • 1d ago

Home Assistant remote: Cloudflare actually worth it, or am I overthinking?

6 Upvotes

Bit of a dilemma, would love some brain power.

Setup: HA sits in my LAN (deliberately, it needs to talk to everything, so no DMZ for it). Right now it's reachable through the Cloudflare Tunnel add-on. Works great, honestly.

What bugs me:

\- Cloudflare terminates TLS, so they see everything: logins, tokens, phone locations, camera streams.

\- Big dependency on US provider. I keep wondering why the tunnel is free in the first place.

Hard constraints: no extra software or certs on the clients (family has to just use the app), my own domain, and only my desiresd countries allowed in.

Option I'm leaning towards: DNS only → OPNsense (CrowdSec, GeoIP, blocklists) → Nginx Proxy Manager in the DMZ → HA.

The proxy can only reach HA:8123 in the LAN, plus ip_ban, TOTP for all users and I will have a "kill switch" access list in NPM.

Already ruled out: Pangolin on my VPS (advin server). The app needs auth bypass rules (up to /\*), so the auth layer is pretty much useless and the VPS still terminates TLS.

My actual question: how much does Cloudflare's WAF really do for HA? I doubt they write / mitigate HA-specific rules. On the other hand, exploit waves happily come from my country (geo filtered) too, so my filter isn't magic here.

Honest question: is Cloudflare in front of HA meaningfully safer than a well-hardened home setup? What am I missing? Good arguments in either direction very welcome 🤗

TL;DR: HA in LAN, currently on Cloudflare Tunnel. Thinking about going DNS only with OPNsense/CrowdSec/GeoIP + NPM, to stop Cloudflare from seeing everything. Does Cloudflare's WAF protect HA in a way my own stack can't?


r/SelfHosting • • 1d ago

Hylly - new toolbox for eBook your eBook collection

0 Upvotes

This was a project that started small but ended up to be quite massive in the end. I used AI heavily to do it. I first wanted to fetch all my Humble Bundles comics. It does that and some other shops as well. Next you can create a library of your books and use third party sites to scrape the meta data. Server part serves the library to users and the reader let's you read eBooks and comics in a browser on mobile devices and desktop. Or if you prefer some other reading app, there is OPDS support as well.

I tried to make it extendable, so adding new shops where to fetch your purchases or new metadata providers should be possible with moderate effort. I also tried to support using AI agents to do these programming tasks or just setting up your own server by writing (well AI wrote) documentation and skills relevant to those tasks.

Please check it out: https://github.com/janisc/hylly . Feedback is welcome.


r/SelfHosting • • 2d ago

Memory Studio: A Self-Hosted App for Practising Classical Memory Techniques

5 Upvotes

Hi everyone!

I've been working on Memory Studio, a small app built with Gradio to practise classical memory techniques.

It includes the Major System for remembering numbers, the Peg System, Memory Palace, Mind Maps, names and dates, and spaced repetition.Most features use Python logic and don't require AI. AI is optional and can help generate mnemonic ideas and associations.Memory Studio: A Self-Hosted App for Practising Classical Memory Techniques

The hosted version uses SmolLM2 on Hugging Face ZeroGPU. It also has a smaller CPU fallback. The local version can run inference on your own device.

I'd love to hear your feedback and suggestions. I'm particularly interested in improving the usability and adding useful memory techniques.

Try Memory Studio: https://huggingface.co/spaces/prasadpatil25/memory-studio


r/SelfHosting • • 1d ago

I work 12-hour days fixing cars. Somehow, I ended up building an open-source personal data center.

Post image
0 Upvotes

I’m an automotive shop foreman, a husband, a dad of two, and apparently someone who doesn’t know when to stop tinkering with computers.
I’ve always loved self-hosting, Linux, and turning old hardware into something useful. But I kept running into the same problem.
I wanted the power of a proper homelab without spending half my free time configuring everything or jumping between five different dashboards.
So I started building My Own Data Center, powered by Omarchy.
The idea is pretty simple: Take that old computer sitting in your closet and turn it into your own personal data center.
One interface to manage your infrastructure, whether you’re sitting at your desk or checking things from your phone during lunch.
We’re building around:
Docker containers and application management
Virtual machines
Storage, disks, and system monitoring
Remote access and management
A mobile-friendly dashboard
AI assistants that can help manage your infrastructure
Some features are still being developed, but the vision is to make running your own infrastructure accessible to beginners while keeping the tools experienced homelab users actually want.
What started as a personal project has grown into something much bigger. People are contributing, reporting bugs, suggesting features, and helping shape where this goes next.
And that’s probably been my favorite part.
I’m not a big software company. I’m just a guy who works on cars all day, comes home to his family, and builds software whenever he finds a spare minute.
I want self-hosting to feel exciting, not intimidating.
The project is open source, and I’d genuinely love feedback from this community.
What would you want in your ideal self-hosted data center dashboard? What’s the one thing you wish your current setup did better?
Website: https://myowndatacenter.com
GitHub: https://github.com/TouchWorkStation/omarchy-server
If you find the project interesting, a GitHub star helps more than you might think. And if you want to contribute, we’d love to have you.
Thanks for checking it out. This community is a huge part of why I started building in the first place.


r/SelfHosting • • 2d ago

Found out about the php2shell fixes from a hosting email. How do you keep track of PHP updates on servers you barely touch?

9 Upvotes

This is kind of embarrassing, but I didn't hear about the php2shell fixes from any process of my own, I heard about them from a hosting email. Then I spent an evening SSHing into boxes to work out which ones even run PHP.

A handful of small client sites on VPSes plus a couple of internal tools, all headless. Some are on distro packages, one is on a PPA, and one is a Docker image I haven't rebuilt in about a year, which I now realise means it never got the fix.

What do you actually do to stay on top of this? Automatic updates, some monitoring tool, a spreadsheet?

I'd like the next one to not be a surprise.


r/SelfHosting • • 1d ago

How are you handling paid plans in a self-hosted SaaS?

1 Upvotes

I'm working on a self-hosted product and one thing I'm still figuring out is how to handle pricing, usage limits and feature access without hard-coding everything into the app.

Stripe can handle the payment side, but I'd rather keep the product-access logic separate so changing plans later doesn't become a headache.

I've been looking at Stigg for that layer. For anyone running a self-hosted or open-source SaaS, how are you managing entitlements and plan changes as the product grows?


r/SelfHosting • • 2d ago

Getting Started in Self-Hosting

13 Upvotes

Hi everyone! I’m very new to self-hosting and I wanted to build an actual setup, but I’m not sure where to start.
Currently I run everything off my own everyday setup using Plex as my media hosting service. I have about 1.5tbs of free storage but that’s quickly filling up.
I’ve heard that using an old Dell desktop or a Think Center is a good place to start but I don’t know what kind of software or additional features I should be looking at.
Any advice or recommendations are very appreciated!


r/SelfHosting • • 3d ago

Looking for a self-hosted community platform for ~200 members

13 Upvotes

Hi everyone!

We're looking for a fully open-source, self-hosted solution for a non-profit organization with around 200 members.

We want to replace our current mix of Facebook Messenger, Discord, Dropbox, and an old phpBB forum.

What we're looking for:

  • Intranet / member portal
  • File and document management
  • Real-time chat (DMs and group channels)
  • Forum / structured discussions
  • Central user management (SSO preferred)
  • Native iOS and Android apps
  • Easy to use for non-technical members
  • 100% free and open-source
  • Docker support preferred

Ideally, we'd love an all-in-one solution, but we're also open to combining multiple platforms, as long as the experience is as seamless and unified as possible - shared login, consistent navigation, and minimal switching between separate apps.

We've considered Nextcloud, HumHub, WordPress/BuddyPress, Fluxer, and Stoat, but we're open to other suggestions.

What would you recommend? Has anyone built something similar for a community of this size?

Thanks!


r/SelfHosting • • 3d ago

WooCommerce checkout takes 7 seconds during email campaigns, CPU or database?

4 Upvotes

Store does 600 to 900 orders a month, mostly EU customers, on one VPS with a budget of up to 40 USD a month.

Stack is WordPress, WooCommerce, Redis object cache, MariaDB and Nginx, all on the same box.

During email campaigns checkout takes 6 to 9 seconds.

CPU hits 100%, RAM is fine, and PHP-FPM max_children is maxed out.

Bigger plan at the same host, or a different kind of plan?

Every host's sales page says "blazing fast NVMe", so I'd rather hear from people who've actually moved a store.

Every campaign I can watch the abandoned carts pile up, so I'd really like to fix this before Black Friday.


r/SelfHosting • • 3d ago

Uptime kuma no longer shows my dns server as up

4 Upvotes

Hello!

I am running a dns server and monitoring it with uptime kuma, but as of today 7:22 am, the server gets shown as "down". I can still query the server, it still responds and everything still works.

I already tried restarting uptime kuma, I tried restarting the dns server and I tried deleting the monitor and recreating it. it still shows as down.

Thanks


r/SelfHosting • • 4d ago

Pinchflat-NGX: A maintained fork of Pinchflat for self-hosted YouTube archiving

8 Upvotes

Pinchflat-ngx is a self-hosted YouTube archiver powered by yt-dlp. It lets you download channels, playlists, and individual videos, organize your library, and automatically download new uploads through a web interface.

Being a developer, I started this as a personal fork to fix things I ran into while using Pinchflat every day. I wasn’t expecting to maintain it this far, but other people started using it, and it’s become a passion project.

It began as a fork of a fork. Since then, there have been hundreds of commits covering fixes, new features, and day-to-day improvements. There are still rough edges, and fixing them has meant more late nights than I expected. I plan to keep maintaining it, with the focus on stability and a more manageable release pace.

I know fellow self-hosters like to look under the hood, so security reviews and constructive criticism are welcome in the comments. I’ll take them as useful feedback, not a personal attack. If another YouTube downloader hasn’t worked for your setup, or there’s a feature you’re missing, let’s discuss it.

There’s no Discord for now; keeping up with GitHub issues and discussions is already plenty of work. If more people get involved and a few want to help maintain it, I’d love to keep building this together.

What’s different?

Some of the additions:

* Individual video downloads and selective playlist downloads.

* SQLite or PostgreSQL support.

* OIDC single sign-on and a REST API.

* More controls for managing downloads, diagnosing failures, and retrying them.

* A redesigned interface with improved mobile layouts.

There’s a comparison with upstream and more detail in the wiki feature guides.

Getting started

GitHub · Installation · Migration from Pinchflat

If you still use Pinchflat, I’d love for you to try it. Back up your config before migrating, and please report any problems.

There’s also a YouTube video about the project, plus coverage from XDA, noted.lol, selfh.st, and jacar.es.

Contributions are welcome. If something bugs you every day, open an issue or send a PR. It’s becoming a lot for one person, and I’d appreciate the help.

Development includes AI assistance. I review and test changes, and issues.


r/SelfHosting • • 4d ago

Monitoring several VPSes and Pis from one page: what I ended up building

0 Upvotes

My setup is 3 cheap VPSes plus a Pi 3 and a Pi Zero at home. Most agents either don’t run on 32-bit ARM or are heavy for a Zero. So I wrote vpsagent - standalone binary that runs on almost anything running linux. It only makes outbound HTTPS connections, so there are no ports to open.

The agent is open source: github.com/vpsmon/vpsagent.

If you just need dashboard for 1 device - https://github.com/leodeim/vpsmon

Happy to answer questions about how it works.


r/SelfHosting • • 4d ago

Self hosting for Canadians (using Teksavvy)

6 Upvotes

Recently I posted about my 20 years experience as a Canadian Teksavvy independent internet service provider customer (i.e. not Bell, Rogers, or one of their fake (flanker) brands created to kill true and fair telecom market competition) and self-hosting with them.

I realized that my experience may be of interest to people here and decided to expand on that post.

During the past 26 years I self-hosted a server at the end of my ADSL and now VDSL residential termination. That includes email (SMTP inbound and outbound), IMAP, web (https), authoritative DNS, and ssh servers.

Many will say that a functioning email server cannot be self-hosted. My experience self-hosting email and reliably sending and receiving it proves otherwise! Don't get me wrong, running an inbound and outbound email server successfully requires knowledge, care, persistence, a backup email account elsewhere, and maybe acceptance of email loss or outage at worst . It is not the project or service one should start with. I'm fortunate in that I have self-hosted email before broadband internet was available: UUCP mail. So I learned email incrementally over the decades, growing my knowledge (and mistakes!) as email delivery requirements became much more strict.

I even host business-critical email lists, with phpList. This takes extra care!

Running a primary, authoritative DNS server at the end of a VDSL termination? In reality, the latency is about the same as my other DNS server in a data center. DNS is cached anyway, so there would only be a ~10ms delay (if that) on the first lookup of my domain.

To be clear, my self-hosted services have always existed to serve a regional, city-scale audience. Except for email, I block IP access from outside Canada now, which significantly reduces attacks and log noise.

Most importantly, I am fully able to self-host in my home because TekSavvy offers a static IP and even subnet for a few dollars more monthly, sets up a PTR record for my email server, and will even delegate DNS for my subnet. Read more about my Teksavvy experience.

I also currently operate these same services and setup in a Canadian data center VPS for a volunteer-based community newspaper.

Why do this? Firstly, because I can! Like you, I like to be self-sufficient. As a Linux enthusiast since Linux first same out (I was running a UNIX variant on a 386 computer before that) it was a natural activity. Throughout the years I learned a lot technically! I was interested to do so- and also about sysadmin rigour.

I like that our household's email messages are stored in my home (backed-up elsewhere of course) and have no storage limit. We can still access them if there is an internet outage. I have all my messages from up to 30 years ago. My self-hosting also ensures the most privacy possible for plain emails i.e. not end-to-end encrypted. Canadian emails, depending on the hosting, stay in Canada and are not subject to secret FISA requests and snooping by U.S. 'law' enforcement. I serve multiple email domains and have hundreds of email aliases to help protect privacy.

I'm keen to learn about your own experience, compare notes, and to answer questions as I am able to. (I have some real volunteer server work to do for the community newspaper so please allow a reasonable response time.).

cheers,
TheLinuxMailman


r/SelfHosting • • 4d ago

I didn't want to pay for Auth0, so I built my own OAuth/OIDC provider on Lambda and DynamoDB

0 Upvotes

I've recently been intrigued with the idea of building my own identity provider (OAuth + OIDC). If I'm honest, I really just want all of the features of Auth0 but without any of the cost (hence building it myself). Since none of my toy apps are popular (sad), I'm definitely not in the market to pay tens to hundreds of dollars a month for an auth service. Plus, my favorite thing in the world is to reinvent the wheel.

I knew that I was going to build this using Lambda and DynamoDB since I'm looking for the lowest idle cost possible while still being able to scale. Coming from a background of building apps using relational databases, the DynamoDB data model was the most interesting challenge for me. Fortunetely, access patterns for OAuth are well known at this point and drove the design.

The rest of the design follows familiar patterns: CloudFront for custom domains and tenant routing, KMS for singing tokens, SES for sending emails, etc.

I'm calling my project LiteLogin. It's open source for anyone who's interested. I welcome contributions.


r/SelfHosting • • 5d ago

I got tired of ssh-ing into my boxes, so I made this

112 Upvotes

I made a TUI tool to put the whole homelab on one screen, you may find it useful to troubleshoot resource issues or explore logs of containers and systemd services. Nothing to install on the machines, it's all over ssh.

Demo: https://asciinema.org/a/VWnselSOsXKvLzJO

Code: https://github.com/cmdoret/sshwarm