Skip to main content

Command Line Utility to upload clipboard images to B2 buckets

Project description

UClip - Clipboard image uploader

Build codecov

PyPI - Python Version PyPI version

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


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 hashes)

Uploaded Source

Built Distribution

uclip-0.1.4-py3-none-any.whl (9.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page