Skip to main content

Upload images via APIs

Project description

images-upload-cli

Upload images via APIs

Rust: Crates.io PyPI: Version AUR: version GitHub: Release CI: Main CI: Coverage

InstallationHostingsUsageEnv Variables

Installation

# PyPI
uv tool install images-upload-cli

# AUR
yay -S images-upload-cli-bin

[!NOTE] Run with imgup.

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

Upload images via APIs

Usage: imgup [OPTIONS] <IMAGES>...

Arguments:
  <IMAGES>...  Image files to upload

Options:
  -H, --hosting <HOSTING>          Hosting service to use [default: imgur]
                                   [possible values: beeimg, catbox, fastpic, freeimage, gyazo,
                                   imageban, imagebin, imgbb, imgchest, imgur, lensdump,
                                   pixeldrain, pixhost, ptpimg, sxcu, thumbsnap, tixte, uplio,
                                   uploadcare, vgy, zpic]
  -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

FREEIMAGE_KEY=
GYAZO_TOKEN=
IMAGEBAN_TOKEN=
IMGBB_KEY=
IMGCHEST_KEY=
IMGUR_CLIENT_ID=
LENSDUMP_KEY=
PIXELDRAIN_KEY=
PTPIMG_KEY=
THUMBSNAP_KEY=
TIXTE_KEY=
UPLIO_KEY=
UPLOADCARE_KEY=
VGY_KEY=
ZPIC_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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

images_upload_cli-4.0.0a4-py3-none-win_amd64.whl (3.1 MB view details)

Uploaded Python 3Windows x86-64

images_upload_cli-4.0.0a4-py3-none-musllinux_1_2_x86_64.whl (4.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

images_upload_cli-4.0.0a4-py3-none-musllinux_1_2_aarch64.whl (3.8 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

images_upload_cli-4.0.0a4-py3-none-manylinux_2_28_x86_64.whl (4.1 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

images_upload_cli-4.0.0a4-py3-none-manylinux_2_28_aarch64.whl (3.8 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

images_upload_cli-4.0.0a4-py3-none-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file images_upload_cli-4.0.0a4-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.0a4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 ff8a5ccc2eddc4dcc1e3882c5157b90f802a0d618332f0961303c5c03206df27
MD5 4a1ce608d5361de7339a96529870edb9
BLAKE2b-256 139ef6e4865d4c32a85aa2c7336bee9551256a693ece7e2c719adec75dbe4fd9

See more details on using hashes here.

Provenance

The following attestation bundles were made for images_upload_cli-4.0.0a4-py3-none-win_amd64.whl:

Publisher: main.yml on deadnews/images-upload-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file images_upload_cli-4.0.0a4-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.0a4-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e0d55ee6a7e867a58a36d43a3529f927b7ab92d708ca21ef9b4086d938e905c8
MD5 fff4a9b07ad7c59880739c4e3e4f13d0
BLAKE2b-256 9f093812e24845f388d224059c774acd3058322d25609b41c5a9298520c36501

See more details on using hashes here.

Provenance

The following attestation bundles were made for images_upload_cli-4.0.0a4-py3-none-musllinux_1_2_x86_64.whl:

Publisher: main.yml on deadnews/images-upload-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file images_upload_cli-4.0.0a4-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.0a4-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a0894a8cc4912b4cfaa34a33321ee2e780e3febb29987fe546f262014c6bb187
MD5 7abda63a019ffa210d867d8ab71e7159
BLAKE2b-256 21256a2ccc88eb54ea1e15ac5186b29732771c3145da5dd13931235e7b1c05ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for images_upload_cli-4.0.0a4-py3-none-musllinux_1_2_aarch64.whl:

Publisher: main.yml on deadnews/images-upload-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file images_upload_cli-4.0.0a4-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.0a4-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b51085572ebfd32fd5d0eb90dc8d34dfa1839742c036ad65f0adc9f8b21737f1
MD5 eb1ba485c57b956d40103810a33ca83f
BLAKE2b-256 8eb1c4bcf723f9d708f433bbdc257497271381cb96366de62b966fd069c51301

See more details on using hashes here.

Provenance

The following attestation bundles were made for images_upload_cli-4.0.0a4-py3-none-manylinux_2_28_x86_64.whl:

Publisher: main.yml on deadnews/images-upload-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file images_upload_cli-4.0.0a4-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.0a4-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bc577c11503e5e312fcea0de24bb3662bc98e0180f4ff45d98d12ee3363ee1bc
MD5 8770bf7bb4f7b2bb61634b9338633b58
BLAKE2b-256 e00f94f9915e02ae1f3a5cbc3c10a2fd0494fdd8390888c5a09ba351c5ee8f14

See more details on using hashes here.

Provenance

The following attestation bundles were made for images_upload_cli-4.0.0a4-py3-none-manylinux_2_28_aarch64.whl:

Publisher: main.yml on deadnews/images-upload-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file images_upload_cli-4.0.0a4-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.0a4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 53cf91974fae27fb9e71c6ead38c13a5e2f7fe5ff73526b60ec4c456973e6dbd
MD5 84ac6b6c161bf05f827ee18e9e781473
BLAKE2b-256 a0cfcd9f24b2970092771e60fbb53dad6481a52c63a20820978aa710ba9cad1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for images_upload_cli-4.0.0a4-py3-none-macosx_11_0_arm64.whl:

Publisher: main.yml on deadnews/images-upload-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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