- Introduction
For the last few years Storj Labs has continuously strived towards producing better code and tools that are easier to use, have more functionality, security and increased performance. Currently two main CLI packages released by Storj exist which can be used to interact with the Storj network (e.g. uploading, downloading, streaming). The first package that was released was core-CLI), which is a JavaScript tool written on top of NodeJS to interact with the network. Although core-CLI is still fully functional, is has currently been surpassed by
Libstorj, a new library and CLI written in the C programming language By Braydon Fuller and Alexander Leitner. Below are some bullet points on the advantage and disadvantage of Libstorj compared to core-CLI.
Advantages
Does not require extra disk space to upload a file.
Low memory consumption.
Much faster encryption and hashing speeds.
Does not require the installation of any dependencies.
More secure by using the seed for file and bucket encryption instead of keyring.
All keys are encrypted.
Disadvantages
It currently has less build-in functionality than core-CLI.
Although core-CLI has more functionality at the moment, Libstorj is still in the Alpha pre-release phase and many more functions will be added in the near future. In this guide we will walk through the process of (1) Downloading and running Libstorj, (2) Exporting an account from core-CLI and importing it into Libstorj, (3) Registering a new user with Libstorj, (4) Encryption keys path and
working with multiple bridge accounts, (5) Adding a bucket, uploading and downloading a file, (6) Deleting a buckets or files within a bucket, (7) Listing mirrors, (8) Streaming an audio or video file, (9) Exporting the decrypted keys, (10) Exploring the additional Libstorj options and commands, (11) Connecting to a different bridge, (12) Configure billing to upload/download beyond the free tier limit.
https://docs.storj.io/docs/libstorj-getting-started#section-1-introduction