Skip to main content

Upload images via APIs

Project description

imgup

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

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

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.0a6-py3-none-win_amd64.whl (3.1 MB view details)

Uploaded Python 3Windows x86-64

images_upload_cli-4.0.0a6-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.0a6-py3-none-musllinux_1_2_aarch64.whl (3.8 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

images_upload_cli-4.0.0a6-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.0a6-py3-none-manylinux_2_28_aarch64.whl (3.8 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

images_upload_cli-4.0.0a6-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.0a6-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.0a6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5de36566c03463201d8e31ff45ee593c8718786dea7c5b6273a6515b23548fe5
MD5 dd45dd21cec503cd4db726d729cf6bac
BLAKE2b-256 7a393f6175af5fa6a25420e5be73ba7f7eed2e90b11e597cd867a5b1b65d0ff4

See more details on using hashes here.

Provenance

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

Publisher: main.yml on deadnews/imgup

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.0a6-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.0a6-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 08a3ccb69f87140255c56b51fc9659a270614ee20270d07ead30e8c624265c50
MD5 3bd4cbb4309a8d61ddd9a85fa31bae06
BLAKE2b-256 af167725881d05a51fdcc8f3b72a29b1c7d9807a0164c881ace66312247318ab

See more details on using hashes here.

Provenance

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

Publisher: main.yml on deadnews/imgup

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.0a6-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.0a6-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e8503d3e6fcbd41131296f2d46450938213a96e43b1cd209ea5cd159ecc118b0
MD5 d9d1262eb89dcf6830ffba885bd8ecfd
BLAKE2b-256 ed0d977dcf56666ffe7371090894b59c394448202423f6547408f7b7047deb74

See more details on using hashes here.

Provenance

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

Publisher: main.yml on deadnews/imgup

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.0a6-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.0a6-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a8ca5d5f2bb1a97830a32494f12173e0dda4714d86014aa3dd81c66058a8b096
MD5 2f001377c5b0899200efabacf1f07adf
BLAKE2b-256 58dd6c87aa734edef67d56cf6b52f0e3a93be712a5642c86265839dca342c5af

See more details on using hashes here.

Provenance

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

Publisher: main.yml on deadnews/imgup

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.0a6-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.0a6-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 401a68cd13205fdcb091c4aa45c9a54293643e403dda90c3630c9ebca9ee490d
MD5 25da251a61a39a97671dd4f027755e7f
BLAKE2b-256 7d08f5c106d8a1d27ae1b6fc3bdd87e35cafd32e97b74fe19d97ec3ff0f0fe60

See more details on using hashes here.

Provenance

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

Publisher: main.yml on deadnews/imgup

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.0a6-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.0a6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d8de06f7eb015afe66c3b845c28c390f406d2017c3edd850de05323c0e98c6dd
MD5 bd8b8f528c8354520da8bf544ecab8fd
BLAKE2b-256 2dead11909852a215d1b81a71531aa7ee76b8965f2510fbf241f1aa9f495c6f5

See more details on using hashes here.

Provenance

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

Publisher: main.yml on deadnews/imgup

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