{"id":13709517,"url":"https://github.com/sean-clayton/licensor","last_synced_at":"2025-10-30T10:03:12.092Z","repository":{"id":48654179,"uuid":"300752712","full_name":"sean-clayton/licensor","owner":"sean-clayton","description":"Simple LICENSE file generator","archived":false,"fork":false,"pushed_at":"2022-01-12T21:34:28.000Z","size":40,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T20:07:34.667Z","etag":null,"topics":["cli","license","license-generator","rust","spdx"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sean-clayton.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":"2020-10-02T22:51:58.000Z","updated_at":"2022-07-05T15:19:32.000Z","dependencies_parsed_at":"2022-08-27T00:42:55.444Z","dependency_job_id":null,"html_url":"https://github.com/sean-clayton/licensor","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sean-clayton%2Flicensor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sean-clayton%2Flicensor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sean-clayton%2Flicensor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sean-clayton%2Flicensor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sean-clayton","download_url":"https://codeload.github.com/sean-clayton/licensor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sean-clayton%2Flicensor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259176015,"owners_count":22817097,"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","license","license-generator","rust","spdx"],"created_at":"2024-08-02T23:00:40.653Z","updated_at":"2025-10-30T10:03:12.032Z","avatar_url":"https://github.com/sean-clayton.png","language":"Rust","funding_links":[],"categories":["Licensing Tools"],"sub_categories":[],"readme":"# Licensor\n\nA bare minimum cli tool to print out SPDX licenses to stdout.\n\n### Usage\n\n#### Just print to stdout\n\n- `licensor Unlicense`\n- `licensor 0BSD`\n\n#### Create a LICENSE file\n\n- `licensor Unlicense \u003e LICENSE`\n\n### Non-SPDX Licenses\n\nWe have support for non-SPDX licenses.\nThe current non-SPDX licenses we support are found in the [`licenses` directory](licenses).\n[Submit a Pull Request](https://github.com/sean-clayton/licensor/pulls) if you wish to add more licenses.\nPlease keep the naming convention the same: `LicenseRef-IDENTIFIER`.\n\n### Future Plans\n\n- ~~**Default to stdout.** Make full use of the beauty of a cli. `licensor Unlicense \u003e LICENSE`~~\n- Add full CLI toolkit\n  - `licensor --help` Self-explanatory\n  - `licensor --version` Self-explanatory\n  - `licensor list` List out all possible IDs.\n  - `licensor [IDENTIFIER] --header` Renders the associated header to stdout\n  - _**Maybe**_ `licensor wizard` which does a questionaire to help you figure out which license you should choose. Depends on how hard this is to do with my limited knowledge of rust 😅\n- Man page. No idea how hard that'll be. Never made one of those before 😅\n- ~~Add piping out to stdout support~~\n- Improve target breadth\n  - macOS versions from one year ago onwards\n  - Ubuntu LTS version\n  - Ubuntu versions from 1 year ago onwards\n  - Windows 10 versions from 1 year ago onwards\n- Improve error handling\n  - Don't just throw when given an incorrect ID\n  - Maybe give suggestions based off of input if no license found, eg. giving something like `MIY` suggests `MIT`, `BSD-2` suggests `BSD-2-Clause`\n- Provide metadata\n  - SPDX link to license\n  - FSF Free/Libre?\n  - OSI Approved?\n  - Full name?\n  - Permissions?\n  - Deprecated?\n  - See also\n  - Header\n\n### Not planned\n\n- Adding file headers.\n  - By adding stdout support alongside with `--header`, some `sed` magic should get you this.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsean-clayton%2Flicensor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsean-clayton%2Flicensor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsean-clayton%2Flicensor/lists"}