MHN

Nostr is a stupid simple P2P protocol that works, built by builders

248 points by kdragon·1465 days ago·Show in HN

I have been seeing a lot of shilling for mastodon lately, so I thought I would step in and shill Nostr for a bit.

https://github.com/nostr-protocol/nostr

Fun facts about Nostr:

  • Nostr stands for "Notes and Other Stuff Transmitted by Relays". It is an odd acronym, but I like it.
  • Nostr uses websockets and relays to build a really simple P2P network. We also steal a few ideas from bitcoin (ECDSA ids, schnorr-signed events).
  • Relays are simply dumb data stores for events that clients publish and subscribe to.
  • Clients don't trust relays to be honest, so all events are self-signed. Your pubkey is your userid.
  • It is stupid simple to build a Nostr client. You can easily do it in less than 400 lines of JavaScript. And it runs in the browser.

(shameless self plug)
https://github.com/cmdruid/nostr-emitter

  • Nostr is powerful enough to host chat apps very easily. Here is a rip of Telegram, running on Nostr:

https://anigma.io

  • There's a lot of fun things you can do with Nostr. Check out all these cool projects!

https://github.com/aljazceru/awesome-nostr

  • We are constantly discussing how to improve the protocol. Come join the conversation here:

https://t.me/nostr_protocol
https://anigma.io
https://damus.io
https://github.com/nostr-protocol/nips

Thank you for reading my nostr shill post. I did not create nostr, nor do I get any monies for promotion. I just think it's really cool and I have a lot of fun building stuff that punches though nats.

If you have any questions about nostr please feel free to ask.

Also, Happy Thanksgiving to everyone! I hope we're all feeling fat and sassy today. :-D

Add a comment on Hacker News →
1 of 128 comments
  1. I don't agree Nostr is P2P since clients must connect to relays and there's no provision at the time for client to client connectivity.
    I found out about Nostr and due to the simplicity of the protocol I was able to start building right away.
    I implemented a relay using Typescript:https://github.com/Cameri/nostr-ts-relayI also wrote this dead simple SMTP to Nostr gateway: https://github.com/Cameri/smtp-nostr-gateway