
What is the project about?
Dtube is a video plateform based on the steem blockchain that store videos on IPFS. Because most of users doesn't use ipfs. Dtube is a central point that will store content on IPFS node.
Dtube community support is a bot that will "listen" for new dtube content for a specific steem tag and store the video on a local IPFS node. Plus it stores metadata about dtube content like tittle (steem post) / video size / permlink / author. The main goad is to persist dtube content of your favorite community on IPFS.
DCS will retrieve 480p videos. if not availble, it will retrieve the source file.
############# QmdbQfcu2u53XAsM8Rsea3srLjmZ31gzF7QJRhPVHR1MYj detected
QmdbQfcu2u53XAsM8Rsea3srLjmZ31gzF7QJRhPVHR1MYj not already stored
############# QmdbQfcu2u53XAsM8Rsea3srLjmZ31gzF7QJRhPVHR1MYj added to node
Author : itharagaian
Title : Robocraft : Mode bagarre
Permlink : un5zv7p4
Link : /busy/@itharagaian/un5zv7p4
Size : 209846889
Date : Sat Mar 10 2018 14:20:36 GMT+0100 (CET)
############# QmdbQfcu2u53XAsM8Rsea3srLjmZ31gzF7QJRhPVHR1MYj metadata stored
technology stack
The bot itself is a nodeJS app. it uses the following modules :
- steemjs (to get IPFS hash / metadata)
- ipfs-api (to connect on ipfs node and pin content)
IPFS must be installed manualy on the same host.
Installation / Configuration / Start
Install
Clone the repo
cd ./dtube-community-support
npm install
Configure
In default configuration, DCS will check for francophone videos. You can change that by modifying "tags" in config.js file. "tags" is an array, you can add many tags in order to support multiple communities.
Run
npm start
Roadmap
Some Metadata are stored on a DB. In future version, I would like to add the following features :
- list all videos that have been added to the node
- manually add videos
- delete specific videos
Link
https://github.com/evildido/dtube-community-support
Posted on Utopian.io - Rewarding Open Source Contributors