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 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