Sharing a Self-Hosted App with Friends Without Making Them Install a VPN
My friends and I dump a lot of game clips in our Discord, and within a couple weeks they’re gone, buried under a hundred memes with no way to go find that one moment again.
That’s why I built ClipVault, a private clip archive running on my home server. You upload by just sending a Discord message, and watching happens on a little site with logins, filters, and a fullscreen feed.
I’m not really going to talk about the app itself here. I want to talk about the thing that turned out way harder than writing the app: how do you actually let other people use something sitting in your house?
The problem with self-hosting for other people
Self-hosting is great right up until someone other than you wants in. Then every option kind of sucks in its own way.
Port forwarding works, but now there’s a hole punched in my router that I have to babysit forever. A VPN is the “correct” homelab answer, except getting your friends to install and configure a VPN client just to watch clips, isn’t super easy for non-technical people. Throwing the whole thing on a cloud host defeats the point of self-hosting in the first place, plus video storage isn’t cheap.
What I actually wanted was simple: a link that works on any device, a login page, and nothing poking a hole in my router.
Tailscale Funnel fixed it
Tailscale has this feature called Funnel that exposes a service to the public internet over HTTPS. It hands you a *.ts.net address with the certificate already sorted, and the traffic comes in through Tailscale rather than through a port you opened yourself.
What actually made it click for me was how I wired the containers together in Docker Compose:
services:
ts-clipvault:
image: tailscale/tailscale:latest
hostname: clipvault
environment:
- TS_SERVE_CONFIG=/config/funnel.json # what to publish
# ...
caddy:
image: caddy:alpine
network_mode: service:ts-clipvault # share Tailscale's network
# ...The Tailscale container is basically the front door. Caddy runs with network_mode: service:ts-clipvault, so it’s sitting inside the Tailscale container’s network namespace instead of its own. A request coming in through Funnel lands straight on Caddy, which either hands back a static file or proxies /api/* over to PocketBase on the internal Docker network.
So onboarding for my friends is just: open a link. That’s it.
Public doesn’t mean open
The second Funnel puts something on the public internet, the app itself has to carry the security, because there’s no VPN or firewall doing it for you anymore. ClipVault leans on PocketBase for accounts - the homepage is a login screen, and everything else checks for a valid session and kicks you back to login if it’s missing or stale. Everyone gets their own account too, which is the only reason per-user likes actually work.
What stuck with me
Building ClipVault itself was the fun part. Figuring out how someone who isn’t me actually gets to use it took just as much effort. The friction thing is real. My friends actually use ClipVault because there’s nothing to install. If I’d made them run a VPN client first, it would just be a site I use by myself.
Going public means security is on you now, not your router. Convenience and exposure are the same tradeoff, so what gets served and who’s logged in matters from the start.
If you’re self-hosting something and want other people to try it out, give Tailscale Funnel a try. It’s worth a look. For ClipVault it came down to one Tailscale container, one small JSON config, and a single network_mode line on Caddy.