{"id":14263171,"url":"https://github.com/mislav/gh-license","last_synced_at":"2025-04-15T17:10:14.608Z","repository":{"id":66006328,"uuid":"457494346","full_name":"mislav/gh-license","owner":"mislav","description":"GitHub CLI extension to add a license to the current project","archived":false,"fork":false,"pushed_at":"2022-02-23T17:23:03.000Z","size":2,"stargazers_count":27,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-24T00:12:45.546Z","etag":null,"topics":["gh-extension"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/mislav.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":"2022-02-09T19:11:05.000Z","updated_at":"2024-12-19T13:58:11.000Z","dependencies_parsed_at":"2023-04-06T04:21:04.343Z","dependency_job_id":null,"html_url":"https://github.com/mislav/gh-license","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mislav%2Fgh-license","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mislav%2Fgh-license/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mislav%2Fgh-license/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mislav%2Fgh-license/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mislav","download_url":"https://codeload.github.com/mislav/gh-license/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231570304,"owners_count":18394111,"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":["gh-extension"],"created_at":"2024-08-22T13:03:03.067Z","updated_at":"2024-12-27T23:48:41.994Z","avatar_url":"https://github.com/mislav.png","language":"Shell","funding_links":[],"categories":["gh-extension","🧩 Categories"],"sub_categories":["Issue / PR Management"],"readme":"# gh license\n\nAdd a LICENSE file to the current directory.\n\nUsage:\n```sh\n$ gh extension install mislav/gh-license\n\n# list available licenses\n$ gh license\n\n# add a specific license\n$ gh license bsd-3-clause\n```\n\nThe result will be a LICENSE file in the current directory:\n```\n$ head LICENSE\nBSD 3-Clause License\n\nCopyright (c) 2022, Mislav Marohnić\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this\n   list of conditions and the following disclaimer.\n```\n\nYou can also choose a license interactively through the web interface:\n```\ngh license --web\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmislav%2Fgh-license","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmislav%2Fgh-license","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmislav%2Fgh-license/lists"}