Basic Droplr implementation for Linux written in Bash.
Currently, Droplr has no native Linux client besides browser extensions (Chrome only).
The advantage of this script is its completely agnostic. You can use any screenshot software, recording software, or simply drop files and it will process them for you.
There are two modes to this script described below.
Will watch a set directory for new files (created or moved into the directory).
It will then upload to your Droplr account and copy the share URL to your clipboard.
This will grab the latest file in the set directory and upload to your Droplr account and copy the share URL to your clipboard.
First, you'll need the following libraries:
inotify-tools
(required) For watching the directorycurl
(required) For sending cURL commandsjq
(required) For paring the responseffmpeg
(optional) If you plan on having videos converted for younotify-send
(optional) To send notification to desktop
Next, create a file $XDG_CONFIG_HOME/droplr-bash/config
(ex: ~/.config/droplr-bash/config
) with the contents corrected from ./config.sample
in this repo.
chmod +X droplr
Will watch continuously and upload on-demand of seeing a new file.
Run droplr watch screenshots
.
Run droplr watch screencasts
.
Will grab the latest file and upload it directly.
Run droplr screenshots
.
Run droplr screencasts
.
Setup a keyboard shortcut for screenshots...
Super + Shift + S
for screenshots, mapped todroplr screenshots
Super + Shift + V
for screencasts, mapped todroplr screencasts