bootlegger is the command-line Python interface for Speakeasy, the paranoid file storage solution.
pip install bootlegger
or clone the repo and run
python setup.py install
Create a folder in your home directory called .bootlegger. In this folder, generate private and public RSA keys called user_private.pem and user_public.pem, respectively. This can be accomplished using openssl.
cd ~/.bootlegger openssl -genrsa -out user_private.pem 2048 # add -des3 if you want a passphrase openssl rsa -pubout -in user_private.pem -out user_public.pem
Create a file in the .bootlegger folder called bootlegger.conf. Add the following information
[speakeasy] host = www.example.com username = testuser
Replace the values with your desired host and username.
To add your public key to the server, run
To upload a file, run
bl upload file.txt
To list all files on the server, run
To download a file run
bl download file.txt
To get detailed information about a file, run
bl info file.txt
To share a file with another user, run
bl share otheruser file.txt