A lightweight, High-DPI aware screenshot utility that resides in the system tray and allows you to quickly upload standard region screenshots directly to your configured GitHub Repository using the Alt+S global hotkey.
Before using the upload function, you must configure your GitHub credentials:
- Create a GitHub Personal Access Token (PAT) with
reposcopes. - Open
config.jsonin the application folder and set:GITHUB_TOKEN: Your personal access tokenGITHUB_REPO:username/reponameGITHUB_BRANCH:main(or whichever branch)UPLOAD_FOLDER: The destination folder (e.g.screenshots)
- Minimalist System Tray Icon: Provides an unobtrusive way to manage lifecycle.
- Global Hotkey (
Alt+S): Instantly captures screen regions anywhere on the device. - High-DPI Aware: Ensures precise capture boundaries even on scaled Windows 11 displays.
- Action Overlay: Prompts users post-capture to either "Copy" to clipboard or "Upload".
- GitHub Hosted: Uploads image straight to a GitHub repository of your choice.
- Instant Hotlink Copy: Uploads image and automatically copies the raw
raw.githubusercontent.comlink to clipboard, displaying a rich Windows 11 Toast notification upon completion.
Make sure you have Python 3.9+ and pip installed.
- Create a virtual environment:
python -m venv venv call venv\Scripts\activate - Install dependencies:
pip install -r requirements.txt
- Run the tool:
python main.py
You can build a standalone executable that doesn't require Python on the target machine using PyInstaller.
- Open PowerShell or Command Prompt.
- Ensure you are in your activated virtual environment.
- Install PyInstaller:
pip install pyinstaller
- Build the executable parameter:
Note: Providing
pyinstaller --noconfirm --onefile --windowed main.py
--windowedhides the standard console window during execution, keeping it a pure background tray application.--onefilecompiles it all into one convenient '.exe'. - Navigate to
distto find the compiledmain.exe. Make sure to placeconfig.jsonnext to the.exeso it can authenticate uploads.