sternenseemann / spacecookie

gopher library & server written in Haskell
https://sternenseemann.github.io/spacecookie/
GNU General Public License v3.0
47 stars 5 forks source link

More thorough filetypeMap? #49

Closed hyperrealgopher closed 3 years ago

hyperrealgopher commented 3 years ago

I was poking through your code and noticed the filetypeMap.

Would you like a more thorough utility for such? I have a half-baked, but functional utility filesig which provides a mapping for a ton of files based off of file signatures (and I think even file extensions? although hit's been a while). I can update this library if you are interested in it.

sternenseemann commented 3 years ago

I think I wanted to do this via #36.

hyperrealgopher commented 3 years ago

Sounds good! Sounds like this can be closed.