A minimal demonstration of how to use libp2p + pub-sub
with Vue
. You can send messages to a public chat and also direct to specific peer id.
This project was bootstrapped with Vue CLI.
First clone this repo, install dependencies in the project root and build the project.
$ git clone https://github.com/filipesoccol/libp2p-pubsub-vue
$ cd libp2p-pubsub-vue
$ npm install
$ npm run dev
$ git clone https://github.com/filipesoccol/libp2p-pubsub-vue
$ cd libp2p-pubsub-vue
$ npm install
$ node relay
Verify signaling servers in case two peers not seen each other. Check here