githubprogramming-languagesgithub-linguist

How to add support for my programming language on GitHub?


I have my own programming language, and I want to make it appear in the list of languages in a repository. However, I can't find any answers to this question in the documentation. Can someone please provide guidance and explain how to achieve this?

I've been searching through GitHub forums and official documentation but haven't been able to find a solution. I'm trying to make my programming language appear in the repository's list of languages. Can someone please provide guidance and explain how to achieve this since I couldn't find the information in the GitHub documentation?


Solution

  • GitHub uses the Linguist library to recognize the languages. The process to add support for a new language in Linguist is documented at https://github.com/github-linguist/linguist/blob/master/CONTRIBUTING.md#adding-a-language.

    Note that they require the language to be used in 200 unique GitHub repositories before adding support.