Proposal for a decentralised content addressed network that can work today on existing technology
- Setup service on cloudflare workers, or any http server with a key value store database and routing
- Request to /somefile of that trusted service: https://fountain.bevry.workers.dev/somefile
- Redirects to multiaddr: https://fountain.bevry.workers.dev/multiaddr/hash
- Returns alt-svc header of alternative hostnames that use the same file
- Returns digest header with expectations of checksum for range
- Client uses alt-svc header response to fetch ranges from other locations
- Also fetches digest range responses from alt-svc peers to verify response is correct (head requests)
- Keeps track of which hostnames returned digest responses with concurrence to trusted sources, add to their trust score
- Trust has manual verification and automatic trust scores, warnings occur on divergence
- Once range verified it can be saved locally or piped to one's own cloud provider
- Cloudflare workers can implement this with kv for small files, or piping to s3 for large files, or piping to requester for tools like curl or web browsers for local saving
- Alternatively hash.torrent can be requested to provide a torrent file with http seeds to same hosts that would be included in the alt-svc header
- .ipfs can also be provided
- Perhaps instead of .ipfs and .torrent they can be done as alt-svc protocols
- Anyone can alert of a new peer to be included and replicated by posting to the http service with the hostname and cid which if ping fails 3 times, then it is dropped
- Http servers can sync and subscribe to peer updates via braid
- Videos can also be streamed by just using HLS (open bur controlled by apple) and DASH (patented) without anything new or fancy
Royalty free codec:
- av1 for video, opus for audio, webm for container
- avif for image
Resources: