Skip to content

Instantly share code, notes, and snippets.

@BuonOmo
Last active January 16, 2020 14:51
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BuonOmo/59c61b042af69c643d0498fee5d9bcb8 to your computer and use it in GitHub Desktop.
Save BuonOmo/59c61b042af69c643d0498fee5d9bcb8 to your computer and use it in GitHub Desktop.
Most starred public repositories on GitHub.
# Forked from: https://gist.github.com/jdennes/7013672.
#
# I improved the request output!
curl -G https://api.github.com/search/repositories \
--data-urlencode 'q=stars:>1000' \
--data-urlencode 'sort=stars' \
--data-urlencode 'order=desc' \
-H 'Accept: application/vnd.github.preview' \
| jq --raw-output '.items | .[] | (.full_name + " (" + (.stargazers_count | tostring) + ")")' \
| cat -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment