spacecookie
spacecookie copied to clipboard
Let users configure custom file type mappings
We have a map like this:
M.Map FilePath GopherFileType
The configuration option could look like this, allowing to override the mapping:
{
"file-types": {
"apng": "I"
}
}
Also the default fallback should be configurable (currently File).
https://github.com/hyperrealgopher/filesig
Just dropping this here in case it's useful.