An open API service indexing awesome lists of open source software.

https://github.com/realpython/robocrop

Your friendly neighbourhood image resizing API. Resize or aspect, you're cropping with me.
https://github.com/realpython/robocrop

Last synced: 7 months ago
JSON representation

Your friendly neighbourhood image resizing API. Resize or aspect, you're cropping with me.

Awesome Lists containing this project

README

          

# RoboCrop

* https://github.com/agschwender/pilbox

## Local Testing

Create local `.env`:

```
DEBUG=yes
CLIENT_KEY=testkey
WEB_CONCURRENCY=2
```

```
pip install -r requirements.txt
heroku local
open http://localhost:5000/?url=...&w=100
```

## Deployment

```
heroku config:set DEBUG=no CLIENT_KEY=...
git push heroku master
```