Fetches from Filecoin, every time
Lassie is a simple retrieval client for Filecoin. It finds and fetches your data over the best retrieval protocols available. Lassie makes Filecoin retrieval.
Unless you are developer, the simplest way to install Lassie is to download a binary for your machine from the Lassie releases page
Alternatively, you can clone the repository and build from source by running:
go build ./cmd/lassie
The simplest way to use lassie it to just run the CLI with the fetch
command:
lassie fetch <CID>
This will output to a CAR file with the name of the CID in the current directory.
For additional command options and parameters, use the --help, -h
CLI option.
An HTTP server to fetch content over HTTP can also be started via the daemon
command.
$ lassie daemon
The HTTP specification doc outlines the request and response formats.
For additional command options and parameters, use the --help, -h
CLI option.
Early days PRs are welcome!
This library is dual-licensed under Apache 2.0 and MIT terms.
Copyright 2022. Protocol Labs, Inc.