3 ms·
Cloudflare are kindly hosting [1] a free HTTP gateway for the IPFS [2] network. So I can host an image myself on a server with IPFS, and Cloudflare will cache i
by bscphil 6y ago
Cloudflare are kindly hosting [1] a free HTTP gateway for the IPFS [2] network. So I can host an image myself on a server with IPFS, and Cloudflare will cache it for me. This is better than Imgur because the latter has been redirecting users to annoying "social" pages with ads instead of showing them the actual image, at least in some cases. I also can't be sure whether Imgur recompresses your uploads or not - I assume they usually do.
It's also more generally useful because I can host other files too, not just images.
[1] https://www.cloudflare.com/distributed-web-gateway/ https://www.cloudflare.com/distributed-web-gateway/
[2] https://ipfs.io/ https://ipfs.io/
- javajosh 6y agoIs hosting the image yourself, on like a $5 Digital Ocean Droplet and a $10 personal domain, out of the question? This would seem to be the ideal situation in terms of simple, decentralized file hosting solution. What are the downsides of this approach? (I can imagine a server package that can modify index.html sub-resource URLs depending on current server load, preferring private, locally hosted sub-resources but willing to use 3rd party solutions like Cloudflare, too, if required by a black swan event.)
- bscphil 6y agoOut of the question? No. As convenient as running one command on a desktop computer? Also no. > the ideal situation in terms of simple, decentralized file hosting solution Not sure what you mean by "decentralized" if you are in fact hosting it yourself. > What are the downsides of this approach? Well, for the casual person it has the obvious downside that you have to have your own VPS. Most people don't have those. Even if you do, IPFS has a couple of advantages: you can host images anonymously, and anyone anywhere in the world can "pin" the image to make sure it stays live. If you're using a server and you forget to pay DO your $5 one month, all your images go poof into the ether.
- svnpenn 6y agoI keep getting 524 errors when trying to access files I uploaded. What am I doing wrong?
- StavrosK 6y agoThere's also https://imgz.org https://imgz.org, that doesn't have annoying social stuff (I made it specifically for that!).