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

GitHub Linguist File Type detection #968

Open
vorburger opened this issue Dec 14, 2024 · 2 comments
Open

GitHub Linguist File Type detection #968

vorburger opened this issue Dec 14, 2024 · 2 comments

Comments

@vorburger
Copy link
Member

vorburger commented Dec 14, 2024

https://docs.enola.dev/use/info/#detect could use https://github.com/github-linguist/linguist.

Either through an indirect integration with Apache Tika, or just directly.

It would (probably, simplest) just "shell out" to it.

@vorburger
Copy link
Member Author

BTW: https://github.com/sharkdp/bat has a large list of file types as well, of course; consider that, too.

@vorburger
Copy link
Member Author

github-linguist/linguist#7162 would probably need to be fixed first for this to make sense.

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

1 participant