Not Another Static Generator
Find a file
Peter Molnar 864bb54496 re-adding index.php magic instead of nginx rules; given that I need to use php
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.
2018-07-22 14:52:32 +01:00
templates re-adding index.php magic instead of nginx rules; given that I need to use php 2018-07-22 14:52:32 +01:00
.gitignore re-adding index.php magic instead of nginx rules; given that I need to use php 2018-07-22 14:52:32 +01:00
__init__.py v4.0a1 2018-07-20 16:47:25 +01:00
exiftool.py v4.0a 2018-07-20 16:45:42 +01:00
LICENSE re-licencing to LGPLv3 2018-06-24 20:02:57 +01:00
nasg.py re-adding index.php magic instead of nginx rules; given that I need to use php 2018-07-22 14:52:32 +01:00
README.md v4.0a 2018-07-20 16:45:42 +01:00
requirements.txt v4.0a 2018-07-20 16:45:42 +01:00
settings.py v4.0a1 2018-07-20 16:47:25 +01:00

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