I want to build a relay, how do I start? And I don't want a nostr1 relay.

Reply to this note

Please Login to reply.

Discussion

what programming language are you comfortable with?

None, that's the issue. Trying to learn, but it's hard.

You can have a look at https://github.com/zapstore/ftsrelay (a custom relay I built for zap.store)

Not the most tested relay impl out there, but:

- written in javascript which is probably easier to get started than go or rust

- relatively small

- you can ask me if there's something you don't understand

Ok, thanks!

Use this to store events in SQLite/Postgres: https://nostrify.dev/store/sql

Then glue it to a web server with Hono: https://hono.dev/

Cool!