Remix.run Logo
busymom0 19 hours ago

I self host my site [1] on an old Mac mini in a Swift backend and sqlite database. Only thing I rely upon someone for is Cloudflare tunnels for free. I could replace that with port forwarding but so far, this way is pretty good.

[1] https://limereader.com/

doawoo 18 hours ago | parent | next [-]

Yup, I have a similar setup where I use a Wireguard VPN to tunnel traffic to a tiny public facing Caddy server, which proxies the traffic to the server under my own roof. No Cloudflare!

onetrickwolf 18 hours ago | parent | prev | next [-]

I have something similar. I use Cloudflare tunnels too but also their CDN which is free (for now).

That's the only thing I haven't really been able to figure out how to do on my own. Back in the day, hosting a static site from my crappy DSL connection was basically no problem and most people who were accessing my site were probably in my timezone. Now with how big the web is and how many bots there are, I worry about the quality of self hosting without a CDN.

inigyou 6 hours ago | parent [-]

Bots are over-fearmongered. Yes, you get a lot of bot traffic to any website. No, it isn't a ddos unless you make it a ddos by making your server do 10 seconds of computation on every page load. Just keep an eye on server load so you know when a solution is actually needed, and you'll be fine. Install Anubis if you want to, but there are even simpler checks, like requiring an image or CSS file to be loaded or setting a cookie or putting a simple redirect in JavaScript or meta-refresh.

bartlebone 19 hours ago | parent | prev | next [-]

Cloudflare tunnels are pretty cool. Do you segregate your server from your home domain too? Little weird having cloudflared on my home network. It make things a little more annoying but I haven’t bothered to fix it since I dev on the same production server.

busymom0 19 hours ago | parent [-]

My server is a different computer which only does this. It's not on my personal computer.

tamimio 19 hours ago | parent | prev | next [-]

> Cloudflare tunnels for free. I could replace that with port forwarding

You could replace it with something better, like pangolin, either their cloud or even self host it too, and that way you can tunnel to other stuff like if you have a media server where you can watch your movies from anywhere in the world.

wolvoleo 18 hours ago | parent [-]

Yeah I find it a bit funny when people self host to get away from cloud and then use Cloudflare tunnels.

tamimio 18 hours ago | parent [-]

CF tunnels will ban your account if you used it to watch a movie due to DMCA/copyrights.

weightedreply 18 hours ago | parent [-]

Is this really true? "A friend of mine" has been running a Jellyfin server behind Cloudflare tunnels for years and hasn't had any issue.

wolvoleo 7 hours ago | parent [-]

I would guess they only take action when they get a DMCA complaint and that wouldn't happen if you only share privately with friends.

inigyou 6 hours ago | parent [-]

They can also take action if they decide you're wasting their bandwidth or (especially) cache space. It's not allowed to host video files on any free cloudflare plan due to cache space.

segmondy 19 hours ago | parent | prev [-]

same here, except a 5 yrs old raspberry pi hanging off a power adapter on the floor.