lassie

module
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2023 License: Apache-2.0, MIT

README

Lassie

Fetches from Filecoin, every time

Table of Contents

Overview

Lassie is a simple retrieval client for Filecoin. It finds and fetches your data over the best retrieval protocols available. Lassie makes Filecoin retrieval.

Install

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
Using
Fetch Command

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.

HTTP Daemon Command

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.

Contribute

Early days PRs are welcome!

License

This library is dual-licensed under Apache 2.0 and MIT terms.

Copyright 2022. Protocol Labs, Inc.

Directories

Path Synopsis
cmd
pkg
eventrecorder/filelogserver
A simple HTTP server that receives EventRecorder events and writes them, as line-delimited JSON to an output file.
A simple HTTP server that receives EventRecorder events and writes them, as line-delimited JSON to an output file.
retriever/combinators
Package combinators contains tools to put various retrieval components together to make full retrievers
Package combinators contains tools to put various retrieval components together to make full retrievers
retriever/coordinators
Package coordinators contains retrievers that coordinate multiple child retrievers
Package coordinators contains retrievers that coordinate multiple child retrievers

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL