Oddbean new post about | logout
 I’m using Nostr as the communication mechanism for a special purpose site. Nostr is not the focus, just the user-generated-message sharing provider.

My app sends custom events (unclaimed kind number) with empty content. Tags contain all the relevant info.

Users’ nsecs are randomly generated. I may later allow profile features, but for now it’s irrelevant.

So I need a relay with the following features:

0. (Required) Installable on my lowish -powered Ubuntu VPS.

1. (Required) Allow public access over SSL.

2. (Required) Persist events.

3. (Nice to have) Basic throttling. E.g. limit to 1 published event per second per IP address.

4. (Nice to have) Event kind allow-list. Disallow events of all kinds other than a specific short list of kind numbers.

5. (Nice to have) NIP-13 Proof-of-Work enforcement. Alternative to basic throttling.