Skip to main content

CLI client for lufi service

Project description


pylufic is a command line tool which allow to interact with Let's Upload File (Lufi) instances, that is to download and upload client-side encrypted files.


Lufi is a web-application allowing client-side encrypted file transfers between users. Hence you don't have to trust the service provider to protect your data.

However Lufi works in a web browser, like Firefox or Chormium. When you don't want to run a full-featured graphical web browser on your machine to use it, you need a command line.

pylufic is a python implementation of a Lufi CLI, useful for those who already have Python in their environments.


pylufic use the same software libraries as the Javascript version - websocket client and Standford Javascript Cryptography Library (SJCL) - but in their python implementations.



Be sure to have Python 3.6+ installed.

Git clone this repo (or download as zip) :

git clone && cd pylufic

Optionally, create python virtual environment :

python3 -m venv .venv && . .venv/bin/activate

Pip install requirements (use sudo if not in a venv) :

pip install -r requirements.txt

If you want to test libraries, run :

./ && ./


pylufic uses baker library which provide inline help




./ file service_url

You may use "" (consider donation).


./ url

Be aware a file is opened in the current directory in append mode with the name provided in the metadata of the transfer.


To delete a file use link provided by upload function.

An example using curl :

curl -s -S '<shortid>/<token>' | html2text


pylufic handles only one file at a time ; no multi-files upload or download.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pylufic, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size pylufic-1.0.1-py3-none-any.whl (4.8 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page