Skip to content

tableflip/ipfs-friends

Repository files navigation

ipfs-friends

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

About

get by with a little help from your friends

Resources

License

Stars

Watchers

Forks

Packages

No packages published