Name: ipfs-pubsub-chat-example
Owner: TABLEFLIP
Description: An example pubsub app that uses window.ipfs, provided by the IPFS Companion web extension
Created: 2018-02-22 16:20:36.0
Updated: 2018-03-21 11:53:19.0
Pushed: 2018-03-21 11:53:18.0
Homepage: https://tableflip.github.io/ipfs-pubsub-chat-example/dist/
Size: 2664
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A ~76KB example chat app that uses window.ipfs, provided by the IPFS Companion web extension
Demo: https://tableflip.github.io/ipfs-pubsub-chat-example/dist/
This app requires window.ipfs
. Install the IPFS Companion web extension:
You need to be using the embedded JS-IPFS node, click the extension icon in the top right of your browser and toggle the switch to “embedded”
Open the preferences and paste in the following to configure your JS-IPFS node to use pubsub:
onfig": {
"Addresses": {
"Swarm": [
"/dns4/ws-star.discovery.libp2p.io/tcp/443/wss/p2p-websocket-star"
]
}
XPERIMENTAL": {
"pubsub": true
Install dependencies npm install
Build the app npm run build
Start the app npm start