Hacker News new | ask | show | jobs
by nannal 3038 days ago
Upload endpoints can be decentralised if you're willing to put a little effort in.

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.

1 comments

How do you suggest decentralizing the upload endpoints without forcing users to install IPFS locally?
The upload endpoints come with their own ipfs nodes, it's how the file gets added to the ipfs network.

You could put the file into ipfs via another method and then using the upload feature of DTube specify the hash, so if someone is willing to let you upload to their node then you can do things that way.