Command Line Utility to upload clipboard images to B2 buckets
Project description
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.
Windows | MacOS | Ubuntu LTS 20.04 |
---|---|---|
Credential locker | Keychain | Secret Service |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
uclip-0.1.4.tar.gz
(8.8 kB
view details)
Built Distribution
uclip-0.1.4-py3-none-any.whl
(9.0 kB
view details)
File details
Details for the file uclip-0.1.4.tar.gz
.
File metadata
- Download URL: uclip-0.1.4.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.7 Linux/5.15.0-1020-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f27d905eb01f7044ca6ebd1660b9d9771f57873680840bbdbd82194515b74163 |
|
MD5 | 209c71164ed5a7d799b400a2e4f0eeff |
|
BLAKE2b-256 | fc2ff8cf460167d8cdc9084e4a52e600b898fb25fbd15c78264c1e704e9beb91 |
File details
Details for the file uclip-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: uclip-0.1.4-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.7 Linux/5.15.0-1020-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 198dfad08c948b131687d5d8dffefbed7d9e1c76e9a0096b61fe6424ebcbc1ce |
|
MD5 | 3c8c5c815a36cdbc2e9ba136ad7ac670 |
|
BLAKE2b-256 | 28454a425d1606cf9e71f1808b15e968b86dac7b2a642f6ccb73b35781cbc9ed |