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

FREEIMAGE_KEY=
GYAZO_TOKEN=
IMAGEBAN_TOKEN=
IMGBB_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

This version

4.0.1

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

Uploaded Python 3Windows x86-64

images_upload_cli-4.0.1-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.1-py3-none-musllinux_1_2_aarch64.whl (3.9 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.28+ ARM64

images_upload_cli-4.0.1-py3-none-macosx_11_0_arm64.whl (3.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file images_upload_cli-4.0.1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 698f4f85d330c28d04db2e203ddcb1011b6d7e479fc30ac2c520df14e0c9e123
MD5 ea249250035fc3a842b39a1c802d6f32
BLAKE2b-256 f06bf01da7e6610c98524747ce6d0ce7941fa450fc056194439e4a594f9af012

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for images_upload_cli-4.0.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 baece5040825df94ca8ae8c4ca4f511c10cd4cbad26b6aa89ae6ddb4b5eedf4a
MD5 91bd7d96bce1a18e4da98d9ccb421647
BLAKE2b-256 98d159401eaa08bbe56343b1a03212aeec9d42fdf3cad2dde673d16b294e4b79

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for images_upload_cli-4.0.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 cb88cd303061d10b2772197da86304337312973fe518ec59db67a5edc2af07c7
MD5 99d3b2ed5e05656df7aa215ea9241bec
BLAKE2b-256 c0526d62e5f990c04b67989150ba9dde53643ec896a5ca29f6fec046679dcb3a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for images_upload_cli-4.0.1-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 09ca40c01cea87c8aa75baf1b81b1bb1cf706eb4a1296b293455984de2c5fc02
MD5 430970819baa433f32ebad418c7ae949
BLAKE2b-256 3a0089301c3f862a3c5f376716b2c53283137fe9f52608c15a544c9bb615a071

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for images_upload_cli-4.0.1-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5105a9a798cdc01d8a58cb3dc77d795ca23ddd13773d1fa359264edbfd86563b
MD5 ed815a077290704e61a875be37cca539
BLAKE2b-256 162559eea2a26eb6e508ffe489ab167fd89c502d77b4101b811d1c8dbb2309f0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for images_upload_cli-4.0.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 377aef34add7e033ea72282f73b646f5b6c0fc82b4908eeb4ac4b0ce691df90b
MD5 323be86810b612edbc4c57893e14541d
BLAKE2b-256 f8155e4489f8c08f1f3fcca5dac67d18c4cfca5e7b242c9b06709ec26d7db5a7

See more details on using hashes here.

Provenance

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