ipfs-pin-steem - a tool for pinning Dtube, Dsound, etc. to your local IPFS node

in #utopian-io6 years ago (edited)

About ipfs-pin-steem

ipfs-pin-steem is a small commandline tool written in Python to make pinning Steem content like Dtube videos or Dsound audio to your local IPFS node easier. You can simply paste the URL and it will extract the IPFS hashes from the metadata and pin it to your local IPFS Node. You can even create a single IPFS Object out of multiple IPFS Hashes.

Features

  • extract IPFS hashes from content posted via Dtube, DLive, Dsound, Steepshot
  • pin IPFS hashes to an IPFS node
  • create a single IPFS object containing multiple IPFS hashes from multiple posts

Requirements

  • python3.6
  • ipfsapi
  • beem or steem

Installation

Install with pip:

pip install ipfs-pin-steem

or if you want to use the steem library instead of beem:

pip install https://github.com/Johnn3y/ipfs-pin-steem/archive/steem.zip

see README for more installation details.

Usage

A basic example. This command will pin a Dtube post with all containing IPFS hashes (e.g. videohash,spritehash,...) to your local IPFS node:

ipfs-pin-steem https://d.tube/v/user/permlink

see README for more usage examples or run ipfs-pin-steem --help for all options.

Contribution

I don't really plan any new features but if you think something important is missing, just let me know. If you want to contribute to this project anyhow, feel free to do so.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Hey @johnnyyy I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • This is your first accepted contribution here in Utopian. Welcome!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

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

Coin Marketplace

STEEM 0.26
TRX 0.11
JST 0.033
BTC 63851.10
ETH 3059.36
USDT 1.00
SBD 3.85