You don't have to be a rich go developer to build a high end nostr relay. You can host your nostr relay in a cheap, shared host with a ordinary mysql/sqlite database.

Now it is possible with Phatru, a new library to build customized nostr relays in PHP, architecture is inspired by Khatru (https://github.com/fiatjaf/khatru).

Go (no puns intended) check it out at https://github.com/dhalsim/phatru and give some comments.

nostr:nprofile1qydhwumn8ghj7un9d3shjtnhv4ehgetjde38gcewvdhk6tcprfmhxue69uhhq7tjv9kkjepwve5kzar2v9nzucm0d5hsqgpm7rrrljungc6q0tuh5hj7ue863q73qlheu4vywtzwhx42a7j9n5qnvvze

Reply to this note

Please Login to reply.

Discussion

nostr:npub1dejts0qlva8mqzjlrxqkc2tmvs2t7elszky5upxaf3jha9qs9m5q605uc4 which app did you generate this nprofile with?

I don't quite remember but probably used https://metadata.nostr.com/ and maybe damus. Why do you ask?

How much does a shared PHP host cost? Is it less than $3.50/mo?

I don't understand why people want to use these instead of a cheap VPS that can execute any code instead, but I'm glad this option exists anyway.

well, I just bought a 10GB disk + 500GB/month bandwidth with MariaDB support from a local hosting company for 10$/year. They offered a free .online domain on top of that.

I need that.