Upload images via APIs
Project description
imgup
Upload images via APIs
Installation • Hostings • Usage • Env Variables
Installation
# PyPI
uv tool install images-upload-cli
# AUR
yay -S imgup-bin
Hostings
| host | key required | return example |
|---|---|---|
| beeimg | - | https://beeimg.com/images/{id}.png |
| catbox | - | https://files.catbox.moe/{id} |
| cloudinary | + | https://res.cloudinary.com/{cloud}/image/upload/{id}.png |
| fastpic | - | https://i120.fastpic.org/big/2022/0730/d9/{id}.png |
| freeimage | + | https://iili.io/{id}.png |
| gofile | - | https://gofile.io/d/{id} |
| gyazo | + | https://i.gyazo.com/{id}.png |
| imageban | + | https://i2.imageban.ru/out/2022/07/30/{id}.png |
| imagekit | + | https://ik.imagekit.io/{id}/img_{id}.png |
| imgbb | + | https://i.ibb.co/{id}/image.png |
| imghippo | + | https://i.imghippo.com/files/{id}.png |
| imgbox | - | https://images2.imgbox.com/52/8c/{id}_o.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 |
| postimages | + | https://i.postimg.cc/{id}/img.png |
| ptpimg | + | https://ptpimg.me/{id}.png |
| sxcu | - | https://sxcu.net/{id}.png |
| thumbsnap | + | https://thumbsnap.com/i/{id}.png |
| tixte | + | https://{domain}.tixte.co/r/{id}.png |
| uplio | + | https://upl.io/i/{id}.png |
| uploadcare | + | https://ucarecdn.com/{id}/img.png |
| vgy | + | https://i.vgy.me/{id}.png |
| zpic | + | https://zpi.cx/b/{id}.png |
Usage
Usage: imgup [OPTIONS] <IMAGES>...
Arguments:
<IMAGES>... Image files to upload
Options:
-H, --hosting <HOSTING> Hosting service to use [default: imgur]
[possible values: <hostings list from above>]
-f, --format <FORMAT> Output format for the links [default: plain]
[possible values: plain, bbcode, html, markdown]
-t, --thumbnail Create captioned thumbnails
-n, --notify Send desktop notification on completion
--no-clipboard Disable copying the result to the clipboard
--env-file <ENV_FILE> Path to .env file. Overrides default config path
-j, --jobs <JOBS> Max concurrent uploads [default: 4]
-v, --verbose... Increase verbosity (-v for info, -vv for debug)
-h, --help Print help
-V, --version Print version
Env Variables
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
FREEIMAGE_KEY=
GYAZO_TOKEN=
IMAGEBAN_TOKEN=
IMAGEKIT_PRIVATE_KEY=
IMGBB_KEY=
IMGHIPPO_KEY=
IMGCHEST_KEY=
IMGUR_CLIENT_ID=
LENSDUMP_KEY=
PIXELDRAIN_KEY=
POSTIMAGES_KEY=
PTPIMG_KEY=
THUMBSNAP_KEY=
TIXTE_KEY=
UPLIO_KEY=
UPLOADCARE_KEY=
VGY_KEY=
ZPIC_KEY=
These can be set as environment variables or in a .env file:
- Unix:
~/.config/imgup/.env - MacOS:
~/Library/Application Support/imgup/.env - Windows:
C:\Users\<user>\AppData\Roaming\imgup\.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 Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file images_upload_cli-4.0.2-py3-none-win_amd64.whl.
File metadata
- Download URL: images_upload_cli-4.0.2-py3-none-win_amd64.whl
- Upload date:
- Size: 3.2 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9c8f6d888514822e3e64ad544a1817d300822ae11327b420c9e922142900abc
|
|
| MD5 |
9c27f6d23e4f22317d8d4f7262f952ac
|
|
| BLAKE2b-256 |
cb3d03eba9e0b85b1bd48b20852491ffe8a34f6d3062c1a64e668e5b85ff62cb
|
Provenance
The following attestation bundles were made for images_upload_cli-4.0.2-py3-none-win_amd64.whl:
Publisher:
main.yml on deadnews/imgup
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
images_upload_cli-4.0.2-py3-none-win_amd64.whl -
Subject digest:
c9c8f6d888514822e3e64ad544a1817d300822ae11327b420c9e922142900abc - Sigstore transparency entry: 1243650388
- Sigstore integration time:
-
Permalink:
deadnews/imgup@23c8b09734e9e605b5904b73ba3e841525fd4668 -
Branch / Tag:
refs/tags/v4.0.2 - Owner: https://github.com/deadnews
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@23c8b09734e9e605b5904b73ba3e841525fd4668 -
Trigger Event:
push
-
Statement type:
File details
Details for the file images_upload_cli-4.0.2-py3-none-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: images_upload_cli-4.0.2-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 4.2 MB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7a8835bc09cf5962f7cfd9343dc65f46a3b05f6f332ca83d648c3321462395f
|
|
| MD5 |
2c9eff8b2e3df35f69e151cb4832615b
|
|
| BLAKE2b-256 |
ac1c1a59250582ec4ba0af2e624153599eba0fbe9d4590596d0d9c7fdd5124e6
|
Provenance
The following attestation bundles were made for images_upload_cli-4.0.2-py3-none-musllinux_1_2_x86_64.whl:
Publisher:
main.yml on deadnews/imgup
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
images_upload_cli-4.0.2-py3-none-musllinux_1_2_x86_64.whl -
Subject digest:
b7a8835bc09cf5962f7cfd9343dc65f46a3b05f6f332ca83d648c3321462395f - Sigstore transparency entry: 1243650414
- Sigstore integration time:
-
Permalink:
deadnews/imgup@23c8b09734e9e605b5904b73ba3e841525fd4668 -
Branch / Tag:
refs/tags/v4.0.2 - Owner: https://github.com/deadnews
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@23c8b09734e9e605b5904b73ba3e841525fd4668 -
Trigger Event:
push
-
Statement type:
File details
Details for the file images_upload_cli-4.0.2-py3-none-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: images_upload_cli-4.0.2-py3-none-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 3.9 MB
- Tags: Python 3, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e33a3cddfb81e0501f6179f14fd3b5d3673aa97ce70f6a37d52c971758494752
|
|
| MD5 |
5bc0d46da1bcf4c364a09f0ab1b1c52b
|
|
| BLAKE2b-256 |
96e5a01e51f8cfbd519f9db8fcccb77558102556e08f52881dc0e6fcb7394178
|
Provenance
The following attestation bundles were made for images_upload_cli-4.0.2-py3-none-musllinux_1_2_aarch64.whl:
Publisher:
main.yml on deadnews/imgup
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
images_upload_cli-4.0.2-py3-none-musllinux_1_2_aarch64.whl -
Subject digest:
e33a3cddfb81e0501f6179f14fd3b5d3673aa97ce70f6a37d52c971758494752 - Sigstore transparency entry: 1243650320
- Sigstore integration time:
-
Permalink:
deadnews/imgup@23c8b09734e9e605b5904b73ba3e841525fd4668 -
Branch / Tag:
refs/tags/v4.0.2 - Owner: https://github.com/deadnews
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@23c8b09734e9e605b5904b73ba3e841525fd4668 -
Trigger Event:
push
-
Statement type:
File details
Details for the file images_upload_cli-4.0.2-py3-none-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: images_upload_cli-4.0.2-py3-none-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 4.2 MB
- Tags: Python 3, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e7bf13ea8b0ff211701eb1d7cfcefc6af37f44fa57c209d6a30962867c6420b
|
|
| MD5 |
7ac0ec1bbc96e8f8feef027c57e5cc71
|
|
| BLAKE2b-256 |
729ee8a123249c36744f151bff75fae6bcba253618e5f160edbfd0f627f001fe
|
Provenance
The following attestation bundles were made for images_upload_cli-4.0.2-py3-none-manylinux_2_28_x86_64.whl:
Publisher:
main.yml on deadnews/imgup
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
images_upload_cli-4.0.2-py3-none-manylinux_2_28_x86_64.whl -
Subject digest:
6e7bf13ea8b0ff211701eb1d7cfcefc6af37f44fa57c209d6a30962867c6420b - Sigstore transparency entry: 1243650366
- Sigstore integration time:
-
Permalink:
deadnews/imgup@23c8b09734e9e605b5904b73ba3e841525fd4668 -
Branch / Tag:
refs/tags/v4.0.2 - Owner: https://github.com/deadnews
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@23c8b09734e9e605b5904b73ba3e841525fd4668 -
Trigger Event:
push
-
Statement type:
File details
Details for the file images_upload_cli-4.0.2-py3-none-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: images_upload_cli-4.0.2-py3-none-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 3.8 MB
- Tags: Python 3, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ac435120cc63bb0906dcd5d3103e236b0eda8d4def871350512b5b9b9233025
|
|
| MD5 |
f721ed3beea2692a4141dfe56453636e
|
|
| BLAKE2b-256 |
9f5cebc86a78c8dd329af0f7726e1ede373290980e01b3e40bdac56bb3f6fc11
|
Provenance
The following attestation bundles were made for images_upload_cli-4.0.2-py3-none-manylinux_2_28_aarch64.whl:
Publisher:
main.yml on deadnews/imgup
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
images_upload_cli-4.0.2-py3-none-manylinux_2_28_aarch64.whl -
Subject digest:
8ac435120cc63bb0906dcd5d3103e236b0eda8d4def871350512b5b9b9233025 - Sigstore transparency entry: 1243650340
- Sigstore integration time:
-
Permalink:
deadnews/imgup@23c8b09734e9e605b5904b73ba3e841525fd4668 -
Branch / Tag:
refs/tags/v4.0.2 - Owner: https://github.com/deadnews
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@23c8b09734e9e605b5904b73ba3e841525fd4668 -
Trigger Event:
push
-
Statement type:
File details
Details for the file images_upload_cli-4.0.2-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: images_upload_cli-4.0.2-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.2 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f28b82a82f606134ed0cb765bb81471bf8f1baf33951511703b92ab62848c096
|
|
| MD5 |
453187723ab9f17fa6b1a4d81b882730
|
|
| BLAKE2b-256 |
1c6fcc0a465c969f7bacc5492acc4ce4d77dc8ad3b598d88198d9a932ce1d47d
|
Provenance
The following attestation bundles were made for images_upload_cli-4.0.2-py3-none-macosx_11_0_arm64.whl:
Publisher:
main.yml on deadnews/imgup
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
images_upload_cli-4.0.2-py3-none-macosx_11_0_arm64.whl -
Subject digest:
f28b82a82f606134ed0cb765bb81471bf8f1baf33951511703b92ab62848c096 - Sigstore transparency entry: 1243650296
- Sigstore integration time:
-
Permalink:
deadnews/imgup@23c8b09734e9e605b5904b73ba3e841525fd4668 -
Branch / Tag:
refs/tags/v4.0.2 - Owner: https://github.com/deadnews
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@23c8b09734e9e605b5904b73ba3e841525fd4668 -
Trigger Event:
push
-
Statement type: