Just SelfHosted

Just SelfHosted

December 5, 2026

Tl;DR

Five (+) years with selfhosting…

Intro

  • Why Im writting this post:
  • What Ive learnt with it:

https://github.com/JAlcocerT/jalcocertech-services/blob/master/docs/destilled-ebooks/z-read-books-notes/z-hormozi-curated.md

https://github.com/JAlcocerT/jalcocertech/tree/main-site-cloudflare-hub

Put the time and the digital world is yours.

All those backups, monitoring, IoT…

Yes, all that.

https://mermaid.js.org/syntax/entityRelationshipDiagram.html

https://github.com/swingmx/swingmusic

HomeLab x OSS

This has been my route towards OSS.

whois fossengineer.com | grep -i -E "(creation|created|registered)"

Some are still painting OSS as mad max.

With chaos and things breaking all the time.

The truth is that I have had such situations, but after the transition phase you arrive to stability.

I coudldnt be happier with these daily drivers:

#wget -P ~/Applications https://github.com/imputnet/helium-linux/releases/download/0.5.7.1/Helium-0.5.7.1-x86_64.AppImage
flatpak install flathub app.zen_browser.zen -y

Cloudflare tunnels keep been great, but I was surprised by tailscale funnels for those very quick PoC that might require exposing some we/app or webhooks.

Concepts that surprised me:

  1. File formats matter and differ between OSs

Networking

  • http://192.168.1.2:3034/hermesagent/pi-connectivity #http://192.168.1.2:3034/hermesagent/tr471-checks #http://192.168.1.2:3034/hermesagent/selfhosted-connectivity #http://192.168.1.2:3034/hermesagent/pi-connectivity #https://github.com/JAlcocerT/hermesagent/tree/tinker/hermesagent/pi-connectivity

sqlite vs duck vs https://github.com/facebook/rocksdb/ which is the one that conduit uses

filebrowser to https://github.com/themartz90/folderhug

https://www.pragmaticengineer.com/

https://github.com/rahilp/second-brain-cloudflare

https://privacytools.io/trending/30d https://gitgem.org/ https://www.bitdoze.com/self-hosted-apps-cloudflare-workers/#second-brain--723- https://www.bitdoze.com/deploy-emdash-cloudflare-workers/ https://www.bitdoze.com/emdash-send-email/

Self-hosted homelab infrastructure visualizer — interactive network diagram with live status monitoring

DBs

I really like services that operate without a db.

If the architecture needs one, i like the portability of sqlite, which is used inside many projects, like pocketbase or url shorteners.

For OLAP workloads , you can have a look to duckdb

PaaS

Self host your own Vercel

What you get Instead of paying for Git deployments + preview URLs Vercel / Netlify / Railway ($20+/mo) Web analytics + funnels PostHog / Plausible ($0-450/mo) Session replay PostHog / FullStory ($0-2000/mo) Error tracking Sentry ($26+/mo) Uptime monitoring Better Uptime / Pingdom ($20+/mo) Managed Postgres/Redis/S3 AWS RDS / ElastiCache ($50+/mo) Transactional email + DKIM Resend / SendGrid ($20-100/mo) Request logs + proxy Cloudflare ($0-200/mo) Total with Temps $0 (self-hosted)

Package Management

If you want to be the owner of the infra, you better know these.

For debian based apt should be familiar.

Now, you can also get away with nala.

Monitoring

On top of htop, btop…

Glances has been a great discovery.

And its written in python!

https://github.com/lissy93/personal-security-checklist

Security, OSTINT etc matters and these can help:

  1. https://github.com/fail2ban/fail2ban

  2. For security monitoring, consider these homelab hardening notes and skills

Networking

https://networkingtoolbox.net/

DNS

I got some public scripts to modify DNS programmatically

I tried pihole, have a look to adguard and https://github.com/0xERR0R/blocky

But technitium has been my go to recently, some ppl have experienced their ISP messing up with their DNS

  • https://selfh.st/survey/2026-results/

Some DNS just in case https://hayahora.futbol/

SSL x HTTPs

Webs and Apps

You can try these: wp, ghost…

But do you really have to?

Monitor your pages anytime with:

Having a script that adds programmatically your monitors to uptime is nice

Connecting uptime kuma http://192.168.1.2:3001/dashboard/7 with ntfy is a good idea as well

You can also try maintenant http://192.168.1.2:3810/endpoints

And glances

Or your services & wifi

https://github.com/henrygd/beszel/releases/tag/v0.21.0 https://beszel.dev/guide/wifi

BackUps

Your Videos and Media

Just telling, if you like going karting and recording with an action cam:

You will probably enjoy these for watching and sharing with your friends:

In the end P2P is a pretty amazing distributed backup tool!

Home Automation / IoT

Local AI

I was too strict in the beginning with just use local LLMs:

Now I dont care much if OpenAI knows what am I vibe coding.

Pragmatism some may call it.

Local Dev Tools

Auth

https://jalcocert.github.io/JAlcocerT/front-end-and-auth/#whats-forward-auth

https://jalcocert.github.io/JAlcocerT/fastapi-x-pocketbase/#cloudflare-workers-auth

https://github.com/FiloSottile/mkcert

âš ī¸
Create the A DNS Record pointing to the Pi home address, like pi-portainer.jalcocertech.xyz before spinning the Traefik container!
â„šī¸
http challenge will require portforwarding if you are behind a NAT, but with DNS Challenge we are good to go!

Connectivity

Not just speed-tests, and DNS, but…

You can assess speed test by the avg yt upload time or with proper connectivity tests

VPNs

https://github.com/WGDashboard/WGDashboard

https://jalcocert.github.io/JAlcocerT/travel-router-gl-mt3000-review/#vps-to-deploy-a-wireguard-server

https://account.proton.me/u/3/vpn/WireGuard

https://proton.me/support/aliases-mail

For travel: Dawarich, Trek, GeoPulse, Wanderer, Reitti…

The wanderer mobile app for Android and iOS is now officially in public beta to superseed komoot and plan routes

Wanderer supports creating routes and GPX

COMMUNICATION

Start Services

A typical one is the DNS service

You can also create your own, for example: so that your battery wont charge over 80% to preserve its lifespan


Conclusions

BLDC pump

vs stepper/servos (brushed) like the sg90

https://arena.ai/leaderboard

https://artificialanalysis.ai/models

https://levels.io/

Compensations be like https://www.levels.fyi/2025/

https://www.levels.fyi/heatmap/europe/

Selfhosting and self-learning about servers have opened my mind by brute force these last years.

â„šī¸
Will I keep writing monthly posts?
git clone https://github.com/JAlcocerT/Home-Lab
lazydocker
#htop #btop #glances
docker system df
#docker stop $(docker ps -a -q) #stop all
#docker system prune -a

Mermaid…

xychart
    title "Sales Revenue"
    x-axis [jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec]
    y-axis "Revenue (in $)" 4000 --> 11000
    bar [5000, 6000, 7500, 8200, 9500, 10500, 11000, 10200, 9200, 8500, 7000, 6000]
    line [5000, 6000, 7500, 8200, 9500, 10500, 11000, 10200, 9200, 8500, 7000, 6000]

FAQ

PWAs

These has been the tech surprise of the year.

Examples: Spliit, betaflight, files.md, snapdrop/pairdrop, vert, compress.lol which i forked when talking about WASM…

PWAs can even make the gopro telemetry fully in the browser with ffmpeg: https://fossengineer.com/selfhosting-py-routetracker-pitlane-pwa/

Ppl are doing cool things around threejs, so ive leveled up the mbsd app.

PWAs Ive ship

    • acme.json
    • config.yml - Automatically created
    • traefik.yml
  • docker-compose.x300.yaml
  • .env
  • cf-token
    1. https://jalcocert.github.io/JAlcocerT/optimal-karting-line/#pwa---gopro-telemetry-extractor

    here is sth more: https://gopro-telemetry-overlay.pages.dev

    cd ./optimum-path/overlay-pwa
    make dev #make deploy
    # npm cache clean --force
    
    #npx wrangler pages deployment list 
    #npx wrangler pages deploy dist
    
    npx wrangler pages deploy dist --project-name=gopro-telemetry-overlay
    1. Write / blog: margin CMS, field notes CMS

    2. Speech Sparring

    Learnings with HomeLab

    A homelab can be useful for your trips: https://viajes.jalcocertech.com

    But, you better mantain it properly: https://akashrajpurohit.com/blog/initial-vps-setup-checklist-first-30-minutes/

    ssh is your friend, see: https://blog.bartzz.com/ssh-tunnel-cmd-generator/ and https://blog.bartzz.com/local-remote-and-dynamic-port-forwarding/

    Some peopleput playbooks so you can spn a homelab easily:

    â„šī¸
    Among VPS’s I tried: hetzner, DO, …

    Location data can also be interesting and you can gather it with Dawarich

    Wondering which OS to get started?

    Id leave ZorinOS/Omarchy for daily driver, as some people are concerned that ubuntu is bringing too many Ai features, you can also consider linux mint

    To buckup your code, I was wondering with: some custom scripts, git-sync…but you can do it with a local Forgejo

    • [2609]

    • [2608]

    â„šī¸
    MQTT vs Zigbee vs WIFi
    • [2606]
    â„šī¸
    TCP is while UDP…
    â„šī¸
    scp and rsync are great tools to sync files
    • 2511: Selfhosted adventures with umbrelOS and running a BTC node, aka downloading ~800GB of data back then!

    Seed Phrase vs. Private Key

    The 12 words (often called a seed phrase or recovery phrase) are not your private key, but they are the master key that can generate all of your individual private keys.

    âš ī¸
    More notes in activating HA for the 5600G

    Take seriously your homelab security

    â„šī¸
    Security is a process, not a snapshot.

    If you dont, you might get strange ads within Umami web analytics UI :)

    Configuring an OS

    Get a nice browser like: zen, helium,…

    #df -h #check space
    docker stop $(docker ps -a -q) #stop all
    #docker volume rm $(docker volume ls -q | grep -v '^portainer_data$') #rm all volumes but portainer
    
    #docker system df
    #docker image prune -a 
    #docker builder prune -a --force
    docker system prune --all --volumes #release space from old containers
    
    #docker system prune --all --volumes #just clean all...

    Self-Hosting Infrastructure

    Nextcloud, Pangolin… đŸ¤¯

    Nextcloud — nextcloud/server (AGPL-3.0-or-later)

    Key insight: The flagship full-platform Google Workspace replacement. PHP 8.2+ backend, Vue 3 frontend, 28 bundled apps + 300+ in the App Store. v34, MariaDB recommended, Redis required for HA.

    Cool feature: Nextcloud AIO (All-In-One) image manages MariaDB+Redis+Collabora+Talk through a single management interface — the recommended production path.

    FAQ patterns that worked well: Nextcloud vs rsync (platform vs file-transfer primitive), Nextcloud vs BorgBackup (live access vs disaster recovery — complement each other with append-only Borg for ransomware resilience).

    Pangolin — fosrl/pangolin (AGPL-3 + Fossorial Commercial)

    Key insight: Cloudflare Tunnel + Tailscale in one self-hosted platform. Three-container stack: pangolin (Next.js control plane) + gerbil (WireGuard data plane, needs CAP_NET_ADMIN + SYS_MODULE) + traefik v3.6 (sharing gerbil’s network namespace via network_mode: service:gerbil).

    Compose gotcha worth preserving: Ports 80/443 are declared on the gerbil service in the compose, not on traefik — because Traefik shares gerbil’s network namespace. Not a typo, the design.

    Workaround: Rootless Podman / locked-down Kubernetes can’t grant SYS_MODULE. Load WireGuard kernel module on the host first (modprobe wireguard), then SYS_MODULE can be dropped from the compose.

    How many users can a Pi4 2GB handle

    Im more and more interested about architecture and system design:

    So just took my benchmarks and applied it.

    Bc deploying and putting the right features fast infront of prospects matter

    The questions is: via a VPS/HomeLab or now using CF KV Workers?

    I compared clouds and mini-pcs/sbcs in several occasions.

    ProtonCLI x Rust

    The OSS file syncs clients are far from perfect.

    How about taking this and making a desktop that doesnt is cool?

    You have:

    How about doing the same for Nextcloud?

    Some Photos

    For media: https://selfh.st/apps/?tag=Photos

    git clone /JalcocerT/foldergram

    Point it at your folders, browse everything through a fast feed-style interface. No cloud, no accounts — just your files and SQLite.

    Some time back i tried immich but i didnt like that my folder order is not respected and also neither need the heavy face recognition feature that i dont care about

    High performance self-hosted photo and video management solution.

    Serverless

    Im not forgetting the CSR learnings from last year.

    And its great that ideas like multibodysystemdynamics.pages.dev or aegis-freedom.pages.dev can be shipped in ~1h.

    But…there is more to serverless.

    Is in not just static things, but services that need a server, somewhere.

    Just that you dont manage it for once.

    1. Ive enjoyed using Cloudflare R2 for s3 compatible object storage.
    1. Combined with firebase authentication + FireStore for my first ever public launch.

    Pulling registered users from those tables and setting automatic emails campaigns (lean DRIP) with Mailtrap and GHA was so cool

    The magic happens at this gha workflow

    Plus a cool example of lean engineering.

    No need for glue when there are no data silos by design.

    So there we have also the…

    1. Serverless Lean DRIP email sequences

    Who would have thought that you can use GHA to send automatical emails for people who opt-in into your micro-SaaS.

    With a cool template and API based.

    1. Creating invoices with .json via the serverless SPA.

    Which I deployed last year to https://serverless-invoices.pages.dev/invoices?lang=en

    At this post.

    It just keeps working with the power of CSR under the hood.

    1. Betaflight pwa is just amazing and it works offline too

    2. Getting GoPro Telemetry embedded in a video via PWA is also amazing

    3. Last but not least, its crazy that we can have a real time bike simulator that can run in your browser, with the full physics and with nice graphs thanks to ThreeJS

    Server HomeLab Selfhosting

    I have been still using my homelab

    Just that the focus this year has been stability.

    Specially around nextcloud for the family and friends

    The crucial P3 Plus nvme with up to 5000mb/s is doing good.

    I got a 1tb samsung 870 qvo as SO drive with up to 560mb/s

    I kept enjoying termix and since recently, also tmux, ghostty and herdr:

    sudo apt update && sudo apt install tmux -y

    Trying for the first time the mac ecosystem was also interesting with a M2 CPU.