Githut 2.0
made with
React
简介及使用教程
GitHut 2.0是一个Github语言统计的工具,是继续进行githut.info项目的尝试。
GitHub是世界上最大的代码宿主,通过分析GitHub中语言的使用方式,有可能了解编程语言在开发人员中的流行程度并发现独特之处及每种语言的特征。
GitHub提供了一个公共API来与其庞大的事件数据集以及托管库进行交互。GitHub Archive通过聚合和存储API数据进一步向前迈进了一步。GitHut 2.0中使用的定量数据是从通过Google BigQuery的GitHub存档数据集。
使用
查询语法参见:https://cloud.google.com/bigquery/public-data/github
拉取编程语言排行榜
SELECT language.name, COUNT(language.name)
AS count FROM [bigquery-public-data:github_repos.languages]
group by language.name order by count DESC
返回数据
{"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"}
...
示例
作者
Fabian Beuke
相关项目