{"id":13937134,"url":"https://github.com/harshasrinivas/cli-github","last_synced_at":"2026-01-14T08:34:02.599Z","repository":{"id":62562661,"uuid":"38127573","full_name":"harshasrinivas/cli-github","owner":"harshasrinivas","description":"Github within the CLI :computer:","archived":false,"fork":false,"pushed_at":"2017-04-18T09:34:13.000Z","size":1020,"stargazers_count":174,"open_issues_count":1,"forks_count":17,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-01-05T12:40:51.436Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/harshasrinivas.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-06-26T18:39:37.000Z","updated_at":"2025-12-11T08:28:29.000Z","dependencies_parsed_at":"2022-11-03T15:17:53.654Z","dependency_job_id":null,"html_url":"https://github.com/harshasrinivas/cli-github","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/harshasrinivas/cli-github","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshasrinivas%2Fcli-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshasrinivas%2Fcli-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshasrinivas%2Fcli-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshasrinivas%2Fcli-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harshasrinivas","download_url":"https://codeload.github.com/harshasrinivas/cli-github/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshasrinivas%2Fcli-github/sbom","scorecard":{"id":456355,"data":{"date":"2025-08-11","repo":{"name":"github.com/harshasrinivas/cli-github","commit":"33e08d0325b48f908506ca76e501cfb890a9a2cd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":1,"reason":"Found 4/27 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T09:47:11.652Z","repository_id":62562661,"created_at":"2025-08-19T09:47:11.652Z","updated_at":"2025-08-19T09:47:11.652Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:31:27.429Z","status":"ssl_error","status_checked_at":"2026-01-14T08:31:19.098Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-08-07T23:03:19.193Z","updated_at":"2026-01-14T08:34:02.581Z","avatar_url":"https://github.com/harshasrinivas.png","language":"Python","funding_links":[],"categories":["Tips, tricks, tools, and add-ons for GitHub power users","Python"],"sub_categories":[],"readme":"# `cli-github`\n\n**A Command-Line Python Application to display Github from the CLI !** ![License](http://img.shields.io/badge/License-GNU%20GPL%20v3-blue.svg)\n\n\n\n|  Version |  Downloads  |\n| -------- |  ---------  |\n| [![PyPI version](https://badge.fury.io/py/cli_github.svg)](http://badge.fury.io/py/cli_github) | [![PyPi downloads](https://img.shields.io/badge/Downloads-5k%20total-brightgreen.svg)](https://pypi.python.org/pypi/cli-github)\n\n![gif](https://github.com/harshasrinivas/cli-github/blob/master/images/my.gif)\n\n# Installation\n\n## Using `pip`\n\n`pip install cli-github`\n\n## Get the latest build from the Source\n\n* Clone the repo `git clone https://github.com/harshasrinivas/cli-github.git`\n* Run `python setup.py install`\n\n\n## Building debian package\n\n* Clone the repo.\n* Execute `bash build_deb/build_deb.sh`\n\n## Dependencies\n\n* prettytable `pip install prettytable`\n* future `pip install future`\n* python-dateutil `pip install python-dateutil`\n\n# Setting Up\n\n**Github Token as Temporary Environment Variable**\n\n`$ GITHUB_TOKEN=\u003cyour-token-with-quotes\u003e`\n\n**Github Token as Permanent Environment Variable**\n\n`$ echo \"export GITHUB_TOKEN=\u003cyour-token-with-quotes\u003e\" | sudo tee -a /etc/environment`\n\n**Without saving your Environment Variable**\n\n`$ cat cli_github/mains.py | sed -e \"s/API_TOKEN = os.environ.get('GITHUB_TOKEN')/API_TOKEN = \u003cyour-token-with-quotes\u003e/\" \u003e cli_github/mains.py`\n\n\u003cbr\u003e\n\n# Options\n\n```sh\n-h, --help          show this help message and exit\n-n URL, --url URL   \n\t\t\t\t\tGet repos from the user profile URL/USERNAME\n-r RECURSIVE, --recursive RECURSIVE\n                    Get the file structure from the repo link URL\n-R README, --readme README\n                    Get the raw version of the repository readme file from repo link URL\n-re RELEASES, --releases RELEASES\n                 \tGet the list of releases from repo link\n-dt TARBALL, --tarball TARBALL\n                    Download the tarball from repo link\n-dz ZIPBALL, --zipball ZIPBALL\n\t\t\t\t\tDownload the zipball from repo link\n-op OPENFILE, --openfile OPENFILE\n                    Show the contents of the given file in a repo\n-f FOLLOWERS, --followers FOLLOWERS\n                    Get followers of the user\n-fo FOLLOWING, --following FOLLOWING\n                    Get people following the user\n-c CONTRIBUTORS, --contributors CONTRIBUTORS\n                   \tGet contributors of a repo\n```\n\n\n\n# Usage\n\nDisplay the list of a user's repositories from the username/URL, along with the number of stargazers\n\n`$ cli-github -n harshasrinivas`\n\nDisplay all the files and folders within a repository recursively from the repository URL, along with their sizes\n\n`$ cli-github -r harshasrinivas/cli-github`\n\nGet the RAW version of the readme file of a repository from the repository URL\n\n`$ cli-github -R harshasrinivas/cli-github`\n\nGet the list of releases from the user's repo link\n\n`$ cli-github -re harshasrinivas/cli-github`\n\nDownload the tarball of the any repo\n\n`$ cli-github -dt harshasrinivas/cli-github`\n\nDownload the zipball of the any repo\n\n`$ cli-github -dz harshasrinivas/cli-github`\n\nList the contents of the given folder\n\n`$ cli-github -op harshasrinivas/cli-github/setup.py`\n\nGet the list of followers of the user\n\n`$ cli-github -f harshasrinivas`\n\nGet the list of people following the user\n\n`$ cli-github -fo harshasrinivas`\n\nGet the contributors of a repo\n\n`$ cli-github -fo harshasrinivas/cli-github`\n\n\n# Live Demo\n\n[**DEMO**](http://showterm.io/aaa79dee63aad0695e304#fast) : Display the list of a user's repositories from the username/URL, along with the number of stargazers\n\n[**DEMO**](http://showterm.io/99e16e6ae35727999eb23#fast) : Display all the folders and files within a repository recursively from the repository URL, along with their sizes\n\n[**DEMO**](http://showterm.io/820b37fab14c7ed4cf7ff#fast) : To get the RAW version of the readme file of a repository from the repository URL\n\n[**DEMO**](http://showterm.io/24a6ceec356bb672ec24f#fast) : To get the list of releases from the user's repository URL\n\n[**DEMO**](http://showterm.io/bb2245e764781b11b1b78#fast) : Download the tarball from the user's repository URL\n\n[**DEMO**](http://showterm.io/910e8e424f28cfe3b4a22#fast) : Download the zipball from the user's repository URL\n\n[**DEMO**](http://showterm.io/4dcfaca8c50f912e3c609#fast) : Show the contents of a given file/folder\n\n[**DEMO**](http://showterm.io/9bfd25a48074fb2ca8211#fast) : List the followers of a user\n\n# Contribute\n\nIf you want to add features, improve them, or report issues, feel free to send a pull request.\n\n# Contributors\n\n* [SanketDG](https://github.com/SanketDG)\n* [Pratik151](https://github.com/Pratik151)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshasrinivas%2Fcli-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharshasrinivas%2Fcli-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshasrinivas%2Fcli-github/lists"}