hsanjuan / ipfs-lite

IPFS-Lite is an embeddable, lightweight IPFS-network peer for IPLD applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PubSub

WnP opened this issue · comments

Hello,

What about adding IPFS PubSub feature to ipfs-lite?
did you already try that?
did you find some difficulties implementing it?

I know it's one more feature which may not fit the lite side of this project, but it opens a lot of new area to explore on IPFS, especially for projects like grpc-ipfs-lite, android-ipfs-lite, and so on... which are based on ipfs-lite.

Let me know your thought.

Hi, pubsub is not an IPFS feature, it's a libp2p feature.

Pubsub needs to be added on top of a libp2p node, the same one that it is passed to ipfs-lite and this can be done very easily and without any trouble when needed. Therefore, it does not make sense to handle pubsub inside this library.