Maybe I contribute to #drupal #nostr - any help needed? #nostrdev

Reply to this note

Please Login to reply.

Discussion

I added a #nostr channel to the Drupal Slack workspace. Please join!

Yes! Let's build some awesome contribs for Drupal! =)

OK, there are already some modules for NIP 1 and NIP 5. Any ideas?

NIP-07 seems to me the most important to integrate 🤓

But NIP-07 is JavaScript - and afaik already done 👍

Done in which way with Drupal? With a contrib module?

As I understand NIP 7 it's a global js object. So you access it in Drupal with the .behaviours - but correct, there's no PHP facade as module

As Drupal is a "server-generated" fronted, question: should the server keep the wss to relays open, subs REQs, send&sign events or should that be done by the js client in the browser?

Could be both, depends on what you're trying to accomplish. There are clients which are using server-side websocket connections (I've to look this up tbh) but most connections are handles by JS (which is preferable).

In order to publish to Nostr via a #Drupal site, do you think NIP-07 through an extension is the way to go, or storing nsecBunker tokens on the site itself? Or support for both, I suppose?

Are you on Drupal Slack? We have a Nostr channel there since this week

Why not have a #Drupal channel on Nostr? 😀