You might be interested in Arweave or IPFS:
Arweave network is like Bitcoin, but for data: A permanent and decentralized web inside an open ledger. [0]
The InterPlanetary File System (IPFS) is a decentralized protocol, hypermedia, and peer-to-peer (P2P) network for distributed file storage and sharing. The shadow libraries Anna's Archive and Library Genesis host books via IPFS. [1]
[1] https://en.wikipedia.org/wiki/InterPlanetary_File_System
If I remember correctly IPFS alone won't guarantee that the file will be around.