{"id":15634882,"url":"https://github.com/azu/license-generator","last_synced_at":"2025-04-05T17:06:33.298Z","repository":{"id":33981291,"uuid":"165270337","full_name":"azu/license-generator","owner":"azu","description":"A Command line tool that generate `LICENSE` file.","archived":false,"fork":false,"pushed_at":"2024-01-27T12:42:40.000Z","size":83,"stargazers_count":127,"open_issues_count":2,"forks_count":20,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-05-03T01:53:46.629Z","etag":null,"topics":["cli","generator","license","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/azu.png","metadata":{"funding":{"github":"azu"},"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":"2019-01-11T16:01:09.000Z","updated_at":"2024-04-30T20:26:37.000Z","dependencies_parsed_at":"2024-10-03T10:58:42.543Z","dependency_job_id":"2761ad23-5e8d-4a65-8759-b6b1f9dc1136","html_url":"https://github.com/azu/license-generator","commit_stats":{"total_commits":57,"total_committers":7,"mean_commits":8.142857142857142,"dds":"0.21052631578947367","last_synced_commit":"1ea8cf3912bd5b34bba23f8a29d67f4c7e4a142c"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azu%2Flicense-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azu%2Flicense-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azu%2Flicense-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azu%2Flicense-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azu","download_url":"https://codeload.github.com/azu/license-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247369952,"owners_count":20927928,"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":["cli","generator","license","rust"],"created_at":"2024-10-03T10:58:32.873Z","updated_at":"2025-04-05T17:06:33.273Z","avatar_url":"https://github.com/azu.png","language":"Rust","funding_links":["https://github.com/sponsors/azu"],"categories":["Rust"],"sub_categories":[],"readme":"# license-generator [![Test](https://github.com/azu/license-generator/actions/workflows/test.yml/badge.svg)](https://github.com/azu/license-generator/actions/workflows/test.yml)\n\nA Command line tool that generates `LICENSE` file.\n\n## Installation\n\nInstall with [Cargo](https://crates.io/):\n\n    cargo install license-generator\n\n## Usage\n\n    $ license-generator --author \u003cname\u003e [LICENSE_TYPE]\n\n    [LICENSE_TYPE]:\n    - AGPL\n    - Apache\n    - CC-BY\n    - CC-BY-NC\n    - CC-BY-NC-SA\n    - CC-BY-SA\n    - CC0\n    - GPL\n    - LGPL\n    - MIT\n    - MPL\n    - Unlicense\n\n    Options:\n      -l, --list lists the available licenses\n      --author input author name. Default: `GitName \u003cGitEmail\u003e`\n      --project input project name that is required by some license\n      --year input license year\n      --output path to the output. Default: ./LICENSE\n\n## Supported Licenses\n\nThis CLI supports the following licenses:\n\n- [AGPL-3.0](http://www.gnu.org/licenses/agpl-3.0)\n- [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0)\n- [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/)\n- [CC-BY-NC-4.0](https://creativecommons.org/licenses/by-nc/4.0/)\n- [CC-BY-NC-SA-4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)\n- [CC-BY-SA-4.0](https://creativecommons.org/licenses/by-sa/4.0/)\n- [CC0-1.0](http://creativecommons.org/publicdomain/zero/1.0/)\n- [GPL-3.0](http://www.gnu.org/licenses/gpl-3.0)\n- [LGPL-3.0](http://www.gnu.org/licenses/lgpl-3.0)\n- [MIT](https://opensource.org/licenses/MIT)\n- [MPL-2.0](https://www.mozilla.org/en-US/MPL/2.0/)\n- [Unlicense](http://unlicense.org/)\n\n## Examples\n\n### Generate MIT LICENSE\n\n    license-generator MIT\n\n### Output to stdout\n\n    license-generator MIT --output /dev/stdout\n\n### Multi LICENSE\n\n    license-generator MIT Apache\n    # generates `LICENSE-MIT` and `LICENSE-APACHE`\n\n### Specify year and author\n\n    license-generator MIT --author azu --year 2024\n\n## Tests\n\n    cargo test\n\n## Releases\n\nUse [cargo-release](https://github.com/sunng87/cargo-release).\n\n    cargo release --execute --publish {patch,minor,major}\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## License\n\nMIT © azu\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazu%2Flicense-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazu%2Flicense-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazu%2Flicense-generator/lists"}