jimbocoin on Nostr: I’m using Nostr as the communication mechanism for a special purpose site. Nostr is ...
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.
Published at
2024-11-02 14:48:35Event JSON
{
"id": "48ea203e1dee9af3fe96057c5e50dd368175ea22a90d973a4bad0232e0739fe7",
"pubkey": "6140478c9ae12f1d0b540e7c57806649327a91b040b07f7ba3dedc357cab0da5",
"created_at": 1730558915,
"kind": 1,
"tags": [
[
"e",
"263dd778983ff8ce9f92d61e08ee9fd9620126b5f5bb136e7cd334d7ac9e31e0",
"",
"root"
],
[
"e",
"66bc596cfdc28a673aa849408820874886d9315030d5b7b1cd32d1f028661e59",
"",
"reply"
],
[
"p",
"cdecc31c6d9406e9a7d6b0067412aa661d9d31c8035c3fd65c06301d1cac3b92"
]
],
"content": "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.\n\nMy app sends custom events (unclaimed kind number) with empty content. Tags contain all the relevant info.\n\nUsers’ nsecs are randomly generated. I may later allow profile features, but for now it’s irrelevant.\n\nSo I need a relay with the following features:\n\n0. (Required) Installable on my lowish -powered Ubuntu VPS.\n\n1. (Required) Allow public access over SSL.\n\n2. (Required) Persist events.\n\n3. (Nice to have) Basic throttling. E.g. limit to 1 published event per second per IP address.\n\n4. (Nice to have) Event kind allow-list. Disallow events of all kinds other than a specific short list of kind numbers.\n\n5. (Nice to have) NIP-13 Proof-of-Work enforcement. Alternative to basic throttling.",
"sig": "da8cba49667b22a5c94cb36275a0c663a2ee014e8634fc514dc812e5eebd0e84b20eef6569baa4e3a439fc6d62c8bc3afc3be53eeed2d719a94ded8ea0d62d00"
}