[Steemia] - NodeJS backend for IPFS Image Uploads
Steemia IPFS
- What is the project about?
This project is a NodeJS backend service for uploading photos to an IPFS server.
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
IPFS
Go IPFS Version v0.4.14
NODE
NodeJS Version 8.11.1 LTS
How to Install
Download IPFS => https://ipfs.io/docs/install/
Start an IPFS node with your CLI;
ipfs daemon
It will start working at localhost:5001
git clone https://github.com/hsynterkr/steemia-ipfs
cd steemia-ipfs
npm install
npm start
It will start working at localhost:5000
Now you can upload photos to your local IPFS node.
You can send a HTTP POST request to localhost:5000/upload to upload an image file!
The request will return a Hash. You can find the image file at
or
Upload test with PostMan
Roadmap
- Compress photos before uploading to IPFS
- Create an authentication service for uploads
- Allow video uploads
How to contribute?
You just need to fork the following repository:
https://github.com/hsynterkr/steemia-ipfs
Feel free to send us a Pull Request...
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
Please make sure to include the specific commits in your posts that are relevant to it.
It would be nice to see a sample script using your library.
You can contact us on Discord.
[utopian-moderator]
Thank you @helo I will create a folder for examples.
Local notification test @hsynterkr
Hey @hsynterkr I am @utopian-io. I have just upvoted you!
Achievements
Utopian Witness!
Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
You should try Insomnia, it is like Postman, but except it is opensource:
https://insomnia.rest/download/
Btw are you on discord?
Hello @throwawayaccount
Thanks for suggestion and yes I am on Utopian and Steemia discord channels.
Steemia Discord
Thanks I'll join.