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.
- Host: GitHub
- URL: https://github.com/realpython/robocrop
- Owner: realpython
- Created: 2018-08-07T03:02:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T19:12:31.000Z (over 4 years ago)
- Last Synced: 2025-05-07T21:03:42.679Z (7 months ago)
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 11
- Watchers: 1
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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
```