This is a custom server for the screen shot tool Lightshot.
Download the latest build here and run the jar file.
Example command line arguments:
java -Xmx100M -jar LightShotServer-VERSION.jar host=example.com port=8080 https=false pageValid=validPage.html pageInvalid=invalidPage.html
host
: Your host name. (String)port
: Your port. (Integer)https
: Whether to use https or not. (Boolean)pageValid
: File path of the page which will be shown when a user requests to see an existing (valid) image (String)pageInvalid
: File path of the page which will be shown when a user requests to see a non existing (invalid) image (String)logCons
: (Optional) Sets whether connections should be logged or not (Boolean)
- You need to have the Lightshot tool installed.
- Open your
hosts
file. (Windows:%windir%\system32\drivers\etc\hosts
) - Add this line:
127.0.0.1 upload.prntscr.com
(replace127.0.0.1
with the ip of your server) - Restart the Lightshot task (and reload your hosts file if needed)