I was looking for a way to integrate it into the Phoenix framework.
I think it might be possible by writing a custom Transport/Socket and map events channels and topics but I don’t know yet if this is even a good idea anyway. I should probably start out simpler and just something up and running.
Nostr seems to be the perfect opportunity to write a relay in Elixir and a client using Elixir + Phoenix LiveView 🤔
Looking into implementing a #nostr relay in Elixir and potentially the Phoenix Framework.
Would be a perfect stack for real time and web sockets 🚀
It offers great features for web sockets, but I fear that using e.g. Phoenix Channels would not work. I believe nostr clients would then need to use the Phoenix Socket JavaScript library to connect 🤔
I need more time to dive into all of this 😅
quotingIf you have a passion for building software, you should seriously consider checking out the Elixir language😉
nevent1q…w85y
Wonderful ecosystem and platform to build software suited for the modern era.
Your stack may even get simpler a whole lot!
https://void.cat/9em6r5jZ5EezWWCr6LnNuA
Here’s a video that might get you excited 😊
Careful though, he talks fast and this programming language is another rabbit hole you might fall into.
https://youtu.be/JvBT4XBdoUE