Last active
November 16, 2015 10:24
-
-
Save oriolgual/fd8402102b6d03e2260b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IPFS Barcelona hack day | |
 | |
libP2P | |
github.com/IPFS/specs | |
github.com/IPFS/pm | |
Download and install ipfs | |
Ipfs init | |
Echo "hello" | ipfs add | |
ipfs cat HASH | |
http://ipfs.io/ipfs/HASH | |
ipfs swarm peers | |
Only need to open port 4001 | |
By encrypting the content you can share content with a group that have the key and benefit from the whole network to distribute it. You can also remove the nodes from ipfs bootstrap and only communicate with a private network. Although if any of the peers connects to a public node your content will be public. | |
Ipfs discovers peers with bootstrap nodes, multicast and with DHT random walks. | |
 | |
GitHub.com/ipfs/is-ipfs-api | |
CORS fix for the api: API_ORIGIN="allowed domains" ipfs daemon | |
 | |
Ipfsbin.xyz | |
 | |
GitHub.com/ipfscommunity | |
 | |
Twitter.com/ipfsbot | |
ipfs pin hash to make sure you keep files in your node | |
ipfs repo gc cleans the files that you haven't pinned | |
If you add files to the node they're automatically pinned. | |
http://localhost:5001/webui |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment