I can run a relay from my house (I do) and make it look like it's anywhere else in the world (I do).

They can't do shit and I dare them to try.

Reply to this note

Please Login to reply.

Discussion

What does it actually take to run a relay? I mean space, domain, maintenance time, etc?

I already had a server but that's probably the biggest thing to figure out.

Space is 62MB because I'm only storing my data. Maintenance was 10 mins to spin up the container, 10 mins to configure it to only allow my NIP-05 domain. I have a script on my proxy server to set up TLS and a reverse proxy. I haven't touched it since.

You could run a relay on a RasPi if you wanted. It just needs a basic webserver (nginx, caddy, apache) and a domain with SSL cert installed so connections over websocket secure (WSS) can be made.

Disk space and resources can depend on a couple factors including the lang that it was written in and the database. I’ve found the relay written in Rust with SQLite to be more performant and low-resource consumption than one written in Typescript and using Postgres.

And then it also depends on the type of NIPs the relay allows, which will dictate the sort of content stored on the relay. Also factor in number of connections using the relay, if it’s mirroring another relay, and/or if it supports hosted media like NIP-95.

"oh is that all?" 😉

I appreciate the detailed answer.