UClip - Clipboard image uploader
Upload clipboard images to B2 buckets
After upload, the displayed URL is also copied to the clipboard.
Install via pip or pipx
pipx install uclip
Usage
1. Upload clipboard image
> uclip
✅ https://img.example.org/screens/9felsH.jpg
2. -f
or --file
: Upload file from path
> uclip -f /Documents/dog.webp
? Generate random file name? Otherwise use name from path. Yes
✅ https://cdn.ionite.io/img/ik8tZg.webp
3. -d
or --delete
: Delete named file from bucket
> uclip -d 9felsH.jpg
🗑️ Deleted 9felsH.jpg
Run --config
to set up your B2 API Keys and URL
> uclip --config
? B2 Application ID: 0013770e41044120000000001
? B2 Application Key: **********************
? B2 Bucket Name: bucket-name
? B2 Upload Path in Bucket: /screenshots/
? Alternate URL: https://img.example.org/
? File Name Length: 6
The OS Keychain Service is used for secure API credential storage
The keychain can be set to always allow, or via biometric authentication by Touch ID or Windows Hello.