| A good old website? No. 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.