Linguist
From time to time we get requests asking us to add support for new highlighting lexers, recognize additional extensions as certain languages, or ignore a directory from a repo’s stats…

From time to time we get requests asking us to add support for new highlighting lexers, recognize additional extensions as certain languages, or ignore a directory from a repo’s stats graph.
The code for these concerns was scattered around the app. I decided to unify and package them all up into a single library. Now it’s open source.
So if you notice an unrecognized extension or you’re really into some obscure language that isn’t supported yet, now is your chance to help contribute back.
https://github.com/github/linguist
Written by
Related posts
Developers want more efficient software. Here’s what over 1,000 GitHub users told us they need.
New research from GitHub and Yale Program on Climate Change Communication finds strong demand for tools, measurement, and practical guidance that can help developers reduce wasted compute.
GitHub availability report: August 2026
In August, we experienced five incidents that resulted in degraded performance across GitHub services.
The August 17 outage, and the work ahead
An update on the August 17 outage and the steps we’re taking to improve reliability.