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

key: - none · ± optional · + required

host key 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
gofile - https://gofile.io/d/{id}
imgbox - https://images2.imgbox.com/52/8c/{id}_o.png
kappa - https://kappa.lol/{id}.png
pixhost - https://img75.pixhost.to/images/69/{id}_img.png
sxcu - https://sxcu.net/{id}.png
imgur ± https://i.imgur.com/{id}.png
cloudinary + https://res.cloudinary.com/{cloud}/image/upload/{id}.png
filepost + https://cdn.filepost.dev/file/.../{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
imagekit + https://ik.imagekit.io/{id}/img_{id}.png
imgbb + https://i.ibb.co/{id}/image.png
imgchest + https://cdn.imgchest.com/files/{id}.png
imghippo + https://i.imghippo.com/files/{id}.png
imglink + https://imglink.cc/cdn/{id}.png
lensdump + https://i.lensdump.com/i/{id}.png
pixeldrain + https://pixeldrain.com/api/file/{id}
pixvid + https://pixvid.org/images/2022/07/30/{id}.png
postimages + https://i.postimg.cc/{id}/img.png
ptpimg + https://ptpimg.me/{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=
FILEPOST_KEY=
FREEIMAGE_KEY=
GYAZO_TOKEN=
IMAGEBAN_TOKEN=
IMAGEKIT_PRIVATE_KEY=
IMGBB_KEY=
IMGHIPPO_KEY=
IMGCHEST_KEY=
IMGLINK_KEY=
IMGUR_CLIENT_ID= # optional
LENSDUMP_KEY=
PIXELDRAIN_KEY=
PIXVID_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

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

Uploaded Python 3Windows x86-64

images_upload_cli-4.0.3-py3-none-musllinux_1_2_x86_64.whl (4.4 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

images_upload_cli-4.0.3-py3-none-musllinux_1_2_aarch64.whl (4.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

images_upload_cli-4.0.3-py3-none-manylinux_2_28_x86_64.whl (4.3 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

images_upload_cli-4.0.3-py3-none-manylinux_2_28_aarch64.whl (4.0 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

images_upload_cli-4.0.3-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.3-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for images_upload_cli-4.0.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9fab4794973046298c0810169acf1ce38e78beeaca80556a250b761a69290240
MD5 9835c4b5f70e287a83af94f6b63a7c2c
BLAKE2b-256 0558ddbdbc1a28292a325e4d352a1affcbea9d2a1e3e34d783ae342bdeaa5b84

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for images_upload_cli-4.0.3-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e657f210f58f2a5837959b172bc833c4976935783c35d8402b9740365f5bafa5
MD5 6d341fb8da09c6735f0178b05ad6ced7
BLAKE2b-256 76b3e5e10ab2a966e8e97c20a96fe38af901a0342b49d84442e9f3f07f757d6f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for images_upload_cli-4.0.3-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 426cd5ef7cd0cc0fdc531456b7335a9d4621d6530aaab0bd1288c065516966a8
MD5 191817552424928316eb7d9916df290f
BLAKE2b-256 fffbb94f3265a3a859ba114cf147cbdd43869bfe531e7aafe27d0dab7ff7d6e2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for images_upload_cli-4.0.3-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2c6e745454f485fd3df85d81045039778e8bf94b135c576411897f9b0a927436
MD5 9750b94eb34f5a44da01cc98d0e7ec9a
BLAKE2b-256 e4f6e74032e8195ecb52bc09d50996ce3e9e0780bd439d0f7734450e1b176816

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for images_upload_cli-4.0.3-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4709de9fe98d7264d1946f89590c45d81a8e480df78222c9558b0bb00adcb95c
MD5 55146b30c45342c56e50bc01bfa10dc9
BLAKE2b-256 0ad1f067cc4744f192f17c3a721bf172d0bd04dcb8a4a1aee9807aa83cb5103b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for images_upload_cli-4.0.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0461faf4e1ae76f87dc4369fc51eb53b4b3463bfa38d13d2b8ce614b852d3505
MD5 6e189f109fe7b40941518c4aded129ca
BLAKE2b-256 5e24b92854f1456c61a82d8b84d0d3d14209c14fa10d336c9b4649daf347fc80

See more details on using hashes here.

Provenance

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