searchgithub

Github Search: how to search in multiple languages


Github search supports:

<keyword> language:javascript

But I want something like:

<keyword> language:javascript OR language:typescript

So that I can sort them by stars or do other filters in a single search.

The reason is: with typescript becoming more and more popular each day, a single filter with language:javascript is no longer enough.

Edit: the OR syntax works fine for code search, but not for repositories search, I want repositories search.


Solution

  • As of 2020, you can now search multiple languages:

    <keyword> language:javascript language:typescript
    

    This will search for any Javascript or Typescript repo matching the keyword.

    (I would expect nested OR to work, but the addition of parentheses for grouping leads to unexpected result counts.)