[ipfs.uploder] IPFS Image Uploader Webpage | Python

By @avnigenc4/10/2018utopian-io

ipfs.uploder

  • What is the project about?
    This project is a Python backend service for uploading photos to an IPFS server.
What is IPFS?

IPFS (InterPlanetary File System) is a protocol and network designed to create a content-addressable, peer-to-peer method of storing and sharing hypermedia in a distributed file system.

More information about IPFS can be found here.

  • Technology Stack

Go IPFS. - v0.4.14

Python

Flask (python lib.)

How to Install

Download IPFS => https://ipfs.io/docs/install/

Start an IPFS node with your CLI;

ipfs init
ipfs daemon

It will start working at localhost:8080

image.png

git clone https://github.com/avnigenc/ipfs.uploder.git
cd ipfs.uploder
python app.py

It will start working at localhost:5000

image.png

Now you can upload photos to your local IPFS node.

The request will return a Hash. You can find the image file at.
You can see the link on the page that is navigated after you upload the photo.

image.png

http://localhost:8080/ipfs/{YOUR_HASH}

or

https://ipfs.io/ipfs/{YOUR_HASH}



Posted on Utopian.io - Rewarding Open Source Contributors

31

comments