PDA

View Full Version : How to run IPFS on the Windows (2019)



Fli
10-06-2016, 01:06 AM
How to run Inter-planetary File System on MS Windows (i tested Windows 10)

About: https://ipfs.io/ (search for: "Here's how IPFS works")

-- In short: --
IPFS does not provide anonymous file sharing (https://github.com/ipfs/faq/issues/12), but it provide security (encrypted sharing).
Each shared file or HTML page gets unique hash (string) under which it can be accessed from anywhere in the internet where ipfs software is running.
Multiple computers can share same file and in that case file has same hash/url and so can be accessed from multiple lcations at same time => greater speed, latency.

Download Windows version at https://ipfs.io/docs/install/
Unpack .zip archive and copy ipfs.exe into C:\Windows and C:\Windows\System32
Open command prompt and execute: ipfs init
Then copy and save your peer identity hash
run: ipfs help
run: ipfs daemon
open in web browser: http://localhost:5001/webui
open remotely hosted test file: http://localhost:8080/ipfs/QmW2WQi7j6c7UgJTarActp7tDNikE4B2qXtFCfLPdsgaTQ/cat.jpg

Warning, Yours shared file means that anyone can download it and you can not stop them from sharing it

To autorun ipfs one may try creating shortcut of the ipfs.exe witch command being init or daemon parameters.

IPFS object pinning = mirroring some other ipfs node data locally creating persistent data..
Page 7 of https://github.com/ipfs/papers/raw/master/ipfs-cap2pfs/ipfs-p2p-file-system.pdf