{"id":21679307,"url":"https://github.com/hoppergee/github_repos_sort_by_stars","last_synced_at":"2026-04-12T21:35:16.156Z","repository":{"id":130782977,"uuid":"295146441","full_name":"hoppergee/github_repos_sort_by_stars","owner":"hoppergee","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-14T15:52:29.000Z","size":18858,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-25T10:43:18.661Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hoppergee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-13T12:27:11.000Z","updated_at":"2020-09-14T15:52:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec965abf-18c2-4429-8c14-9c1319125d4d","html_url":"https://github.com/hoppergee/github_repos_sort_by_stars","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoppergee%2Fgithub_repos_sort_by_stars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoppergee%2Fgithub_repos_sort_by_stars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoppergee%2Fgithub_repos_sort_by_stars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoppergee%2Fgithub_repos_sort_by_stars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hoppergee","download_url":"https://codeload.github.com/hoppergee/github_repos_sort_by_stars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244591486,"owners_count":20477710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T14:50:32.488Z","updated_at":"2026-04-12T21:35:11.122Z","avatar_url":"https://github.com/hoppergee.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github repos sort by stars\n\n### Where I get these data?\n\nUse below query on Google public github archive dataset:\n\n```sql\nSELECT repo.name\n  , MAX(CAST(JSON_EXTRACT_SCALAR(payload, '$.pull_request.base.repo.stargazers_count')AS INT64)) stars\nFROM `githubarchive.month.201912`  \nWHERE JSON_EXTRACT_SCALAR(payload, '$.pull_request.base.repo.language') = 'Ruby'\nAND type='PullRequestEvent'\nGROUP by repo.name\nORDER BY stars DESC\n```\n\n##### References\n\n* [BigQuery for GitHub : How to get most starred repo with a specific language](https://stackoverflow.com/questions/59887185/bigquery-for-github-how-to-get-most-starred-repo-with-a-specific-language)\n* [madnight/githut](https://github.com/madnight/githut)\n* [igrigorik/gharchive.org](https://github.com/igrigorik/gharchive.org)\n* [GH Archive](http://www.gharchive.org/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoppergee%2Fgithub_repos_sort_by_stars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoppergee%2Fgithub_repos_sort_by_stars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoppergee%2Fgithub_repos_sort_by_stars/lists"}