- Notifications
You must be signed in to change notification settings - Fork59
IPFS-Lite is an embeddable, lightweight IPFS-network peer for IPLD applications
License
NotificationsYou must be signed in to change notification settings
hsanjuan/ipfs-lite
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
IPFS-Lite is an embeddable, lightweight IPFS peer which runs the minimal setupto provide anipld.DAGService
and UnixFS-files addition and retrieval.
It can:
- Add, Get, Remove IPLD Nodes to/from the IPFS Network (remove is a local blockstore operation).
- Add single files (chunk, build the DAG and Add) from a
io.Reader
. - Get single files given a their CID.
It needs:
- Alibp2p Host
- Alibp2p DHT
- Adatastore, such asBadgerDB,go-ds-flatfs or anin-memory one.
Some helper functions are provided toinitialize these quickly.
It provides:
- An
ipld.DAGService
. - An
AddFile
method to add content from a reader. - A
GetFile
method to get a file from IPFS.
The goal of IPFS-Lite is to run thebare minimal functionality for anyIPLD-based application to interact with the IPFS Network by getting andputting blocks to it, rather than having to deal with the complexities ofusing a full IPFS daemon, and with the liberty of sharing the needed libp2pHost and DHT forother things.
Apache 2.0
About
IPFS-Lite is an embeddable, lightweight IPFS-network peer for IPLD applications
Resources
License
Stars
Watchers
Forks
Packages0
No packages published