I've just released version 0.7.0 of phorkie, the self-hosted git-based pastebin software.
It is finally able auto-detect if a file is text or binary for unknown file extensions. Thus it will now correctly display textual files instead of telling you that it does not know what file type it is.
There should not be many unknowns left - phorkie ships with MIME_Type 1.4.0 which contains a list of over 900 file extension to MIME type mappings.
I've also added support for elasticsearch version 2.0.