You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Raising this issue as @p-shahi mentioned at this week's libp2p community call with @dhuseby that @MarcoPolo had mentioned the idea of building portable libp2p modules (kad-dht) implemented in any language and compiled to Wasm.
Plugins enable us to have a single "base layer" libp2p application such as libp2peasy (or whatever) and use other peoples' plugins with your data in a sandboxed way.
I'm working toward this direction, using https://extism.org/ and have some basic working versions of plugins, they just need to be written and integrated into libp2peasy.
- Some sort of on_message handler to process pubsub messages
- A host function for publish can be passed in to respond to any message
I see the plugin basically handling a message, encoding/processing/responding in the appropriate way, then possibly publishing if appropriate. Very early thoughts at this point.
Top on my list are the following plugins:
- IPNS
- Name name system support
- Video broadcast over gossipsub
- Versatile chat plugin similar to Nostr**
** I'm going to call it Postr, because:
P comes after N in the alphabet
It is similar to Poster, as in posting messages
It is similar to Imposter, as in a Nostr Imposter
It will use gossipsub instead of the Nostr floodsub
It will enable all the libp2peasy transports, so you can run a Postr node at home
It will be plugin compatible, so if you want to customize it, you just create a new plugin instead of having to build a who new app from the ground up
The text was updated successfully, but these errors were encountered:
Libp2peasy Plugins
Raising this issue as @p-shahi mentioned at this week's libp2p community call with @dhuseby that @MarcoPolo had mentioned the idea of building portable libp2p modules (kad-dht) implemented in any language and compiled to Wasm.
Plugins enable us to have a single "base layer" libp2p application such as libp2peasy (or whatever) and use other peoples' plugins with your data in a sandboxed way.
I'm working toward this direction, using https://extism.org/ and have some basic working versions of plugins, they just need to be written and integrated into libp2peasy.
See
I see Plugins as basically having 2 handles:
on_message
handler to processpubsub
messagespublish
can be passed in to respond to any messageI see the plugin basically handling a message, encoding/processing/responding in the appropriate way, then possibly publishing if appropriate. Very early thoughts at this point.
Top on my list are the following plugins:
** I'm going to call it Postr, because:
P
comes afterN
in the alphabetPoster
, as in posting messagesImposter
, as in a Nostr ImposterThe text was updated successfully, but these errors were encountered: