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

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=

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

This version

4.0.0

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.28+ ARM64

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

File metadata

File hashes

Hashes for images_upload_cli-4.0.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b24bba9aee14f266d1b0a4b68019c57b377bf7ab92d43c351e5e68d84695d2d4
MD5 0e9091c488c3f91af1bbb17f0c28abe2
BLAKE2b-256 d92dda5ac66f004c6800b545d5356d9eb78cc184300ea53bc103e8c8990dc21c

See more details on using hashes here.

Provenance

The following attestation bundles were made for images_upload_cli-4.0.0-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.0-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 569850f28ad269f652b469330fba14eb9835d442d27ca4d8ed5edb84896a3e63
MD5 2289f04d97f709fde124ad51d3c1e503
BLAKE2b-256 662c6e5269ca03bebe6aa311a03b5208ad38f31a7fa90669874b4316f89cb7fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for images_upload_cli-4.0.0-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.0-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1f5fc911fa80169e202b22ac1786b12d27e5c7ea4e9b132824b1fe68ce28ae05
MD5 fb886d178a74243e6ed9db1c611295a4
BLAKE2b-256 20474c542d22cf4fc0838e0b81c5a0f75ed741452eaf36febafcd80fdcba3e64

See more details on using hashes here.

Provenance

The following attestation bundles were made for images_upload_cli-4.0.0-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.0-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.0-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d4bf793ada54b75274cdd32cd091ac1b4061fc4571a8e2c41149422abfd8867f
MD5 ca420c3e0dfe7979c645b2aba58ab54b
BLAKE2b-256 70b24995b647e2201c7811ad8b073a530b890de639a757cfaac1b348172dfd44

See more details on using hashes here.

Provenance

The following attestation bundles were made for images_upload_cli-4.0.0-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.0-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.0-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 85fab278999955f670ba87f7cd99511d28ffd3f97e0f983fe198a3111b25b6b8
MD5 414fe6925652b45237d2fd4b235db843
BLAKE2b-256 8b4a51a01079174978b740ad5c2f527da5198130587cfbc08dcf59d77365595a

See more details on using hashes here.

Provenance

The following attestation bundles were made for images_upload_cli-4.0.0-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.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cc4d566dbedec92a7968fac39c70df7bf335da6cb893ac26d445183ff4cf8d8a
MD5 0b924fcdd1527004aaea0870eaf049c6
BLAKE2b-256 587bf0b01531aebd1881451206f4cf3cb27a2603f9dd1b17d10e24c2c147809c

See more details on using hashes here.

Provenance

The following attestation bundles were made for images_upload_cli-4.0.0-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