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

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@blueorgy·
0.000 HBD
My Local DTube IPFS is Up & Running (1TB) - Help Decentralize DTube!
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](https://steemitimages.com/DQmV7FufVgNxTaWxZg1Lp6VKNA6xb8PMggF5AqXkeBmExGB/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 #
<sub>How to install IPFS for DTube</sub>

- <a href='http://dtube.video/DTube_files/go-ipfs.zip'>Download IPFS 4.10 for Windows</a>
- 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.
<sub>Upvote your favorite authors to help serve and decentralize the videos!</sub>

### 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.

<hr>
<center>

<a href='https://steemit.com/~witnesses' target='_blank'>![DQmdbhN3y64jrWwLXKbB19rFV1BnrHnnWnZABtn3573Yzdu.gif](https://steemitimages.com/DQmdbhN3y64jrWwLXKbB19rFV1BnrHnnWnZABtn3573Yzdu/DQmdbhN3y64jrWwLXKbB19rFV1BnrHnnWnZABtn3573Yzdu.gif)</a>
<sub>1. Go to the <a href='https://steemit.com/~witnesses' target='_blank'>Witness Voting Page</a> on Steemit.com</sub>
<sub>2. Scroll to the bottom of the page and locate the ***vote box***</sub>
![vote.png](https://steemitimages.com/DQmUHVDWoi7dCHw8PxPVhYSG6oyiaWFScTZtZV2CKiJP4w1/vote.png)
<sub>3. Type (**blueorgy**) in the box and click vote.</sub>

</center>
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,