github-linguist / linguist
git clone https://github.com/github-linguist/linguist.git
v9.7.0 · 1mo ago
🔥 on GitHub Trending today
Ruby library and CLI that detects the programming languages of files and repositories, as used by GitHub's language statistics.
Why you might care
Use it if you need GitHub-style language detection and breakdowns in your own tools, including ignoring vendored, binary, or generated files. It is extensible through overrides when a repo's language is misreported.
+4
stars, 24h · #7,284
+~18
stars, 7 days · #9,551
+~75
stars, 30 days · #9,454
14k
★ total · +0% this week
5.5k
forks · 250 open issues
Star history (as recorded here)
LanguageRuby
LicenseMIT
Created2011-05-09 (15y ago)
Last push9d ago
Watchers604
OwnerOrganization
Seen on GitHub Trending
- 2026-10-24 — #12 daily in ruby · +1 ★
GitHub topics
Links
README
Loading README…
Blurb generated by claude-haiku-5-5 today. Star deltas marked ~ are extrapolated from partial history.