{"id":13449310,"url":"https://github.com/csurfer/gitsuggest","last_synced_at":"2025-04-12T18:50:00.670Z","repository":{"id":50215166,"uuid":"92457795","full_name":"csurfer/gitsuggest","owner":"csurfer","description":"A tool to suggest github repositories based on the repositories you have shown interest in.","archived":false,"fork":false,"pushed_at":"2021-06-01T21:26:49.000Z","size":100,"stargazers_count":657,"open_issues_count":6,"forks_count":19,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-10-13T11:26:19.659Z","etag":null,"topics":["github","lda-model","nltk","repository","suggestion-engine"],"latest_commit_sha":null,"homepage":"http://www.gitsuggest.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/csurfer.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.rst","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":"2017-05-26T01:03:46.000Z","updated_at":"2024-09-20T22:04:30.000Z","dependencies_parsed_at":"2022-09-26T20:52:32.946Z","dependency_job_id":null,"html_url":"https://github.com/csurfer/gitsuggest","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/csurfer%2Fgitsuggest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csurfer%2Fgitsuggest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csurfer%2Fgitsuggest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csurfer%2Fgitsuggest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csurfer","download_url":"https://codeload.github.com/csurfer/gitsuggest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248618219,"owners_count":21134199,"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":["github","lda-model","nltk","repository","suggestion-engine"],"created_at":"2024-07-31T06:00:35.364Z","updated_at":"2025-04-12T18:50:00.647Z","avatar_url":"https://github.com/csurfer.png","language":"Python","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=3BSBW7D45C4YN\u0026lc=US\u0026currency_code=USD\u0026bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted"],"categories":["Python","Tools"],"sub_categories":[],"readme":"# gitsuggest\n\n[![pypiv](https://img.shields.io/pypi/v/gitsuggest.svg)](https://pypi.python.org/pypi/gitsuggest)\n[![pyv](https://img.shields.io/pypi/pyversions/gitsuggest.svg)](https://pypi.python.org/pypi/gitsuggest)\n[![Licence](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/csurfer/gitsuggest/master/LICENSE)\n[![Thanks](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://saythanks.io/to/csurfer)\n\nA tool to suggest github repositories based on the repositories you have shown interest in.\n\n![Demo](https://i.imgur.com/3AfvTxt.gif)\n\n## Whats happening here?\n\n\u003e Programs must be written for people to read, and only incidentally for machines to execute. ~ Hal Abelson\n\nOne quick way to become a better programmer is by reading code written by smart people. Github makes finding such code/repositories easy. At the end of the day we all are interested in our own specific areas and we express this interest by “starring” repositories and/or “following” people who contribute to such repositories.\n\nThis is a tool which uses the repositories you have starred and the repositories that people you follow have starred to help you discover repositories which might be of interest to you.\n\n## How fast is it?\n\nIt totally depends on the number of repositories you have, and people you follow have starred. Based on this number it might take anywhere between a minute to two minutes to give you the list of suggested repositories.\n\n## Setup\n\n### Using pip\n\n```bash\npip install gitsuggest\n```\n\n### Directly from the repository\n\n```bash\ngit clone --recursive https://github.com/csurfer/gitsuggest.git\npython gitsuggest/setup.py install\n```\n\n## Post setup\n\nIf you see a stopwords error, it means that you do not have the corpus stopwords downloaded from NLTK. You can download it using command below.\n\n```bash\npython -c \"import nltk; nltk.download('stopwords')\"\n```\n\n## Usage\n\n### As a command\n\n```bash\n# For help with usage\ngitsuggest --help\n\n# With just username in command to provide password secretly\ngitsuggest \u003cusername\u003e\n\n# Password can be skipped which means you chose to go the unauthenticated\n# way which may raise RateLimitExceeded exception.To skip password enter\n# nothing when prompted for password and press enter.\n\n# NOTE: Using it this way generates a static html page with the search\n# results. This gets opened it in your default browser.\n\n# To fetch better suggestions at the cost of extra time and calls\ngitsuggest \u003cusername\u003e --deep_dive\n\n# Without the --deep_dive flag we limit the suggestion to consider only\n# the repositories you have starred. With --deep_dive we also consider\n# repositories which people you follow have starred.\n```\n\n### As a module\n\n```python\nfrom gitsuggest import GitSuggest\n\n# To use with username password combination\ngs = GitSuggest(username=\u003cusername\u003e, password=\u003cpassword\u003e)\n\n# To use with access_token\ngs = GitSuggest(token=access_token)\n\n# To use without authenticating\ngs = GitSuggest(username=\u003cusername\u003e)\n\n# To use with deep dive flag\ngs = GitSuggest(username=\u003cusername\u003e, password=\u003cpassword\u003e, token=None, deep_dive=True)\ngs = GitSuggest(token=access_token, deep_dive=True)\ngs = GitSuggest(username=\u003cusername\u003e, deep_dive=True)\n\n# To get an iterator over suggested repositories.\ngs.get_suggested_repositories()\n```\n\n## FAQ\n\n**Why do we need to authenticate (with password) to get suggestions, I browse gihub all the time without authenticating?**\n\nYou don’t. From v0.0.4 you can choose to procure suggestions without actually authenticating with a password, but know that **access to github through API is highly rate limited** and it is much lesser for unauthenticated requests when compared to authenticated ones. More details about [ratelimits](https://developer.github.com/v3/search/#rate-limit).\n\nWhat this means is that when used without a password (unauthenticated) it may fail with RateLimitExceeded exception.\n\n## Contributing\n\n### Bug Reports and Feature Requests\n\nPlease use [issue tracker](https://github.com/csurfer/gitsuggest/issues) for reporting bugs or feature requests.\n\n### Development\n\nPull requests are most welcome.\n\n### Buy the developer a cup of coffee!\n\nIf you found the utility helpful you can buy me a cup of coffee using\n\n[![Donate](https://www.paypalobjects.com/webstatic/en_US/i/btn/png/silver-pill-paypal-44px.png)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=3BSBW7D45C4YN\u0026lc=US\u0026currency_code=USD\u0026bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsurfer%2Fgitsuggest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsurfer%2Fgitsuggest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsurfer%2Fgitsuggest/lists"}