Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wrannaman/IPFS-Demo

IPFS demo using IPFS, React, MobX, Material-UI
https://github.com/wrannaman/IPFS-Demo

Last synced: 4 months ago
JSON representation

IPFS demo using IPFS, React, MobX, Material-UI

Awesome Lists containing this project

README

        

# IPFS Demo
Upload images or videos to IPFS. Play or view them, and delete them (sort of...)

![Demo](https://github.com/wrannaman/IPFS-Demo/blob/master/demo.gif)

## Installation
[Install IPFS](https://ipfs.io/docs/install/)

`$ npm i`

## To Run
npm run dev

## Starting IPFS
In a separate terminal:

`$ ipfs daemon`

## IPFS web UI
View the IPFS web ui:

[http://localhost:5001/webui](http://localhost:5001/webui)

## Gotchas
- If your ipfs webui is getting 403, [try this](https://github.com/ipfs-shipyard/ipfs-webui/issues/596#issuecomment-314395014)
- Removing files [isn't simple]( https://discuss.ipfs.io/t/can-i-delete-my-content-from-the-network/301/31)
- If you upload the same file multiple times, the hash and path are the same. So perhaps a check on upload is necessary to see if it already exists?