brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.61k stars 2.29k forks source link

IPFS PubSub for Dapp #13607

Open SionoiS opened 3 years ago

SionoiS commented 3 years ago

Description

https://blog.ipfs.io/25-pubsub/

https://blog.ipfs.io/2020-05-20-gossipsub-v1.1/

https://github.com/ipfs/go-ipfs/blob/master/docs/config.md#pubsubenabled

Please consider enabling pubsub for IPFS in Brave. Pubsub would allow web apps to be a lot more dynamic. Static content is a good start but go-ipfs can do a lot more! IPNS and any kind of decentralized database will need it at some point too.

Security is a concern I'm not sure how to address though.

Thank you!

dxtr85 commented 3 years ago

I second that. It would be great having access to ipfs instance (at least when ipfs-companion is running with embedded node) from within every page for js scripts to interact directly with ipfs network - this would enable making dApps truly decentralized.

SionoiS commented 3 years ago

Yes, requiring the user to configure IPFS for CORS is less than ideal, that's another issue.

slavnycoder commented 3 years ago

yep!

daviddahl commented 3 years ago

I also need this feature. Asking app users to install IPFS and configure it is a non-starter. Brave with pubsub and IPFS API will be transformative for decentralization on the web.