Skip to main content

Simple image uploader

Project description

About

Microservice for uploading all insecure images to Imgur by url.

Use Redis as cache backend and metadata storage.

Installation

From PyPI:

pip install imgtohttps

From GitHub:

git clone https://github.com/Orhideous/imgtohttps.git

Usage

Request:

curl -X POST -H "Content-Type: application/json" -d '{"url": "http://example.com/image.png"}' http://localhost:5000

Response:

{"url": "https://i.imgur.com/AxQwu0h.png"}

Error:

{"error": "Some error message"}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imgtohttps-0.3.tar.gz (16.4 kB view hashes)

Uploaded source

Built Distribution

imgtohttps-0.3-py2.py3-none-any.whl (6.3 kB view hashes)

Uploaded 3 4

Supported by

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