Tiny self-hosting web app that makes files from a specific directory look presentable when accessed via the web.

I regularly run into situations where I want to show someone a file over the internet really quickly, but I don't necessarily want to involve a third-party hosting/sending service if I can help it. I created this little mess of PHP to help with that use case: Any file I copy into a specific directory on my server gets an automatically generated HTML view. For images or videos they simply get embedded, but for source code files there is automatic syntax highlighting, there is Markdown parsing and even an album view for directories. (Being able to show my holiday photos this way without having to upload them to some commercial web service is particularly nice.)