How to replace puush.sh and similar services with a self hosted (via SFTP) variant
Requirements / Software::
Steps:
You should now be able to take screenshots using Greenshot, uploaded to your server and with the links available in your clipboard. Enjoy
Requirements / Software::
Steps:
- On your server create the /var/www/image directory (mkdir /var/www/), ensure that the www-data has permission to write to this directory (chown www-data:www-data /var/www/image). Also ensure that the www-data has a login password (passwd www-data)
- Download winscpupload.txt from https://gist.github.com/splitice/9563002. Install this on your filesystem. Note the path as you will need to provide it in the bat file. Replace the connection details in this script to match your server.
- Download winscp.bat from https://gist.github.com/splitice/9562983. Install this to your system, ensure all the values are set including the path to both WinSCP and the upload script.
- Select configure external commands from the Greenshot context menu
- Add a new External command -
Command: {PATH_TO}\winscp.bat
Argument: "{0}"
- On your server install nginx. nginx can be found in most distribution repositories.
- Download the contents of https://gist.github.com/splitice/9564538 into /etc/nginx/conf.d/image-hosting.conf or a sites-available directory as appropriate,
You should now be able to take screenshots using Greenshot, uploaded to your server and with the links available in your clipboard. Enjoy
Last edited by a moderator: