Skip to content

Demo storage client for archival video data

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

filecoin-project/starling

Repository files navigation

Starling

A command-line interface for simplified, coordinated, decentralized storage on the Filecoin network. This is a work in progress and is not yet production-ready. Use at your own risk.

Requirements

Starling CLI requires a machine running a Filecoin Lotus node and NodeJS v10.16.0 +

Development

To run locally

> npm install

During development it’s convenient to make the symlink on our path point to the index.js we’re actually working on, using npm link.

> npm link

Test by running

> starling <command>

database

Starling uses an sqlite3 database. The db is created in HOME/.starling/starling.db

API Address Config

Starling uses the Lotus configuration files for getting the API's url and authorization token (~/.lotus/api and ~/.lotus/token). Please make sure that an authorization token with admin permissions has been generated beforehand (lotus auth api-info --perm admin)

Starling will use the optional FULLNODE_API_INFO variable in case it has been set.

Commands

Modify the config file HOME/.starling/config.json

> starling config

Store a single file

> starling store full/path/to/file

Store a folder

> starling store full/path/to/folder

Launch interactive monitoring interface

> starling monitor

// up/down keys: scroll through the list
// ^S sort by size, ^V sort by filename
// ^F: filter all files

Generate a CSV report of all files stored

// outputs file in the working directory
> starling list

// outputs file in the specified directory
> starling list <path>

Generate a CSV report of file fixity

// outputs file in the working directory
> starling verify

// outputs file in the specified directory
> starling verify <path>

Output the version number

> starling --version | -v

Output usage information

> starling --help | -h | help

> starling [command] --help

About

Demo storage client for archival video data

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published