What is Nostr?
Alex /
npub1q3s…d26p
2024-10-03 16:50:05
in reply to nevent1q…uf0m

Alex on Nostr: Is Nos a pure client or does it have a server? The client I'm building is a hybrid ...

Is Nos a pure client or does it have a server?

The client I'm building is a hybrid client/server. I am working on an anti-spam system where I treat users of my client differently from users on the network.

Users on the network need a valid NIP-05, or need to be in the web-of-trust of some configured account (Jack Dorsey currently, but it's configurable) in order to post. The WoT thing is primitive, but I can envision ways to improve it. Look how small the code is: https://gitlab.com/soapbox-pub/nostrify/-/blob/main/packages/policies/WoTPolicy.ts?ref_type=heads

For users of my own client, I'm building a captcha served by my server. When they solve the captcha, my server will publish an event saying they solved the captcha. Then any client which trust my server (including my own client) can query that event to decide whether to let the user post.
Author Public Key
npub1q3sle0kvfsehgsuexttt3ugjd8xdklxfwwkh559wxckmzddywnws6cd26p