558 points · by WhiteRiceWill · 8y ago · 192 comments
But from all I can tell this is just a good old website. Somebody has control over the domain name. Points it to servers of his choice. And the servers deliver content of his choice. What's decentralized about it?
We don't need the domain, you can take the https://github.com/dtube/production repository, ipfs add -r it on ipfs, and use DTube this way -> https://ipfs.io/ipfs/QmRWPnY8h7Eg4v74GtKT6UBy2kUAN139QwYPUrg... (few bugs but it works apart from /home not being rendered on first load, you need to click the logo)
What is decentralised:
- The website (its fully static and can be hosted on ipfs)
- The video storage (IPFS)
- The account system / commenting / voting / subscribing (when you do that, it directly creates the transaction on the blockchain)
What isnt decentralised:
- The upload endpoints (upldr*.d.tube). You can legitimately avoid it if you have a local IPFS node running and you add files yourself, however it's really not convenient for users.
- The search endpoint (asksteem.com). This is used for the search, tags browsing, and related videos.
- Server side rendering stuff for robots only (we enabled that recently)
P.S: I am the founder of DTube
By removing the certbot role from the ansible config and adding a locally running debian 9 vm as a upldr host in the inventory file.
You can run the ansible script and it will provision a full upldr node, you'd then have to edit your local hosts file to point upldr1,2,3,4,5&6 to the IP of the VM.
Then running your local copy of dtube any uploads will be sent to those nodes will be processed on the upldr host you created.
This is all untested but it should work fine, nginx might throw some cors issues but those are easily remedied.
I've been meaning to try it out for a while but life has been doing its thing
https://github.com/dtube/deploy
P.S. I do ops things for DTube.
the popularity of this thread on hackernews makes it obviously needed, and im quite certain with our popularity we would get quality pull requests from the community
But search (discoverability) is precisely where one of the biggest problems with YouTube lies. The trouble is that YouTube has enormous power over content creators by its centralized search portal only.
Discussion: https://news.ycombinator.com/item?id=15528942
But yes I agree. Us controlling related videos and the search engine, is basically the same as YouTube. If we want to make a video popular, we can, and that's bad.
Sadly decentralised search for DTube would be a very interesting project, but not something we are willing to spend months of developer time on. If we ever see a good enough decentralised solution for search, we will adopt it, even if it reduces our quality a little.
We have our own gateway that we use for pictures (snap1.d.tube).
These IPFS gateways are a bit like a CDN system. The same file will load through any gateway. example https://ipfs.io/ipfs/Qmb14Qr2Jk55SDu3dtUNccZw7GDpzCHa8VeoZok... is the same as https://snap1.d.tube/ipfs/Qmb14Qr2Jk55SDu3dtUNccZw7GDpzCHa8V... or through any IPFS gateway.
Long term we plan to get rid of these gateways, by using js-ipfs in our player. Works, but not really stable as of my last try (memory leaks that cause the tab to crash after X minutes). With js-ipfs (native javascript IPFS node), we can load files directly from all nodes that have the file pinned, without going through gateways.
Also if you run ipfs locally and use the localhost:8080 gateway, then it's also going full p2p.
you can even mount ipfs as a readonly filesystem and cat that hash and get the content.
Once you've managed to connect to a node you can usually explore the topology of the network and find other peers so you only need the centralized resource temporarily to bootstrap new nodes. I'm not too familiar with IPFS but I imagine it works in a similar way.
So most parts of it could at their core be used in a distributed fashion, but are actually accessed via CDNs. E.g. you could use ipfs-companion[0] to alter all instances of ipfs.io URLs to point to a local IPFS daemon that is connected to the IPFS network in a distributed fashion.
I did just that and streamed a video on DTube via a local IPFS daemon and the result was pretty underwhelming, since it took quite some time for the video to load, but I don't dare to evaluate why that is so. After that it does have the nice benefit though that the same video streams instantly on any other machine in my home network!
In a transitional phase to a distributed web I'd expect a lot of websites to employ a similar approach of using CDNs at first (since not everybode has local nodes running), but its sad to see that some of the flagship projects like DTube aren't even open source (and I have no idea if they ever plan to be) and/or have a distributed version available.
Could be that you just started the IPFS node and it didn't really have any time yet to connect to a large enough number of peers.
But yeah, as you said, the benefit is that after the fetch from the internet backbone, the content now lives much closer for the next time.
Disclaimer: I work for Protocol Labs on IPFS
PS: Keep up the great work on IPFS!
I'd like to think so, but a more cynical take is that efforts like this to trade on 'distributed' will either (and most likely) fail or, if they do get traction, ditch the distributed backend once it's served its purpose as a selling-point to attract early adoption.
However, until DTube release a client so that the network can build, it's just a centralized video platform using IPFS and STEEM as storage backends. Unless clients are made available, it might as well use S3 and Postgres.
1. the content text and meta data is on the STEEM blockchain 2. Dtube is storing the videos etc on IPFS
so by reading the STEEM blockchain, we can get the content even without DTUBE.
Dtube is an app, just another one to talk to the STEEM blockchain and they make revenue by taking a small part of the revenue from the content creators.
The video content comes from ipfs - if you run a local node and install the browser extension to redirect requests from gateway.ipfs.io to your local node - then you have no dependence upon a single service.
HTML for a DApp, and IPFS, connect to a local Ethereum node. The local node uses a P2P (decentralized) connection[^3] to the Ethereum network. It therefore relies on the availability of the network, but not of any single org. (Your ISP can still disconnect you, though, at the physical layer or several other layers.)
[1^]: https://en.wikipedia.org/wiki/Cross-origin_resource_sharing
[2^]: https://github.com/ethereum/wiki/wiki/JavaScript-API
[3^]: https://github.com/ethereum/devp2p/blob/master/rlpx.md
What I'm saying is that a dapp can be contained into your .html and query the different APIs or the Ethereum network via your own clients/nodes.
You download Google Chrome. For all you know it's phoning home all your passwords to Google in a way they can decrypt and they can empty your bank account.
Similarly, as a user, contributing upvotes, comments, etc. nets you a curation reward, but this comes in trickles mostly unless you lease your steem power to vote bots.
Also worth noting that the whole steem platform on the currency end of things is completely centralized, so if that matters to you, this is important to know.
This is a central Youtube-like clone it seems. I can't scale in bandwidth and has a central governance model.
Plus the coin is worthless: "The number of Steem available is set to double annually, making its supply growth exponential - a possible drag on its future value in the market" https://www.investopedia.com/news/steemit-disruptive-blockch...
"IPFS is cool, but there is no magic. Someone needs to seed the files, and your browser cannot permanently store huge files (local storage is limited to 50MB on most browsers), so seeding through the app directly is not possible as of today. " (https://steemit.com/video/@heimindanger/introducing-dtube-a-... thnx ForkLDing).
Disclaimer: working for 13 years on an academically-pure Bittorrent-based decentralised solution with my university lab.
As far as I can tell - and I'm sure there's a lot I've misunderstood - STEEM is essentially a market for on-line influence. You gain STEEM for upvotes etc. and the more STEEM tokens you have (STEEM Power), the more influence you have in terms of who gets STEEM tokens.
Now, this sounds kind of pyramid-y to begin with, but without significant inflation, such a system would seem doomed to form an oligopoly of a few users who, by virtue of their "STEEM Power" would gain an ever-increasing share of the tokens minted, pushing everyone else out and probably killing the whole ecosystem. Of course, that may still happen even with inflation.
Unlimited money creation is never sustainable, history shows. An online attention coin can't change economics. The future of television probably is not build on a high inflation economy or destructive hyperinflation. https://scholar.google.com/scholar?q=high+inflation+~economy
There is a lot more you need to read and that is ok, you barely have any understanding of the fundamentals.
People are able to allocate their steempower to other users. If large accounts are misbehaving, small and medium sized accounts band together to make it stop, it is mutually assured destruction. Anyone can band together with anyone else and allocate power from their account to someone else. The super majority of people are good natured and want free speech and band together to combat against abusive/bad actors, of which there is only a handful on steemit and there is no issue at all
Also the supply is not set to double every year, this source is completly outdated. This model was changed more than a year ago. Current inflation rate is 9.5% per year, reducing by 0.5% per year until it reaches 1% per year (I believe)
The coin isn't worthless at all... It's publicly traded at around 3$ today on many exchanges.
Lastly the quote about IPFS is mine, and I actually believe we will be able to make people seed the video they are currently watching through our embed player soon, thanks to the progress of js-ipfs.
Also, I don't think I need to mention the fact that Steem is not a coin for trading (even though it has 3 sec transactions and literally 0 transaction fees thanks, again, to DPOS), so the big initial inflation that will slow down by a big margin every year is potentially good for the coin.
Thus, the importance of community. We all yearn for a return to the era of community-oriented sites, built by enthusiasts and maintained by the life-force of real people, whose intentions are not commercial in nature but rather community oriented.
So, I look forward to the eventual retiring of this heinous term, "whales". It is the community that matters.
In other words, is it reasonable to expect STEEM to not primarily attract those with commercial intentions?
Its not unreasonable to give people - no matter whether their intentions are commercial or otherwise - a means of safe exchange of value, without commercialising that exchange. Or, is it?
The trouble with the current way "influence" or money is distributed in STEEM blockchain is that, 2 - 3 whale accounts has more influence and means to influence the entire community even if the entire community stands together.
Though I am hopeful that this will be addressed by the EOS's community project.
It's a strictly technical solution to the problem of video hosting centralization.
Depending on your point of view it might be a good, bad or neutral thing.
In my opinion, it's good that we first try to have a solution that is first proven to work and then try to think about how (or if we should) integrate a remuneration system to the solution.
Much thanks!
EDIT: Nevermind, found it, link below:
https://steemit.com/video/@heimindanger/introducing-dtube-a-...
The DTube FAQ answer for "Where does the money come from" just says "The STEEM blockchain keeps printing new STEEM everyday. These new printed STEEM are given out as rewards." I'm hoping there's more to it than that, but I couldn't find what the mechanism for bringing value into the STEEM ecosystem is.
As far as I can tell, users of DTube don't pay anything to watch videos, or to comment, or to like videos, but their likes determine who gets paid on the STEEM blockchain. So who buys STEEM tokens and why?
"Every day, the Steem blockchain mints new STEEM tokens and adds them to a community's "rewards pool". These tokens are then awarded to users for their contributions, based on the votes that their content receives. Users who hold more tokens in their account as "Steem Power" will get to decide where a larger portion of the rewards pool is distributed."
A fresh account will give like 0.002 per vote, while my account with 5000 Steem gives about 2$ per vote.
Also, people who vote get 'curation rewards' from the system. Depending on how early you voted and helped discovered a content, you get rewarded for it, even if it's only a small share, it adds up
Imagine if Facebook used a crypto for their ads instead of money. And you gain money back from people who like your ad making the ad cheaper or even profitable.
In order to have visible advertised content, advertisers need to buy STEEM in order to vote on it and gain visibility.
See 8chan for instance: I really like the blend of reddit's flexibility (where anybody can create their own board) coupled with 4chan-style anonymity and lack of karma/upvotes etc...
Unfortunately 8chan became the destination for the generally super far-right 4channers who were too extreme even by 4chan standards. It's like 4chan's 4chan if you will. With such a reputation good luck convincing people to join your knitting-themed board on 8chan.
Similarly, Dailymotion is reputed for porn/NSFW/copyrighted content not available on Youtube and Voat is like 8chan but for redditors.
> Regardless of your opinions on the subject it's a bad thing for the platform [DTube]
I don't agree. If DTube becomes associated with the far right, which by the way is totally jumping to conclusions at this early stage, and if that then becomes a profitable niche for them, then I'd argue they have a legitimate business.
Compare it all to something like MSNBC vs Fox News. Both are quite successful, running political content for people at different points on the ideological spectrum. While it's true that the viewers of one probably find the other's viewers disgusting and deplorable, I fail to see how that's a problem from a business standpoint.
Now, if you're talking conspiracy theories, that's totally different, and still not a problem, for many who believe in free expression, regardless if they're interested or not.
Well people still advertise on Reddit next to T_D and other nutjob subreddits. Unfortunately.
Tor, Monero, etc all suffer from basically the same problem. Ultimately, if you value freedom from censorship, you shouldn't let the association with others who share that value (though perhaps for different, less noble reasons than you) bother you. Otherwise no platform that has that property will ever take off.
Is the desire for freedom from censorship even actually a problem?
That's what I use youtube for now.
By the way, you'll find that kind on Youtube and Facebook, too. I hope you avoid both of them. Best avoid Google all together, because they own Youtube and are guilty by association.
Ah I see, DTube is based upon IPFS, while peertube relies upon good ol' BitTorrent directly (though IPFS uses BitTorrent too?)
[1] https://steemit.com/faq.html#What_is_the_difference_between_...
https://d.tube/#!/v/anonyhack/3w9xsp8j
https://www.youtube.com/watch?v=XEBWtbhq0Ts
Can anything be done to prevent or deter this?
Other than maybe leaving comments on the page?
That is, if I upload a video of a cat doing some funny thing I'll get more tokens (potentially) that with a super technical video.
Meanwhile, incentivizing popular stuff doesn't take anything away from you or your content. You're not being penalised, so why complain?
Thanks for pointing that! I didn't though of it this way. To be honest, my fear is that this platform could turn possibly in some sort of niche. Right now, popular content is about X, so if I want to make quick profits, I'll create a video about X. More people will join and do the same.
I'm sure there are ways to fix that like giving people incentives for posting in unpopular topics. Potentially, each topic could be its own market!
> You're not being penalised, so why complain?
Not complaining at all for now. Just sharing my current thoughts! If I join a social media, I'd love to have diversity of content and opinion. I think in STEEM that could be hard, as it is in Reddit unless you subscribe to unpopular ones. Not a 100% bad thing though!
Again not trying to be harsh, but I feel that the UI, in this stages looks a little bit too much like youtube, giving it a cheap feel, that makes it a bit hard to sell to "normal" people.
And oh, I feel that having three decimals on the earnings looks a bit weird to me. Isn't two decimals enough? Say $116.688 is hard for my brain to parse either it's 116 dollars and 68.8 cents or maybe it's around 1 million dollars???
Edit: Please tell me why the downvotes.
It's rather old (2016-08) but at a quick glance it appears to be correct and still relevant.
And there isn't much we can do about that, it's the same case as when someone gets seeded on torrent. You can find the nodes seeding a particular content by doing ipfs dht findprovs <hash> , then you get their ips and you go after them legally.
Disclaimer: I work for Protocol Labs on IPFS
Just one request. I love the YouTube JKL control keys. Any chance you could implement this on D-Tube?
"Big cities are like financial slave camps - Take a break at the Zenvow Meditation Resort - All crypto Meditation Resort in Portugal" (of course this is crazy, but harmless—at least initially)
I would also like to know what solution has been proposed for that problem.
Steem power is very illiquid and takes time to "power down" the steem power into steem. Steem is the main currency, which you trade on the markets (along with Steem dollars).
Delay aside, it’s all the author’s.
Plus, YouTube is only going to get worse for small creators, as Google tries to cater more and more to the big companies and punish the creators for "advertiser-offensive content". Meanwhile, d.tube should get better and better as both it and STEEM (the tipping mechanism) rise in popularity.
The nice part is the creators don't even have to give-up YouTube to try out d.tube. They can just upload the video to both and see for themselves what's the difference.
but I haven't looked into it closely and could easily be remembering incorrectly or have misunderstood.
The pause button is broken on Android Firefox, though. :)
True story