A file storage daemon and client.
1.23 is the current version, released under the GNU GPLv3 or any later version.
usage: storge [-h] [-v] [-l] [-r REMOTE] [-d DOWNLOAD] [-u URL] [-p PASSWORD] [-D DELETE] [-V] [-P] ... Send a file to a Storge server positional arguments: FILE environment variables: STORGE_URL STORGE_PASSWORD optional arguments: -h, --help show this help message and exit -v, --version show program's version number and exit -l, --list List stored files -r REMOTE, --remote REMOTE URL to sync files from -d DOWNLOAD, --download DOWNLOAD Download file by ID; N for newest, O for oldest, A for all -u URL, --url URL Specify destination URL -p PASSWORD, --password PASSWORD Password -D DELETE, --delete DELETE Delete file by ID; N for newest, O for oldest -V, --vacuum Vacuum database -P, --pop Download and delete the oldest file
As of 1.14, storged uses a mysql/mariadb database. (Previous versions used sqlite)
To install, create a user and password with CREATE, SELECT, UPDATE and DELETE permissions on your mysql server. Add those credentials to your ~/.storged.conf, and start the server. It should create the database.
You can also add a -p / --port flag to have the server listen on a port other than the default or the port listed in the config file.
environment variables: STORGE_DATABASE STORGE_DBPASS STORGE_IPADDR STORGE_PORT STORGE_REFRESH STORGE_USER STORGE_PASSWORD STORGE_DBHOST STORGE_TITLE