项目作者: olizilla

项目描述 :
Use your browser to hash files with IPFS and export them as a verifiable content-addressed archive
高级语言: JavaScript
项目地址: git://github.com/olizilla/ipfs-content-addressed-archiver.git
创建时间: 2021-05-26T15:20:52Z
项目社区:https://github.com/olizilla/ipfs-content-addressed-archiver

开源协议:MIT License

下载


IPFS Content Addressed Archiver ✨📦

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.

  1. $ 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.

Getting started

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

  1. $ npm install

Run the dev server with npm start

  1. $ npm start
  2. > dweb.link@0.0.0 start
  3. > vite
  4. vite v2.1.3 dev server running at:
  5. > Local: http://localhost:3000/
  6. > Network: http://192.168.1.110:3000/
  7. ready in 206ms.

Homepage

screen shot of homepage