Use your browser to hash files with IPFS and export them as a verifiable content-addressed archive
Content-addressed archives store data as blocks (a sequence of bytes) each prefixed with the Content ID (CID) derived from the hash of the data; typically in a file with a .car
extension.
You can import .car files into an IPFS node using the command line or the HTTP API. Doing so will verify the data and provide the files, p2p style over the IPFS network.
$ ipfs dag import <my.car>
This website does not do that. It just creates a .car file for you. If you want the full publish to IPFS from a website experience, check out https://share.ipfs.io
This website shows how you can create IPFS hashes in the browser, and export the blocks in a portable, verifiable, content-addressed archive.
The site is built with Vite, Preact, and Tachyons. If you've used React you'll pick it up fast.
Install the deps with npm
$ npm install
Run the dev server with npm start
$ npm start
> dweb.link@0.0.0 start
> vite
vite v2.1.3 dev server running at:
> Local: http://localhost:3000/
> Network: http://192.168.1.110:3000/
ready in 206ms.