Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.
/ env.cloudy Public archive

Dead-simple tool to handle screenshot sharing from Linux.

License

Notifications You must be signed in to change notification settings

rarescosma/env.cloudy

Repository files navigation

Cloudy

Dead-simple tool to handle screenshot sharing from Linux.

It:

  • watches a directory for new images
  • uploads any new image to a remote server through rsync-ssh
  • infers the URL of the uploaded image
  • shortens the URL using bit.ly
  • copies the short URL to the clipboard
  • displays a notification

Check out the sample configuration for a list of configuration keys you need to provide.

Installing

Option 1 - download a static binary

Head over to the releases page and download a tarball containing a statically built binary.

Option 2 - build and install locally

Clone the repo.

Install pyenv and Python 3.12:

pyenv install $(pyenv install --list \
 | sed 's/^[[:space:]]*//' | grep '^3.12' \
 | sort --version-sort | tail -1)

Generate a one-file PyInstaller executable and copy it to ${HOME}/bin:

make && make install