snipp-gg/ShadowPlay
snipp-shadowplay
Installation
watchdog, requests, pyperclip, colorama.
Configuration
- Get your API Key: Visit the Snipp Console and generate a key.
- Set your API Key as an environment variable:
- Command Prompt
- PowerShell
- Config file
Getting started
Once installed and configured, run:~/Videos folder for new .mp4 files. When a clip is saved by ShadowPlay, it is automatically uploaded to Snipp and the shareable URL is copied to your clipboard.
How it works
- File detection — Watches the
~/Videosdirectory (recursively) usingwatchdogfor new.mp4files. - Completion wait — Waits for the file to finish being written to disk before uploading.
- Upload — Sends the clip to the Snipp API as a multipart upload with
unlistedprivacy. - Clipboard — Copies the returned URL to your clipboard via
pyperclip.
Limits
- Maximum file size: 1 GB
- Supported format:
.mp4 - Privacy: uploads default to unlisted
Error handling
Errors are printed to the console with colour-coded messages:| Colour | Meaning |
|---|---|
| Blue | Informational (startup, file detected) |
| Yellow | Warnings (file still processing) |
| Green | Success (uploaded with URL) |
| Red | Errors (upload failed, file too large) |

