My Local DTube IPFS is Up & Running (1TB) - Help Decentralize DTube!

in #dtube7 years ago (edited)

So... I just got my DTube IPFS up and running... It was very simple to do, and I suspect most anyone could do it, even with very basic computer skills! All you need is a laptop, seriously, and you can help decentralize DTube. So what are you waiting for!?

dtube.png

My Local Machine

Dell Laptop 16GB RAM 1.5 TB SSD (Anything will do!)
Location: My office building with reliable and fast Internet.
Steemit Account: https://steemd.com/@ipfs01
That's all you really need.

How To Run Your Own IPFS

How to install IPFS for DTube

  • Download IPFS 4.10 for Windows
  • Unzip
  • Run the config.bat file
  • Allow IPFS via your firewall settings.
  • Config will run until you are prompt to enter your hard-drives dedicated IPFS volume size in GB (1000 in my case) for storing pinned videos.
  • Open Chrome (I recommend)
  • Navigate to https://dtube.video and login (required)
  • Go To Settings -> Local IPFS to verify you are now running your IPFS!
  • Run dtube.bat on the next start up.

Manual Pinning of DTube Videos

Just up vote videos via https://dtube.video or Steemit that you'd like to pin! This is very simple and recommended for users with low dedicated storage space.
Upvote your favorite authors to help serve and decentralize the videos!

UpVote Bot Pinning DTube Videos

What I did is create this little python script that will up vote every video uploaded to Dtube, pinning that video onto my local IPFS. I'm starting with this for a trial period until I come up with some specifications to selecting videos.

from piston.steem import Steem
steem = Steem(wif = 'YOURKEY')
tags = ['dtube']
for p in steem.stream_comments():
  for tag in tags:
     try:
        if p.is_main_post() and tag in p["category"]:
           print("New DTube Video: @" + p["author"] + "/" + p["permlink"])
           vote = p.upvote(weight = 30.00, voter = "YOURUSERNAME")
           print("Upvoted & Pinned DTube Video by @"+vote["operations"][0][1]["author"]+" via @"+vote["operations"][0][1]["voter"])
     except:
        print()

Cycling Videos

I plan on creating a new DTube Gateway with the help of @heimindanger eventually... but for now, I will hold the most recent 1TB of videos (the newest videos) and remove the pinned backup of old videos as new ones come in. With the limited space of the laptop and not wanting to jump in with buying a massive server just yet... this will have to be my plan.


DQmdbhN3y64jrWwLXKbB19rFV1BnrHnnWnZABtn3573Yzdu.gif
1. Go to the Witness Voting Page on Steemit.com
2. Scroll to the bottom of the page and locate the vote box
vote.png
3. Type (blueorgy) in the box and click vote.

Sort:  

Hello There 😉

👍 I'll be upvoting every video posted on DTube! 🤑

Loading...

Honestly? I appreciate the intention but I don't think it does good for the Steemit ecosystem.

Thanks bro! I was wondering why you were upvoting so much, thanks again!

Hey Thanks Buddy!

what is the purpose of IPFS. ? i am newbie can you plz explain it

IPFS has a couple benefits. One is that it's a caching system for the internet, but the other half of that is that each file on IPFS is matched to a hash so it knows when it's looking for the same file. This is why it's known as the 'Permanent' web, because every time you request the same hash, you should get the exact same file.

thankx brother :) well shared.

But I did not received UPVOTE !!

Hi!, just 8 people own half the world's wealth. Be the one to start freeing yourself and your friends from the monetary dictatorship by 1) Joining and expanding Free Collaboration Networks and 2) Raising awareness about the solutions. Let's get this message to go viral! Your part is crucial, the whole world thanks you! https://docs.google.com/document/d/1vilnZIJsKZTAxEOm-zyVBT7NeVlFbmomZXezHtQsZi4/edit #RBGEsolutions #RBGE #RBE #GiftEconomy

Thanks, now i am running one with 3mbp/s upload speed and 50 gb of storage shared.
A tinny help, but is the decentralized spirit i guess ;)
soon i gonna add more gb, my disk needs a good clean up

I would absolutely share some of my 100mbs up/down to help this project. What are the chances you are willing to try to scale this down to Raspberry Pi ? If you were able to create an image, that anyone could download, and with very little effort, simply copy the image to their micro-sd card, boot the pi, make a few changes to their network settings, open a port on their router and have a d-tube load sharing device with a small footprint, low power consumption and be ready to rock?

I have ipfs on my server running. It has 2 SSD and consume 9.5 W without load. Its is fan-less server based on this board. Running on Linux mint xfce.

Wow thank You! Didnt know we have such tech avaiable.
Mayby Do overall post about what cheap low watt but powerfull enough cpus are out there to help stream Dtube, because now its easy, but when it gets popular there will be need to setup lots of comps for broadcast!

Which board is that? I can't make out the model number.

That's a really good idea. I will put it on the todo list for my PiTube project. Thanks!

Right on! Obviously, for those of us, slightly less proficient folk (from a networking perspective), it would need to be really easy to implement. As an example, I wanted to help the ToR project by offering up some bandwidth for an exit/entry node using Pi, but because there was a lack of easy to follow instructions, and total lack of an easily downloadable .img file, I could never wrangle it. Or I should say, I got frustrated and gave up.

I think that the "carrot on a stick" approach would be brilliant. In other words, you create an image that anyone can download. We download it, get the Pi up and running, and with little effort, get the node set up and able to handshake with the mothership and begin load sharing. Using some form of positive (device) ID like the mac address(?), the mothership can monitor up time for each node. Using a sliding scale of sorts, individuals with nodes running for hours, days, weeks or months at a time, are rewarded with Steem.

It seems like a wonderful way for individuals to "bet" on the system, and be rewarded for sharing their bandwidth, hardware and electricity.

Furthermore, tying the node to a user account, would also provide the ability for the mothership to monitor system "health" in a way that should a particular node go down, a bot emails the user to prompt them to reboot the node, or otherwise take action to get it back online.

Thinking a little bit further outside of the box, perhaps an app can be written that would allow the user to monitor node status and health remotely on their mobile devices, and would allow them to reboot the node remotely?

The faster these Pi and other similar devices get, the more they are potentially capable of doing.

I am so NOT technically savvy when it comes to networking particulars, but I am hip enough to waddle through easy to understand instructions, and have at least 30 Pi(2) units up and running on a daily basis at work. I use them as simple video playback devices using a version of "videolooper" on the set of the TV show I work on.

Anyway, please keep me posted. I am all about beta testing this with you as you get further along.

Respectfully,

My bud @blueorgy always ahead of the game...thanks for sharing

DTube looks very cool, have been browsing it and watching videos hosted by other steemians on there, the future is awesome!

Loading...

DTube is great we already start uploading videos in 720p and they work great, we hope for some basic features gone come soon on to the platform. Things like better profile, playlists, filters gan give much better user experience

Check our videos on @BIP131 chanell

As a new Dtuber making the switch from Youtube to Steemit and DTube, I understand that to make it more viable and robust an experience for creator and viewer alike, I will have to throw my weight in where I can. Should I begin making something off of either my Dtube or Steem Coin investments, I will use half of my proceeds to this end. I will buy a dedicated server and upgrade as I go. I need to move as well. My internet is shotty due to some lightning strikes that occurred during a storm. Lots of lines to replace and comcast dragging their feet with replacing them. Either way that is the plan. I hope to contribute more than content as soon as possible.

the link to the ipfs file is not working

I uploaded a few videos to dtube yesterday, and they won't play from anyone's cellphone. Is there a switch to set on the upload? The videos play without any problems from my laptop. If anyone can help, I surely appreciate it. Thanks!

Great job ....!!

Thank you!

very cool..thanks!

Great job friend...
Please vote my post...

nice one thanks for sharing.

Everything seems cool with dtube, just that the videos seem a bit slow to play/buffer and also my private posting key doesn't seem to work. Have you noticed/heard about such issues? TY

I'm not sure about the private posting key not working you may need to ask @heimindanger and I also haven't heard of this happening much. As for slowness this can happen on IPFS but the more the videos get decentralized and hosted on and in several different places load times would decrease.

very interesting, thanks

Hi @clumsysilverdad I just saw your post and wanted to say that I'm busting my similarly silver head about D-Tube too and managed to turn things around after I downloaded Chrome. I have a slow connection, though.

hmmm, i'm using chrome, but i'll keep checking it out... i might have an old version though, ty

Great! Hope it improves and starts loading a bit faster. I'll start uploading more! Thanks for all your hard work!!

post is very useful, IPT DTube can be installed using laptop, whether using a notebook can be installed too? please answer, because I really need to use DTube IPT. Thanks for share information

Hi @fauzi03 I'm using D-Tube OK on a Macbook - but I had to download the Chrome browser.

Ok, thanks for information

Very Nice Post sir; Voted and followed you. I want to learn from your experience on steemit.com. So kindly see my posts and vote me and follow me. As we can see our future posts. Thank you @blueorgy

Thank you I will be doing it after work today

Great! If you run into any trouble just let me know! here or on steemit.chat.

Really good your post bro

Hahaha, searching up DTube in Bing didn't come up with what I was expecting.

Exciting stuff. DTube, it seems, is going to be one of the most game-changing aspects of Steemit as we move forward. This is useful info you're providing; as soon as I'm in a country with better bandwidth, I'll be sure to hop on this particular train.

For now though, please accept my humble upvote.

really i appreciate if someone can post and explain how to enter to DTUBE I am new to try to sign up to DTUBE and dont really know how to start or sign up! marked me some kind of error to sign up with my steemit account!

So happy to support any and all projects of the @blueorgy !!

so cant we use just by using mobile ???

Not really sure I understand this question...

Seems kinda complex to me honestly XD

Wow!
Amazing i really appreciate that & now i am seeing new things are coming for the steemians.

Thanks for sharing this..

me like @blueorgy , me vote post, vote witness and resteem post

such a nice post..very usefull for me...thanks to sharing ..

Somehow it isn't working here. It just won't change my local IPFS. Did exactly what I read in your post. Is there another way to put video's to the blockchain. Can I use one of the other IPFS settings and which? Can you please help me out, I follow and upvote the post, off course.

@carlschrijft I was having probs (on Macbook w slow connection) until I switched to Chrome.

I could try that. I got it on my computer. Thank you!

It's working. Thank you so much ;)

Was going to suggest this as well! Glad to see its working

Normally, I would not promote a browser like that but if it's about shaking YT up, now that's a different story.

Does providing this service negatively affect your machine's performance, i.e., cause a high demand on CPU and bandwidth and a slowdown in other concurrent tasks? And how would suggest selling this idea to the general public as opposed to technically inclined? Otherwise a very interesting post. Thanks.

What I did is create this little python script that will up vote every video uploaded to Dtube, pinning that video onto my local IPFS.

I don't understand what that part does. What pinning means or rather accomplish. If nobody upvote a dtube post then the video would be hosted past the 7 day mark? Is that why you upvote them, pinning them to your IPFS serve?

Do you know the total volume of all video "hosted" by dtube? Is is bigger than 1TB?

As I understand this - ipfs should be the dedicated station or it could be just a service in your machine? and yes, voted :)

Thanks! Um..do you have any info you could give me for why I can upload some videos from my samsung tabS2 tablet and not others? Are there certain criteria for uploading to dtube such as file size/bit rate etc as to why some upload fine while others give me 'ipfs error failed to fetch'?

So it says that my api is not running, the first time I tried it it worked but the second time it didn't. I tried to upload my video but it did not work. Do you know how to fix that by any chance? I deleted it and then downloaded it again but it did not work.

What i like to know if the ipfs gets Incentived and it the ipfs can choose what to host and what not. I think this is a concern because of law.

As wintux said, the download link for the .zip file is not working, it redirects you to the main DTube page

Great instructions. I plan to run IPFS, too. Just need to find my way around the firewall (got my router from the internet provider).

What I have thought a lot about lately is, how scalable is IPFS? I know it is a function of the number of seeders, but will it keep up with the exponential usage of DTube?

Would I get bounty by running the IPFS node?