Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using an MIT licensed mime db? #144

Open
patsplat opened this issue Mar 28, 2021 · 2 comments
Open

Consider using an MIT licensed mime db? #144

patsplat opened this issue Mar 28, 2021 · 2 comments

Comments

@patsplat
Copy link

patsplat commented Mar 28, 2021

Is there a reason against using an MIT licensed json db from mime-db, rather than continuing to use the GPL free desktop mime db?

https://github.com/jshttp/mime-db

Using a compatible license should allow the derivative file to be distributed, and remove the need for environment variables etc.

Would such a PR be welcome?

@patsplat
Copy link
Author

patsplat commented Mar 29, 2021

mime-db provides the extensions but not the magic

the magic needs to come from another source, perhaps http://www.darwinsys.com/file/

@patsplat patsplat changed the title Consider using mime-db? Consider using an MIT licensed mime db? Mar 29, 2021
@animeavi
Copy link

Marcel used Apache Tika as the source of the DB (and used code from this gem to parse it)
rails/marcel@2e58d19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants