logik.li

screenie

screenie is a small perl script that takes a screenshot, uploads it to a remote server, runs a local command, runs a remote command, and then prints the URL for quick linking.

Releases

Installation

One needs merely to extract the perl script from the tarball and place it somewhere it can be run from. However, you will also need a program to actually take the screenshot. I recommend import from ImageMagick.

Configuration

Configuration is handled by editing variables at the top of the script itself. All the variables undergo interpolation, so it is possible to refer to the other perl variables that appear above the current variable in the file. One example would be to use $filename when printing the URL, or uploading the image to the remote server.

Usage

Once you have the script somewhere you can run it, probably $PATH, then you can just run

screenie img.png

And enter your password when prompted. However, if screenie is used in conjunction with keychain (or just ssh-agent), it is possible to have a completely automated screenie experience.

License

screenie is released under the MIT/X Consortium License. A copy of the license can be found in the release tarballs.

© 2009 logik.li & Norsefire   England Prevails!