Documentation Index
Fetch the complete documentation index at: https://docs.snipp.gg/llms.txt
Use this file to discover all available pages before exploring further.
snipp-gg/ShadowPlay
snipp-shadowplay
Installation
watchdog, requests, pyperclip, colorama.
Configuration
- Get your API key. Generate a key from your account settings.
- 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 color-coded messages:| Color | Meaning |
|---|---|
| Blue | Informational (startup, file detected) |
| Yellow | Warnings (file still processing) |
| Green | Success (uploaded with URL) |
| Red | Errors (upload failed, file too large) |

