Since ipfs can host static website, can we put the entire dynasty reader on ipfs to save bandwidth. I am pretty sure dynasty reader is a static website.
For example :https://ipfs.io/ipfs/Qmdv8EgowTAcJrUzRRzwC4yQ8S95PJH1MEr61R76bagufe?filename=dynasty-scans.com
To port the entire website to ipfs, read :http://docs.ipfs.io.ipns.localhost:50002/how-to/websites-on-ipfs/single-page-website/
I can't host it for everyone and it is going to be down when my computer turns off, you have to seed it for yourself @Dynasty-san
if people visit this website through ipfs after they installed it, ipfs will cache the website forever and seed it for other people until it has more than 10 GB of content (by default) and the garbage collector will clean it. (by default. ipfs pin is also available)
This means even if people are not visiting your website if they had ipfs install after reading this, and ipfs runs on their computer and they don't put a lot stuffs in ipfs, they will automatically seed yuri pictures and hyper text for others who are visiting.
it's not going to be easy, dynasty has forums has accounts, so this needs to be seperated out from ipfs hosted content for now since ipfs doesn't natively support dynamic contents yet (efforts are being made in their repository). Also CORS for your api to localhost origins is another thing to pay attentions to, while ipfs-desktop by default enables CORS to allow all origin to call its api through get (you should add POST in the config too because a lot of its http-api works only in POST method for me), your api needs to allow origion :localhost for the website (which will be on localhost in the url when people are visiting the website resolved through local ipfs node --they will also need to install ipfs-companion or use brave browser) to talk to the api.
last edited at Dec 9, 2021 11:40AM