madnight/githut

Github Language Statistics

JavaScript

1,005

367 commits

updated Apr 3, 2024

See the code

See what people are saying

SourceMessageScoreDate

because it's likely that a lot more of the training data is in python than in rust, so coding models are less likely to mess up python code? just based on PL popularity stats e.g. https://madnight.github.io/githut/#/pull_requests/2024/1 if the training data is crawled from real codebases then…

on If AI writes your code, why use Python?

0

May 12, 2026

I'll just leave this here: https://madnight.github.io/githut/#/stars/2024/1 Just look at clojure's stats and understand what this "wisdom" brings

on Open source is not about you (2018)

0

Feb 13, 2026

Nim is on the list for Stars in 2024 quarter 1. GitHut 2.0: https://madnight.github.io/githut/#/pull_requests/2024/1

on GitHut – Programming Languages and GitHub (2014)

0

Nov 22, 2025

Here you go: https://madnight.github.io/githut/#/pull_requests/2024/1

on GitHut – Programming Languages and GitHub (2014)

0

Nov 21, 2025

Apparently someone worked on it, but (IMO) the visualization is a lot less nice compared to the original: https://madnight.github.io/githut/#/pull_requests/2024/1

on GitHut – Programming Languages and GitHub (2014)

0

Nov 20, 2025

As noted, should be (2014). There is also GitHut 2.0: https://madnight.github.io/githut/#/pull_requests/2024/1 This updates through 2024.

on GitHut – Programming Languages and GitHub (2014)

0

Nov 20, 2025

> It's hard to find good data sources for this I like this: https://madnight.github.io/githut/#/pull_requests/2024/1 It gives you a count of public repos on GitHub by language used, going back to 2012.

on Top Programming Languages 2025

0

Sep 24, 2025

> Shopify, Stripe, and GitHub Yeah I mean Facebook, Wordpress, Wikipedia... but are you going to start a new project in PHP today? I bet all of them wish they weren't using Ruby. (Well probably not because they'll attract devs that love Ruby, but you get the point...) Anyway in terms of concrete…

on RubyMine is now free for non-commercial use

0

Sep 2, 2025

Speaking of Ruby, its usage has cratered down in the past decade: https://madnight.github.io/githut/#/pull_requests/2024/1

on The borrowchecker is what I like the least about Rust

0

Jul 19, 2025

Rails/Ruby is still top 10 on Github landscape in Pull Requests. Though it's lived through a relative decline people talk about it less because a lot of other frameworks and languages have improved in light of what the ecosystem had. That said I feel like Elixir/Phoenix is doing a lot of things…

on Ruby 3.5 Feature: Namespace on read

0

May 13, 2025

README

GitHub Language Statistics

License (AGPL-3.0) Issue Count Code Style

Data Generation

Languages

Get language top list for Github

SELECT language.name, COUNT(language.name)
AS count FROM [bigquery-public-data:github_repos.languages]
group by language.name order by count DESC

Result of first 10 from 322

{"language_name":"JavaScript","count":"1006022"}
{"language_name":"CSS","count":"745573"}
{"language_name":"HTML","count":"663315"}
{"language_name":"Shell","count":"593461"}
{"language_name":"Python","count":"492715"}
{"language_name":"Ruby","count":"365413"}
{"language_name":"Java","count":"340622"}
{"language_name":"PHP","count":"328907"}
{"language_name":"C","count":"286272"}
{"language_name":"C++","count":"267552"}
...

Licenses

Get license top list for Github

SELECT license, COUNT(license)
AS count FROM [bigquery-public-data:github_repos.licenses]
group by license order by count DESC

Full result

{"license":"mit","count":"1551711"}
{"license":"apache-2.0","count":"455316"}
{"license":"gpl-2.0","count":"376453"}
{"license":"gpl-3.0","count":"284761"}
{"license":"bsd-3-clause","count":"161041"}
{"license":"bsd-2-clause","count":"57412"}
{"license":"unlicense","count":"43899"}
{"license":"lgpl-3.0","count":"38213"}
{"license":"agpl-3.0","count":"38034"}
{"license":"cc0-1.0","count":"28600"}
{"license":"epl-1.0","count":"24074"}
{"license":"lgpl-2.1","count":"23872"}
{"license":"isc","count":"17690"}
{"license":"mpl-2.0","count":"17421"}
{"license":"artistic-2.0","count":"9413"}

Pull Requests

Get the number of Pull Requests per day/month/year

SELECT language as name, year, quarter, count FROM ( SELECT * FROM (
SELECT lang as language, y as year, q as quarter, type,
COUNT(*) as count FROM (SELECT a.type type, b.lang lang, a.y y, a.q q FROM (
SELECT type, actor.login, YEAR(created_at) as y, QUARTER(created_at) as q,
STRING(REGEXP_REPLACE(repo.url, r'https:\/\/github\.com\/|https:\/\/api\.github\.com\/repos\/', '')) as name
FROM [githubarchive:month.201901] WHERE NOT LOWER(actor.login) LIKE "%bot%") a
JOIN ( SELECT repo_name as name, lang FROM ( SELECT * FROM (
SELECT *, ROW_NUMBER() OVER (PARTITION BY repo_name ORDER BY lang) as num FROM (
SELECT repo_name, FIRST_VALUE(language.name) OVER (
partition by repo_name order by language.bytes DESC) AS lang
FROM [bigquery-public-data:github_repos.languages]))
WHERE num = 1 order by repo_name)
WHERE lang != 'null') b ON a.name = b.name)
GROUP by type, language, year, quarter
order by year, quarter, count DESC)
WHERE count >= 100) WHERE type = 'PullRequestEvent'

Manual

Googles BigQuery is free for public datasets like Github, Reddit or Stackoverflow. It is limited to 1000 GB query volume per month. One of the querys above takes about 50-200 MB query volume. The public dataset for Github is available here: https://console.cloud.google.com/bigquery?p=bigquery-public-data&d=samples&t=github_nested&page=table

URL Schema

madnight.github.io/githut/#/pull_requests/2021/1/Python,Lua,JavaScript
                                 ▲         ▲   ▲        ▲
                                 │         │   │        │
                pull_requests ───┘   year ─┘   │        └─ languages
                pushes                         └─ quarter
                stars
                issues

BibTeX

If you wish to quote, you may use the following BibTeX.

@misc{githuttwo,
  author = {Fabian Beuke},
  title = {GitHut 2.0: GitHub Language Statistics},
  year = {2023},
  note = {GitHub repository},
  howpublished = {\url{https://madnight.github.io/githut/#/}}
}
bigquery
dataset
functional-reactive-programming
github-language-statistics
github-pages-website
jamstack
languages
programming-languages
react
react-hooks
serverless
sql-query
statistics

madnight/githut

Github Language Statistics

JavaScript

1,005

367 commits

updated Apr 3, 2024

See the code

See what people are saying

SourceMessageScoreDate

because it's likely that a lot more of the training data is in python than in rust, so coding models are less likely to mess up python code? just based on PL popularity stats e.g. https://madnight.github.io/githut/#/pull_requests/2024/1 if the training data is crawled from real codebases then…

on If AI writes your code, why use Python?

0

May 12, 2026

I'll just leave this here: https://madnight.github.io/githut/#/stars/2024/1 Just look at clojure's stats and understand what this "wisdom" brings

on Open source is not about you (2018)

0

Feb 13, 2026

Nim is on the list for Stars in 2024 quarter 1. GitHut 2.0: https://madnight.github.io/githut/#/pull_requests/2024/1

on GitHut – Programming Languages and GitHub (2014)

0

Nov 22, 2025

Here you go: https://madnight.github.io/githut/#/pull_requests/2024/1

on GitHut – Programming Languages and GitHub (2014)

0

Nov 21, 2025

Apparently someone worked on it, but (IMO) the visualization is a lot less nice compared to the original: https://madnight.github.io/githut/#/pull_requests/2024/1

on GitHut – Programming Languages and GitHub (2014)

0

Nov 20, 2025

As noted, should be (2014). There is also GitHut 2.0: https://madnight.github.io/githut/#/pull_requests/2024/1 This updates through 2024.

on GitHut – Programming Languages and GitHub (2014)

0

Nov 20, 2025

> It's hard to find good data sources for this I like this: https://madnight.github.io/githut/#/pull_requests/2024/1 It gives you a count of public repos on GitHub by language used, going back to 2012.

on Top Programming Languages 2025

0

Sep 24, 2025

> Shopify, Stripe, and GitHub Yeah I mean Facebook, Wordpress, Wikipedia... but are you going to start a new project in PHP today? I bet all of them wish they weren't using Ruby. (Well probably not because they'll attract devs that love Ruby, but you get the point...) Anyway in terms of concrete…

on RubyMine is now free for non-commercial use

0

Sep 2, 2025

Speaking of Ruby, its usage has cratered down in the past decade: https://madnight.github.io/githut/#/pull_requests/2024/1

on The borrowchecker is what I like the least about Rust

0

Jul 19, 2025

Rails/Ruby is still top 10 on Github landscape in Pull Requests. Though it's lived through a relative decline people talk about it less because a lot of other frameworks and languages have improved in light of what the ecosystem had. That said I feel like Elixir/Phoenix is doing a lot of things…

on Ruby 3.5 Feature: Namespace on read

0

May 13, 2025

README

GitHub Language Statistics

License (AGPL-3.0) Issue Count Code Style

Data Generation

Languages

Get language top list for Github

SELECT language.name, COUNT(language.name)
AS count FROM [bigquery-public-data:github_repos.languages]
group by language.name order by count DESC

Result of first 10 from 322

{"language_name":"JavaScript","count":"1006022"}
{"language_name":"CSS","count":"745573"}
{"language_name":"HTML","count":"663315"}
{"language_name":"Shell","count":"593461"}
{"language_name":"Python","count":"492715"}
{"language_name":"Ruby","count":"365413"}
{"language_name":"Java","count":"340622"}
{"language_name":"PHP","count":"328907"}
{"language_name":"C","count":"286272"}
{"language_name":"C++","count":"267552"}
...

Licenses

Get license top list for Github

SELECT license, COUNT(license)
AS count FROM [bigquery-public-data:github_repos.licenses]
group by license order by count DESC

Full result

{"license":"mit","count":"1551711"}
{"license":"apache-2.0","count":"455316"}
{"license":"gpl-2.0","count":"376453"}
{"license":"gpl-3.0","count":"284761"}
{"license":"bsd-3-clause","count":"161041"}
{"license":"bsd-2-clause","count":"57412"}
{"license":"unlicense","count":"43899"}
{"license":"lgpl-3.0","count":"38213"}
{"license":"agpl-3.0","count":"38034"}
{"license":"cc0-1.0","count":"28600"}
{"license":"epl-1.0","count":"24074"}
{"license":"lgpl-2.1","count":"23872"}
{"license":"isc","count":"17690"}
{"license":"mpl-2.0","count":"17421"}
{"license":"artistic-2.0","count":"9413"}

Pull Requests

Get the number of Pull Requests per day/month/year

SELECT language as name, year, quarter, count FROM ( SELECT * FROM (
SELECT lang as language, y as year, q as quarter, type,
COUNT(*) as count FROM (SELECT a.type type, b.lang lang, a.y y, a.q q FROM (
SELECT type, actor.login, YEAR(created_at) as y, QUARTER(created_at) as q,
STRING(REGEXP_REPLACE(repo.url, r'https:\/\/github\.com\/|https:\/\/api\.github\.com\/repos\/', '')) as name
FROM [githubarchive:month.201901] WHERE NOT LOWER(actor.login) LIKE "%bot%") a
JOIN ( SELECT repo_name as name, lang FROM ( SELECT * FROM (
SELECT *, ROW_NUMBER() OVER (PARTITION BY repo_name ORDER BY lang) as num FROM (
SELECT repo_name, FIRST_VALUE(language.name) OVER (
partition by repo_name order by language.bytes DESC) AS lang
FROM [bigquery-public-data:github_repos.languages]))
WHERE num = 1 order by repo_name)
WHERE lang != 'null') b ON a.name = b.name)
GROUP by type, language, year, quarter
order by year, quarter, count DESC)
WHERE count >= 100) WHERE type = 'PullRequestEvent'

Manual

Googles BigQuery is free for public datasets like Github, Reddit or Stackoverflow. It is limited to 1000 GB query volume per month. One of the querys above takes about 50-200 MB query volume. The public dataset for Github is available here: https://console.cloud.google.com/bigquery?p=bigquery-public-data&d=samples&t=github_nested&page=table

URL Schema

madnight.github.io/githut/#/pull_requests/2021/1/Python,Lua,JavaScript
                                 ▲         ▲   ▲        ▲
                                 │         │   │        │
                pull_requests ───┘   year ─┘   │        └─ languages
                pushes                         └─ quarter
                stars
                issues

BibTeX

If you wish to quote, you may use the following BibTeX.

@misc{githuttwo,
  author = {Fabian Beuke},
  title = {GitHut 2.0: GitHub Language Statistics},
  year = {2023},
  note = {GitHub repository},
  howpublished = {\url{https://madnight.github.io/githut/#/}}
}
bigquery
dataset
functional-reactive-programming
github-language-statistics
github-pages-website
jamstack
languages
programming-languages
react
react-hooks
serverless
sql-query
statistics

Significant stargazers

silverwind

670 followers · starred May 2023

Glenn Slotte

239 followers · starred Aug 2022

Janosh Riebesell

696 followers · starred Oct 2023

Kevin Xiang Li

103 followers · starred Oct 2025