Upload images via APIs
Project description
images-upload-cli
Upload images via APIs
Installation
PyPI
pip install images-upload-cli
# or
pipx install images-upload-cli
AUR
yay -S python-images-upload-cli
Hostings
host | key required | return example |
---|---|---|
beeimg | - | https://beeimg.com/images/{id}.png |
catbox | - | https://files.catbox.moe/{id} |
fastpic | - | https://i120.fastpic.org/big/2022/0730/d9/{id}.png |
filecoffee | - | https://file.coffee/u/{id}.png |
freeimage | - | https://iili.io/{id}.png |
gyazo | + | https://i.gyazo.com/{id}.png |
imageban | + | https://i2.imageban.ru/out/2022/07/30/{id}.png |
imagebin | - | https://ibin.co/{id}.png |
imgbb | + | https://i.ibb.co/{id}/image.png |
imgchest | + | https://cdn.imgchest.com/files/{id}.png |
imgur | - | https://i.imgur.com/{id}.png |
lensdump | + | https://i.lensdump.com/i/{id}.png |
pixeldrain | - | https://pixeldrain.com/api/file/{id} |
pixhost | - | https://img75.pixhost.to/images/69/{id}_img.png |
ptpimg | + | https://ptpimg.me/{id}.png |
smms | + | https://s2.loli.net/2022/07/30/{id}.png |
sxcu | - | https://sxcu.net/{id}.png |
telegraph | - | https://telegra.ph/file/{id}.png |
thumbsnap | + | https://thumbsnap.com/i/{id}.png |
tixte | + | https://{domain}.tixte.co/r/{id}.png |
up2sha | + | https://up2sha.re/media/raw/{id}.png |
uplio | + | https://upl.io/i/{id}.png |
uploadcare | + | https://ucarecdn.com/{id}/img.png |
vgy | + | https://i.vgy.me/{id}.png |
Usage
Usage: images-upload-cli [OPTIONS] IMAGES...
Upload images via APIs.
Options:
-h, --hosting [beeimg|catbox|fastpic|filecoffee|freeimage|gyazo|imageban|imagebin|imgbb|imgchest|imgur|lensdump|pixeldrain|pixhost|ptpimg|smms|sxcu|telegraph|thumbsnap|tixte|up2sha|uplio|uploadcare|vgy]
[default: imgur]
-b, --bbcode Add bbcode tags.
-t, --thumbnail Add caption thumbnail and bbcode tags.
-n, --notify Send desktop notification via libnotify.
-c, --clipboard / -C, --no-clipboard
Copy result to clipboard. [default: c]
--version Show the version and exit.
--help Show this message and exit.
Env variables
CAPTION_FONT= # The default font is system dependent.
FREEIMAGE_KEY=
GYAZO_TOKEN=
IMAGEBAN_TOKEN=
IMGBB_KEY=
IMGCHEST_KEY=
IMGUR_CLIENT_ID=
LENSDUMP_KEY=
PTPIMG_KEY=
SMMS_KEY=
THUMBSNAP_KEY=
TIXTE_KEY=
UP2SHA_KEY=
UPLIO_KEY=
UPLOADCARE_KEY=
VGY_KEY=
You can set these in environment variables, or in .env
file:
- Unix:
~/.config/images-upload-cli/.env
- MacOS:
~/Library/Application Support/images-upload-cli/.env
- Windows:
C:\Users\<user>\AppData\Roaming\images-upload-cli\.env
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
images_upload_cli-2.0.2a6.tar.gz
(10.8 kB
view details)
Built Distribution
File details
Details for the file images_upload_cli-2.0.2a6.tar.gz
.
File metadata
- Download URL: images_upload_cli-2.0.2a6.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44e5f1a56cf44dfb7ebe9bd0e87bcc0786e36d1d2d68df708b7bae0662cbadbf |
|
MD5 | ca3229053c471cdfd0adfe4161205b15 |
|
BLAKE2b-256 | 80bc5e3d0cac63bd2e6545967dda4c8817c58c9cdde45fb668a0bbca99819877 |
File details
Details for the file images_upload_cli-2.0.2a6-py3-none-any.whl
.
File metadata
- Download URL: images_upload_cli-2.0.2a6-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73dc6a084ebbf625d0dc7a9ac2b4addb6192c6f8eaa86490ba3054e11006c8b1 |
|
MD5 | a54dc70bdb7a45b86ec7fb2c4a53394b |
|
BLAKE2b-256 | 433e322a35152676f8040c6d20143366caba841f07fd74cc1d83c76abf5f5f44 |