1
0
mirror of https://github.com/enpaul/kodak.git synced 2024-11-14 10:36:55 +00:00
Go to file
2021-11-13 00:56:07 -05:00
kodak Implement trivial functionality for image source endpoint 2021-11-13 00:56:07 -05:00
tests Fix typing errors 2021-10-30 11:51:41 -04:00
.coveragerc Initial commit 2020-09-16 03:41:53 -04:00
.gitignore Add default content dirs to gitignore to avoid accidental uploads 2021-11-12 23:35:39 -05:00
.pre-commit-config.yaml Rename project to kodak 2021-10-28 23:17:00 -04:00
.pylintrc Lint and document config and constants modules 2021-10-29 19:45:32 -04:00
LICENSE.md Update license formatting 2021-10-28 19:03:39 -04:00
Makefile Rename project to kodak 2021-10-28 23:17:00 -04:00
openapi.yaml Rename project to kodak 2021-10-28 23:17:00 -04:00
poetry.lock Update werkzeug to 2.x 2021-11-13 00:56:07 -05:00
pyproject.toml Add trivial CLI for maintenance tasks 2021-11-13 00:56:06 -05:00
README.md Rename project to kodak 2021-10-28 23:17:00 -04:00
tox.ini Fix typing errors 2021-10-30 11:51:41 -04:00

kodak

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