{"id":17649113,"url":"https://github.com/bndw/go-license-report","last_synced_at":"2025-07-02T08:33:30.936Z","repository":{"id":57624771,"uuid":"367696201","full_name":"bndw/go-license-report","owner":"bndw","description":"Generate a csv of a Go module's dependencies and licenses","archived":false,"fork":false,"pushed_at":"2021-05-17T18:31:26.000Z","size":21,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-02T17:41:53.834Z","etag":null,"topics":["csv","dependencies","go","license"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bndw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-15T17:47:43.000Z","updated_at":"2021-10-22T01:58:31.000Z","dependencies_parsed_at":"2022-08-26T22:22:05.677Z","dependency_job_id":null,"html_url":"https://github.com/bndw/go-license-report","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bndw/go-license-report","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bndw%2Fgo-license-report","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bndw%2Fgo-license-report/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bndw%2Fgo-license-report/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bndw%2Fgo-license-report/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bndw","download_url":"https://codeload.github.com/bndw/go-license-report/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bndw%2Fgo-license-report/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263102727,"owners_count":23414159,"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":["csv","dependencies","go","license"],"created_at":"2024-10-23T11:24:08.492Z","updated_at":"2025-07-02T08:33:30.867Z","avatar_url":"https://github.com/bndw.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-license-report\n\nGenerates a CSV report of dependencies and their licenses by reading\nthe `go.mod` file. Dependencies missing a license are included in the output.\n\nExample output:\n```csv\nDependency,Version,URL,License,LicenseURL\ngithub.com/google/go-github,v17.0.0+incompatible,https://github.com/google/go-github,\"BSD 3-Clause \"New\"\" or \"\"Revised\"\" License\",https://api.github.com/licenses/bsd-3-clause\ngithub.com/google/go-querystring,v1.0.0,https://github.com/google/go-querystring,\"BSD 3-Clause \"New\"\" or \"\"Revised\"\" License\",https://api.github.com/licenses/bsd-3-clause\ngithub.com/stretchr/testify,v1.3.0,https://github.com/stretchr/testify,MIT License,https://api.github.com/licenses/mit\ngolang.org/x/mod,v0.4.2,https://golang.org/x/mod,,\ngolang.org/x/oauth2,v0.0.0-20190402181905-9f3314589c9a,https://golang.org/x/oauth2,,\n```\n\n## Quickstart \n\n1. Create a Github Token. Without one, you're limited to 60 API calls to Github for an hour.\n2. Export your Github token\n    ```\n    export GITHUB_TOKEN=\u003cyour_token\u003e\n    ```\n3. Run it in the root of a Go project\n    ```\n    go-license-report\n    ```\n\nIf you want to ignore certain dependencies, like internal org dependencies, \nuse the `-ignore` flag:\n\n```\ngo-license-report -ignore github.com/myUser\n```\n\nIf you want to fail when a dependency does not have a license, use the \n`-strict` flag.\n\n```\ngo-license-report -strict\n```\n\nUse the `-help` flag for detailed usage information.\n\n## Similar projects\n\nThe below table compares go-license-report to similar projects.\n\n| Project | Module Name | Module Version | Module URL | Module License | Module License URL |\n| ------- | ----------- | -------------- | ---------- | -------------- | ------------------ |\n| [go-license-report](https://github.com/bndw/go-license-report) | X | X | X | X | X |\n| [Glice](https://github.com/ribice/glice) | X |  | X | X |  |\n| [go-licenses](https://github.com/google/go-licenses/) | X |  |  | X | X |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbndw%2Fgo-license-report","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbndw%2Fgo-license-report","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbndw%2Fgo-license-report/lists"}