{"id":15648022,"url":"https://github.com/mte90/gh-license","last_synced_at":"2025-08-22T03:31:40.649Z","repository":{"id":57434210,"uuid":"51211578","full_name":"Mte90/GH-License","owner":"Mte90","description":"Scan your online repo, check if it is missing the license (or install the Git Hooks in your machine)","archived":false,"fork":false,"pushed_at":"2023-10-18T15:24:30.000Z","size":125,"stargazers_count":44,"open_issues_count":13,"forks_count":23,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-16T02:31:03.125Z","etag":null,"topics":["github","hacktoberfest","legal","license"],"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/Mte90.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-06T16:58:00.000Z","updated_at":"2025-02-05T11:13:45.000Z","dependencies_parsed_at":"2022-08-27T23:10:11.262Z","dependency_job_id":"9c2a20a7-a559-4053-b90c-f02973916747","html_url":"https://github.com/Mte90/GH-License","commit_stats":{"total_commits":95,"total_committers":22,"mean_commits":4.318181818181818,"dds":0.6,"last_synced_commit":"817ba6c07b47df89d50b53f9d11aded101cf7c14"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/Mte90/GH-License","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mte90%2FGH-License","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mte90%2FGH-License/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mte90%2FGH-License/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mte90%2FGH-License/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mte90","download_url":"https://codeload.github.com/Mte90/GH-License/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mte90%2FGH-License/sbom","scorecard":{"id":97079,"data":{"date":"2025-08-11","repo":{"name":"github.com/Mte90/GH-License","commit":"56d3fa92bf63f76f2c6799e778f7db2fb8f9f6be"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"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":"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":"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":"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":"Code-Review","score":2,"reason":"Found 8/27 approved changesets -- score normalized to 2","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":"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":"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":"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":"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 11 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-15T09:16:52.417Z","repository_id":57434210,"created_at":"2025-08-15T09:16:52.417Z","updated_at":"2025-08-15T09:16:52.417Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271579411,"owners_count":24784244,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["github","hacktoberfest","legal","license"],"created_at":"2024-10-03T12:22:46.808Z","updated_at":"2025-08-22T03:31:40.376Z","avatar_url":"https://github.com/Mte90.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHosting License\n[![License](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0)\n\nThis script scans every repo of a user (on GitHub/Bitbucket/GitLab or other providers available) for:\n\n* Check if include a license file\n* Download a license to the project folder (automatically execute a `git commit`)\n* Adds a license badge in the readme (automatically execute a `git commit`)\n* Include git hooks to check if your project has one.\n\nRemember, without a license file your project is proprietary even if it is online!\n\n\n## Install\n\n```\npip3 install gh-license\n```\n\nIn case of a git clone:\n\n```\npip3 install -e ./folder-of-the-repo\n```\n\n_**Info:** This overwrites the `init.templatedir` global git config after creating a backup of the current value in `~/.gh-license/config.ini` with the key `templatedir` in section `main`.  \nThe installed git template contains a hook that will be installed every time you run `git init`. The hook reminds you to install a license if you ever forget, and disables itself after adding one._\n\n\n## Example\n\n    gh-license --scan Mte90\n\nWith this command you will get a report in a file called Mte90-github-license-report\n\n    gh-license --scan Mte90 --provider bitbucket\n\nWith this command you will get a report in a file called Mte90-bitbucket-license-report\n\n    gh-license --scan Mte90 --report my-report\n\nWith this command you will get a report in a file called my-report\n\n    gh-license --license-list\n\nWith this command will be showed the licenses avalaible\n\n    gh-license --license GPLv3\n\nWith this command, a GPLv3 license will be downloaded, a shields will be added in the readme and if Git is available a commit will be added and the changes will be pushed to the repo.\n\n    gh-license --license GPLv3 -- origin upstream\n\nWith this command the commit will be pushed on the upstream origin\n\n[Example of output](https://gist.github.com/Mte90/4c5ec76c94afa61983f8)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmte90%2Fgh-license","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmte90%2Fgh-license","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmte90%2Fgh-license/lists"}