Not Another Static Generator
864bb54496
for the search functionality, it's better to keep this contained instead of adding one more black magic (eg. nginx rules) Note: I've sort of exhausted client-side JS search options; the smallest index I was able to build was still a few megabytes, way to large for my taste, hence the SQLite FTS4 python + PHP solution. Yes, it's ugly, but it works, and PHP is available nearly everywhere. Nearly. Without something that can set headers properly, it's impossible to do real HTTP 410 Gone, and even HTTP 301 or 302, so it's very likely I'm stuck with the minimal PHP solution. |
||
---|---|---|
templates | ||
.gitignore | ||
__init__.py | ||
exiftool.py | ||
LICENSE | ||
nasg.py | ||
README.md | ||
requirements.txt | ||
settings.py |
magics:
- automatic exif .json "cache" gets generated next to the source file
- updated if the cache timestamp < source file timestamp
- on resize, forcing resize if resized timestamp < source timestamp