What is Nostr?
cloud fodder
npub10np…tl5h
2024-07-23 21:29:24

cloud fodder on Nostr: samsies but for relays, brain hurtz Write ACLS was hard enough, and now we have ...

samsies but for relays, brain hurtz

Write ACLS was hard enough, and now we have NIP-42 AUTH read ACLs to layer on top of write. 'Types' of relays expanding constantly. People using Relays as TCP/IP, using them as base64 image servers, using them as DNS, using them as cashu wallets, using them for anything and not really saying what they're using them for. Unlimited "kinds", or limited, but who knows what they even are? Github searching the nips repo like a donkey with rabies and not finding anything you need to find, forced to login and KYC with them just to search. Kinds galore, kinds upon kinds.. What to limit what to not limit? Will people even use lightning or will clients even help them pay for relays or just keep giving it away for free? Servers exploding under 60+ load average and then having zero traffic. Clients sending drafts to 600+ relays on every keystroke via blastr. Like bots, follow bots, happy new year bots, comment bots, stalker bots, denial of service bots, jealous bots, bots that are ok.

Implementing 'private inboxes' to allow everyone to connect and AUTH, but only allow them to send a message if they're a subscriber, but ALSO allow anyone to send if they tag someone who IS a subscriber, but only if it's a 'private message' of 6-7 different kinds. Only allowing each individual pubkey to download their OWN private messages if they're a subscriber instead of the whole network of private messages.

Allowing things, blocking things, but override the allows with blocks, and then do that for reads AND writes, and for kinds and pubkeys and keywords, but with separate logic when required.

Well, I am looking forward to client outboxes/inboxes and upgrading all relays to AUTH so much and I know it's super hard. The relays will be here to support you. If anyone can do it it's Vitor Pamplona (npub1gcx…nj5z) and mikedilger (npub1acg…p35c)

Ok, keeping the feed consistency between the outbox model (only downloading certain event kinds from certain relays based on the author's lists) + maintaining EOSE's for each subscription in each separate relay so we don't download things twice + rotating the filter within each relay because either the follow list or the kind list is too big for that particular relay + reconnecting to AUTH as separate users that are logged into the app + packing as much into a single subscription as possible because many relays limit the number of subscriptions is driving me slighly crazy.

Nostr is easy only in the first 10 days of developing an app.

Author Public Key
npub10npj3gydmv40m70ehemmal6vsdyfl7tewgvz043g54p0x23y0s8qzztl5h