/githubpics

MAC ONLY. This if for the convenience of writing with markdown: Automatically upload image from clipboard to Github and send back URL address.

Primary LanguagePythonApache License 2.0Apache-2.0

MAC ONLY.

This if for convenience of writing markdown notes:

  • Send screenshots to github and get the raw url,
  • then paste in markdown file as a permanent image link.
  • BTW, it has minimum logging and error control.

REQUIREMENT:

pip install pyobjc        # FOR MAKING IT PYTHONIC WAY
brew install pngpaste     # FOR CALLING COMMAND LINE TOOL
brew install osascript    # TERMINAL TOOL FOR RUNNING APPLESCRIPT

CONFIGURATION: ​ - Github repository address ​ - Github Personal Access Token