RE: Preventing your Dtube Vids from disappearing, aka, hosting a node!

You are viewing a single comment's thread from:

Preventing your Dtube Vids from disappearing, aka, hosting a node!

in izlude •  7 years ago 

Even better if you can run an IPFS node on a VPS.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

excellent! hey i do have a question though :O how do i pin other people's content? with their existing hash.. is there a specific command line for it?

  ·  7 years ago (edited)

Yes.

ipfs pin add (hash)

I do this all the time, works for directories too.

ipfs pin add QmU3zLTYK9rLuqcHZDUoYLQeVaJv7MPHKF54FYyfKmt3z7

pinned QmU3zLTYK9rLuqcHZDUoYLQeVaJv7MPHKF54FYyfKmt3z7 recursively

https://ipfs.io/ipfs/ (paste your hash here)

I discovered by accident that if you put an index.htm file in the directory it works the same as a static web server.

this is great stuff, i do have a question though.... after i download the file from the ipfs iso (paste your hash here) thing... and put it in my directory, can I somehow place that hash file into another directory and re-pin it from that folder? just to keep the main directory clear, if not that's fine.

Sure, create a directory, (or several) in your main directory and organize it however you like.

IPFS has deduplication, which means you can have the same file in multiple locations, and it will only be stored once.

  ·  6 years ago Reveal Comment