1
0
mirror of https://github.com/enpaul/kodak.git synced 2024-12-28 02:33:31 +00:00
Go to file
Ethan Paul f9c38a5bcc
Update openapi to simplify structure
Abandon all but the simplest of auth schemas
Remove dynamic image generation
Add support for cache control
Add support for 501, 405, and 422 status codes
2021-10-28 18:33:41 -04:00
docs Rename project to imagemuck 2021-05-05 13:48:02 -04:00
imagemuck Add openapi spec validation and build integartion 2021-05-07 22:39:16 -04:00
tests Add openapi spec validation and build integartion 2021-05-07 22:39:16 -04:00
.coveragerc Initial commit 2020-09-16 03:41:53 -04:00
.gitignore Add openapi spec validation and build integartion 2021-05-07 22:39:16 -04:00
.pre-commit-config.yaml Rename project to imagemuck 2021-05-05 13:48:02 -04:00
.pylintrc Initial commit 2020-09-16 03:41:53 -04:00
LICENSE.md Rename project to dehance 2021-05-02 18:13:24 -04:00
Makefile Add openapi spec validation and build integartion 2021-05-07 22:39:16 -04:00
openapi.yaml Update openapi to simplify structure 2021-10-28 18:33:41 -04:00
poetry.lock Add openapi spec validation and build integartion 2021-05-07 22:39:16 -04:00
pyproject.toml Add openapi spec validation and build integartion 2021-05-07 22:39:16 -04:00
README.md Rename project to imagemuck 2021-05-05 13:48:02 -04:00
tox.ini Add openapi spec validation and build integartion 2021-05-07 22:39:16 -04:00

imagemuck

HTTP server for handling image uploads and thumbnail generation.

This project requires Poetry 1.0+

Implementation goals

Support token based authentication:

POST /auth/token

GET /img/abcdefg.jpg?token=XYZ

Support dynamic resolution generation:

GET /img/abcdefg/100x50.jpg

Support server-side aliasing of resolutions to names:

GET /img/abcdefg/foobar.jpg  # translates to something like 120x90

Support parameter-based selection of scaling method:

# "absolute scale horizontal", "relative scale vertical"
GET /img/abcdefg/200x100.jpg?h=abs&v=rel

Support both sqlite and maria storage backend

Support redis caching to relieve file system strain

Support autocleaning of cached file system files to reduce directory size

Support