Skip to content

Instantly share code, notes, and snippets.

@mnicky
Created June 22, 2012 08:30
Show Gist options
  • Save mnicky/2971329 to your computer and use it in GitHub Desktop.
Save mnicky/2971329 to your computer and use it in GitHub Desktop.
GitHub programming language popularity chart
# Display chart of programming languages recognized by GitHub, sorted by their popularity.
# Be patient, it takes about one minute to complete on a good internet connection.
for i in `curl -s "https://github.com/languages" | grep -io "/languages/[^\"]*" | sort | uniq`; do curl -s "https://github.com$i" | grep "<h1>.*</h1>" | sed 's/the most/#1/g' | sed 's/.*<h1>\(.*\) <em>.*#\([0-9]*\).*/\2 \1/g'; done | sort -n
@mnicky
Copy link
Author

mnicky commented Jun 22, 2012

As of 22 June 2012, the chart is:

1 JavaScript
2 Ruby
3 Python
4 Shell
5 Java
6 PHP
7 C
8 C++
9 Perl
10 CoffeeScript
11 Objective-C
12 C#
13 VimL
14 ASP
15 Emacs Lisp
16 Haskell
17 Scala
18 ActionScript
19 Assembly
20 Lua
21 Prolog
22 Groovy
23 Clojure
24 Erlang
25 D
26 R
27 Common Lisp
28 Scheme
29 Visual Basic
30 Go
31 Matlab
32 Rust
33 SuperCollider
34 Tcl
35 Puppet
36 OCaml
37 FORTRAN
38 Arduino
39 Delphi
40 ColdFusion
41 PowerShell
42 F#
43 Scilab
44 Smalltalk
45 Verilog
46 HaXe
47 Ada
48 Racket
49 VHDL
50 Vala
51 Objective-J
52 Pure Data
53 Gosu
55 Io
56 XQuery
57 Standard ML
58 Eiffel
59 AutoHotkey
60 OpenEdge ABL
61 Elixir
62 Nemerle
63 Coq
64 Dart
65 Boo
66 eC
67 ooc
68 Arc
69 Turing
70 DCPU-16 ASM
71 Nu
72 Factor
73 Apex
74 Rebol
75 Dylan
76 Parrot
77 Opa
78 Mirah
79 Julia
80 Kotlin
81 Self
82 Augeas
83 Ioke
84 Nimrod
85 Fancy
86 Max/MSP
87 Bro
88 Fantom
89 Logtalk

@mnicky
Copy link
Author

mnicky commented Jul 2, 2013

As of 2 July 2013, the chart is:

1 JavaScript
2 Ruby
3 Java
4 Shell
5 Python
6 PHP
7 C
8 C++
9 Perl
10 CoffeeScript
11 Objective-C
12 C#
13 VimL
14 ASP
15 Scala
16 Assembly
17 Prolog
18 Haskell
19 Emacs Lisp
20 Groovy
21 Lua
22 ActionScript
23 Clojure
24 Go
25 Racket
26 R
27 D
28 Matlab
29 Puppet
30 Arduino
31 Erlang
32 Visual Basic
33 PowerShell
34 Scheme
35 Common Lisp
36 XML
37 XSLT
38 Tcl
39 Delphi
40 Scilab
41 FORTRAN
42 Awk
43 SuperCollider
44 Rust
45 OCaml
46 Gosu
47 F#
48 Logos
49 ColdFusion
50 DOT
51 Processing
52 TypeScript
53 Verilog
54 Haxe
55 Smalltalk
56 Dart
57 VHDL
59 Ada
60 M
61 OpenEdge ABL
62 Pure Data
63 Vala
64 Elixir
65 AppleScript
66 AutoHotkey
67 Objective-J
68 Standard ML
69 XQuery
70 Eiffel
71 Apex
72 eC
73 Nemerle
74 Julia
75 Io
76 Coq
77 Nu
78 LiveScript
80 Rebol
81 Lasso
82 Boo
83 Ragel in Ruby Host
84 CLIPS
85 ooc
86 Arc
87 Xtend
88 Kotlin
89 Turing
90 DCPU-16 ASM
91 Factor
92 Opa
93 Forth
94 Augeas
95 Pike
96 Dylan
97 Parrot
98 Mirah
99 Self
100 Bro
101 Nimrod
102 Ceylon
103 Monkey
104 MoonScript
105 Ioke
106 Fantom
107 Ecl
108 Fancy
109 ABAP
110 XProc
111 Max
112 Logtalk
113 Rouge
114 PogoScript
115 TXL
118 Omgrofl
119 wisp

@mnicky
Copy link
Author

mnicky commented Oct 18, 2013

After recent changes, Github no longer shows the language position, so the script doesn't work :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment