Upload images via APIs
Project description
images-upload-cli
Upload images via APIs
Installation
pip install images-upload-cli
or
pipx install images-upload-cli
Hostings
host | key required | return example |
---|---|---|
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 |
geekpic | - | https://s01.geekpic.net/{id}.png |
gyazo | + | https://i.gyazo.com/{id}.png |
imageban | + | https://i2.imageban.ru/out/2022/07/30/{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 |
pictshare | - | https://pictshare.net/{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 |
screenshotting | - | https://screenshotting.site/i/{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 |
up2sha | + | https://up2sha.re/media/raw/{id}.png |
uplio | + | https://upl.io/i/{id}.png |
uploadcare | + | https://ucarecdn.com/{id}/img.png |
Usage
Usage: images-upload-cli [OPTIONS] IMAGES...
Upload images via APIs.
Options:
-h, --hosting [catbox|fastpic|filecoffee|freeimage|geekpic|gyazo|imageban|imgbb|imgchest|imgur|pictshare|pixeldrain|pixhost|ptpimg|screenshotting|smms|sxcu|telegraph|up2sha|uplio|uploadcare]
[default: imgur]
-b, --bbcode Add bbcode tags.
-t, --thumbnail Add thumbnails and bbcode tags.
-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.
BEEIMG_KEY=
FREEIMAGE_KEY=
GYAZO_TOKEN=
IMAGEBAN_TOKEN=
IMGBB_KEY=
IMGCHEST_KEY=
IMGUR_CLIENT_ID=
PTPIMG_KEY=
SMMS_KEY=
UP2SHA_KEY=
UPLIO_KEY=
UPLOADCARE_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
Built Distribution
Close
Hashes for images-upload-cli-0.3.0a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8e7bf314558f76cb486cf964fe82569ca35aa9817b97ad7225759a27f198e11 |
|
MD5 | f860b28d20ddb51f22486d150416d8cd |
|
BLAKE2b-256 | 68749628a8004a737d152893dbfee3af6c19201a45a49c23facf1f21f3b9dd5c |
Close
Hashes for images_upload_cli-0.3.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ad2d9e11b85d18773b5436551d23d1838c43bcf1d4cddbc2a82b58275679b51 |
|
MD5 | a4e37152aa51c601b3cf6136901daf58 |
|
BLAKE2b-256 | 3bffb3a0c94d5be8a735eda106e7728a5b174c71da1d323afe13085b36ceac21 |