Skip to content

filipesoccol/libp2p-pubsub-vue

Repository files navigation

LibP2P + PubSub + Vue + Typescript

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.

Live Demo!

screenshot of the js ipfs node id info

This project was bootstrapped with Vue CLI.

Installation and running Client

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

Installation and running Relay

$ git clone https://github.com/filipesoccol/libp2p-pubsub-vue
$ cd libp2p-pubsub-vue
$ npm install
$ node relay

Signaling Servers are important

Verify signaling servers in case two peers not seen each other. Check here

Customize configuration

See Configuration Reference.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published