{"id":13529618,"url":"https://github.com/captainsafia/legit","last_synced_at":"2025-04-05T09:06:19.861Z","repository":{"id":149013853,"uuid":"83607392","full_name":"captainsafia/legit","owner":"captainsafia","description":"Add licenses to projects at the command line","archived":false,"fork":false,"pushed_at":"2019-05-20T17:44:24.000Z","size":2213,"stargazers_count":572,"open_issues_count":10,"forks_count":19,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-29T08:05:38.756Z","etag":null,"topics":["command-line-tool","license-management","open-source"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/captainsafia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-03-01T22:17:28.000Z","updated_at":"2025-03-06T05:20:41.000Z","dependencies_parsed_at":"2023-06-16T12:30:43.706Z","dependency_job_id":null,"html_url":"https://github.com/captainsafia/legit","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/captainsafia%2Flegit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainsafia%2Flegit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainsafia%2Flegit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainsafia%2Flegit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/captainsafia","download_url":"https://codeload.github.com/captainsafia/legit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247312077,"owners_count":20918344,"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":["command-line-tool","license-management","open-source"],"created_at":"2024-08-01T07:00:37.894Z","updated_at":"2025-04-05T09:06:19.780Z","avatar_url":"https://github.com/captainsafia.png","language":"JavaScript","funding_links":[],"categories":["Development","JavaScript","\u003ca name=\"programming-boilerplate\"\u003e\u003c/a\u003eProgram templates and boilerplate"],"sub_categories":["Chat","Games"],"readme":"# legit\n\nlegit is a command line application that allows you to automagically generate a\nLICENSE file for the current working directory that you are in or a license header\nfor a file where applicable.\n\n### Installation\n\n```\nnpm install --global @captainsafia/legit\n```\n\n### Usage\n\n```\n  Usage: legit [options] [command]\n\n\n  Commands:\n\n    list|l                     List all available licenses\n    put|p [options] \u003clicense\u003e  Put a license in this directory\n\n  Options:\n\n    -h, --help     output usage information\n    -V, --version  output the version number\n\n  Usage: put|p [options] \u003clicense\u003e\n\n  Put a license in this directory\n\n  Options:\n\n    -h, --help        output usage information\n    -f --file \u003cfile\u003e  The file to add a header to\n    -u --user [user]  The user/organization who holds the license\n    -y --year [year]  The year the license is in effect\n```\n\n![Legit Demo](https://cloud.githubusercontent.com/assets/1857993/23821404/bea5dfc2-05f6-11e7-8525-7f5bd88a7829.gif)\n\n### Currently Supported Licenses\n- BSD 2-clause Simplified License (bsd-2-clause)\n- GNU General Public License v2.0 (gpl-2.0)\n- BSD 3-clause New or Revised License (bsd-3-clause)\n- The Unlicense (unlicense)\n- GNU Lesser General Public License v2.1 (lgpl-2.0)\n- GNU General Public License v3.0 (gpl-3.0)\n- MIT License (mit)\n- GNU Affero General Public License v3.0 (agpl-3.0)\n- Eclipse Public License 1.0 (epl-1.0)\n- Apache License 2.0 (apache-2.0)\n- Mozilla Public License 2.0 (mpl-2.0)\n- GNU Lesser General Public License v3.0 (lgpl-3.0)\n- ISC License (ics)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptainsafia%2Flegit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaptainsafia%2Flegit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptainsafia%2Flegit/lists"}