diff --git a/.drone.yml b/.drone.yml old mode 100644 new mode 100755 index 663e4da..d6d96f5 --- a/.drone.yml +++ b/.drone.yml @@ -1,11 +1,11 @@ -kind: pipeline -type: docker -name: default - -steps: - - name: test - image: python:3.8-alpine - pull: if-not-exists - commands: - - chmod +x prnt.sc_link_generator.py +kind: pipeline +type: docker +name: default + +steps: + - name: test + image: python:3.8-alpine + pull: if-not-exists + commands: + - chmod +x prnt.sc_link_generator.py - ./prnt.sc_link_generator.py \ No newline at end of file diff --git a/README.md b/README.md old mode 100644 new mode 100755 index ff5a52a..018d548 --- a/README.md +++ b/README.md @@ -1,21 +1,21 @@ -# prnt.sc Link Generator - -[![Build Status](https://drone.pyas.de/api/badges/Gist/prnt.sc_url_generator/status.svg)](https://drone.pyas.de/Gist/prnt.sc_url_generator) - -## Info -prnt.sc is a web frontend for third-party screenshot software that automatically uploads the user's screenshot and returns a url of the image to the clipboard -so that users can share their screenshot with others via the url. - -This is a generator that uses the url scheme to randomly search the uploaded images. - -## Requirements / Install -- Python 3 required -- No additional Modules required, only Built-ins are used - -## Usage -1. Set the 3 Variables in the Script to your desired State: - - NUMBER_OF_LINKS_TO_GENERATE: Generates X urls at a time - - URL_AUTO_OPEN: If set to True the Script opens the URLs automatically in your Browser - - CLOSE_WINDOW_AFTER: If set to True the Python Window (if run in an Desktop Environment) won't close after the Script ends (keeps open to see/copy the original url) -2. Run the Script -3. Have fun searching through random screenshots \ No newline at end of file +# prnt.sc Link Generator + +[![Build Status](https://drone.pyas.de/api/badges/Gist/prnt.sc_url_generator/status.svg)](https://drone.pyas.de/Gist/prnt.sc_url_generator) + +## Info +prnt.sc is a web frontend for third-party screenshot software that automatically uploads the user's screenshot and returns a url of the image to the clipboard +so that users can share their screenshot with others via the url. + +This is a generator that uses the url scheme to randomly search through the uploaded images. + +## Requirements / Install +- Python 3 required +- No additional Modules required, only Built-ins are used. + +## Usage +1. Set the 3 Variables in the Script to your desired State: + - NUMBER_OF_LINKS_TO_GENERATE: Generates X urls at a time + - URL_AUTO_OPEN: If set to True the Script opens the URLs automatically in your Browser + - CLOSE_WINDOW_AFTER: If set to True the Python Window (if run in an Desktop Environment) won't close after the Script ends (keeps open to see/copy the original url) +2. Run the Script +3. Have fun searching through random screenshots diff --git a/prnt.sc_link_generator.py b/prnt.sc_link_generator.py old mode 100644 new mode 100755 index 0abaa31..9ac5f48 --- a/prnt.sc_link_generator.py +++ b/prnt.sc_link_generator.py @@ -9,7 +9,7 @@ prnt.sc is a web frontend for third-party screenshot software that automatically uploads the user's screenshot and returns a url of the image to the clipboard so that users can share their screenshot with others via the url. -This is a generator that uses the url scheme to randomly search the uploaded images. +This is a generator that uses the url scheme to randomly search through the uploaded images. """ NUMBER_OF_LINKS_TO_GENERATE = 5 # generates X urls at a time