{"id":13697688,"url":"https://github.com/techgaun/gh-top-repos","last_synced_at":"2025-03-28T18:32:41.078Z","repository":{"id":147048317,"uuid":"47203511","full_name":"techgaun/gh-top-repos","owner":"techgaun","description":"Get the most starred github repositories created in last X days","archived":false,"fork":false,"pushed_at":"2015-12-02T07:06:14.000Z","size":8,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-11T21:49:49.788Z","etag":null,"topics":["awesome","github","starred-repositories"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techgaun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-01T16:48:55.000Z","updated_at":"2025-01-15T03:44:39.000Z","dependencies_parsed_at":"2023-05-31T20:16:07.208Z","dependency_job_id":null,"html_url":"https://github.com/techgaun/gh-top-repos","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/techgaun%2Fgh-top-repos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fgh-top-repos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fgh-top-repos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fgh-top-repos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techgaun","download_url":"https://codeload.github.com/techgaun/gh-top-repos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246081057,"owners_count":20720638,"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":["awesome","github","starred-repositories"],"created_at":"2024-08-02T18:01:01.597Z","updated_at":"2025-03-28T18:32:40.187Z","avatar_url":"https://github.com/techgaun.png","language":"Python","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Github Top Repos\n\n\u003e Get the most starred repositories among the ones created in last X days\n\n### Installation\nThis tool uses [github3.py](https://github.com/sigmavirus24/github3.py) to talk with GitHub Search API.\n\nClone this repository and run:\n```shell\npip install -r requirements.txt\n```\n\n### Usage\n```\nGH_USER  - Environment variable to specify github user\nGH_PWD   - Environment variable to specify password\nGH_TOKEN - Environment variable to specify github token\n```\n\nSome example usages are listed below:\n\n```shell\n$ python gh-top-repos.py --help                                        # help screen\nusage: gh-top-repos.py [-h] [-v] [-c DAYS_COUNT] [-n NUM_OF_REPOS] [-s]\n                       [-q CUSTOM_QUERY] [-f]\n\nSearch github for top repositories\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -v, --version         show program's version number and exit\n  -c DAYS_COUNT, --count DAYS_COUNT\n                        Number of days before today to begin search with\n  -n NUM_OF_REPOS, --num NUM_OF_REPOS\n                        Number of repositories to return\n  -s, --star            Star the repos returned by search\n  -q CUSTOM_QUERY, --query CUSTOM_QUERY\n                        Provide custom query for search eg.\n                        language:javascript\n  -f, --fork            Fork the repos returned by search\n\n$ python gh-top-repos.py -q \"language:javascript\"                       # Sample output example\n[\n    {\n        \"lang\": \"JavaScript\",\n        \"name\": \"ruanyf/react-babel-webpack-boilerplate\",\n        \"url\": \"https://github.com/ruanyf/react-babel-webpack-boilerplate\",\n        \"forks_count\": 35,\n        \"stargazers_count\": 331,\n        \"desc\": \"a boilerplate for React-Babel-Webpack project\"\n    },\n    {\n        \"lang\": \"JavaScript\",\n        \"name\": \"hustcc/redis-monitor\",\n        \"url\": \"https://github.com/hustcc/redis-monitor\",\n        \"forks_count\": 27,\n        \"stargazers_count\": 235,\n        \"desc\": \"A web visualization redis monitoring program. Performance optimized and very easy to install and deploy, base on Flask and sqlite.\"\n    },\n    {\n        \"lang\": \"JavaScript\",\n        \"name\": \"chinchang/code-blast-codemirror\",\n        \"url\": \"https://github.com/chinchang/code-blast-codemirror\",\n        \"forks_count\": 30,\n        \"stargazers_count\": 109,\n        \"desc\": \"Particles blasts while typing in Codemirror\"\n    }\n]\n\npython gh-top-repos.py                                                  # default search; does not star or fork\n\npython gh-top-repos.py -c 30                                            # look for repos created in last 30 days, default: 30\n\npython gh-top-repos.py -n 3                                             # search all repos of an organization, default: 3\n\nGH_USER=techgaun GH_PWD=\u003cmypass\u003e python gh-top-repos.py -n 1 -s         # Star the highest starred repo automatically\n\nGH_TOKEN=\u003cgithub_token\u003e python gh-top-repos.py -n 1 -f                  # For the highest starred repo automatically\n\npython gh-top-repos.py -n3 -q \"language:javascript\"                     # Find top 3 starred repos written(mainly) in javascript\n```\n\n### Contribution\nAny cool/useful feature/idea on this project is warmly welcomed.\n\n### Author\n\nSamar Dhwoj Acharya\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechgaun%2Fgh-top-repos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechgaun%2Fgh-top-repos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechgaun%2Fgh-top-repos/lists"}