Skip to content

Latest commit

Β 

History

History
56 lines (42 loc) Β· 1.38 KB

File metadata and controls

56 lines (42 loc) Β· 1.38 KB

ipfs-friends

Build Status dependencies Status JavaScript Style Guide

get by with a little help from your friends (to share files)

Turn IPFS peers in to file sharing friends.

Install

npm install -g ipfs-friends

Usage

CLI

  1. Install IPFS (JS or Go flavour).
  2. Start your daemon (with pubsub enabled):
    (js)ipfs dameon --enable-pubsub-experiment
  3. Start friends:
    friends
# It all starts with friends
$ friends
> Welcome friend...
> ls
Alan             QmHashHashHashHashHashHash
Alex             QmHashHashHashHashHashHash
SupriousLongName QmHashHashHashHashHashHash

# Add a peerId as a friend you want to co-host
> add QmHashHashHashHashHashHash Jamie
πŸ‘πŸ˜™πŸ‘

# Stop following a friend
> dump Jamie
πŸ’¦πŸ—‘

Alan is here ✨🎷🐩

# Tell your friends about something you want to share
> share bafyba6hdhnxndKDFJLDKJF best-cat-gif
https://share.ipfs.io/#/bafyba6hdhnxndKDFJLDKJF

Alan got best-cat-gif
Alex got best-cat-gif
Alan went away πŸ‘‹
Alex shared best-cat-gif bafyba6hdhnxndKDFJLDKJF