A simple tool to take screenshots and upload them.
This project is maintained by niklas-heer
simpleShot is a simple tool to take quick screenshots and upload them so that you can share them easily.
Often the dependencies are already installed on your system, but maybe you also need to install them:
sudo pacman -S xclip imagemagick
sudo apt-get install xclip imagemagick
After that's done installing simpleShot is easy:
curl -s https://git.io/vPtHi | sh
There is not much to configure but if you want to upload to an FTP server you need to edit your config file at ~/.simpleShot.gcfg.
It should look like this:
[ftp]
url = http://screens.your-server.org/with/folder/
server = your-server.org
path = path/to/files
port = 21
user = youruser
pw = yourpassword
Note:
path is only needed if you don't want to save the files in the root directory of your web-server!
The command line interface:
$ simpleShot -h
NAME:
simpleShot - Takes a screenshot, uploads it via FTP and copies the url into your clipboard!
USAGE:
simpleShot [global options] command [command options] [arguments...]
VERSION:
0.2.0
AUTHOR:
Niklas Heer - <niklas.heer@gmail.com>
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--select, -s Select the area for the screenshot.
--upload, -u Reads the credentials under ~/.simpleShot.gcfg and uploads it.
--quiet, -q Don't notify me!
--debug, -d Enable debugging.
--name-length, --nl "6" Choose the length for the name generator.
--name-alphabet, --na "alphanum" Choose the alphabet for the name generator.
--folder, -f "screenshots" Choose the directory where the screenshots are saved. (e.g. /home/nh/screenshots)
--type, -t "jpg" Choose the format of the screenshot. (png, jpg...)
--help, -h show help
--version, -v print the version
path on the web-server was added to the .simpleShot.gcfg file. This parameter is optional!--upload -u flag. If debugging of the FTP connection is needed.--debug -d flag was added to easily display debugging messages. Probably only interesting for developing this tool.--format -f flag to --type -t.--directory -d flag to --folder -f.initial release.