{"id":38198254,"url":"https://github.com/frequency403/license-me","last_synced_at":"2026-01-17T00:25:44.986Z","repository":{"id":163530113,"uuid":"542040469","full_name":"frequency403/license-me","owner":"frequency403","description":"Create licenses for your unlicensed projects on your machine | Idea came from https://github.com/bukinoshita/license-me - thanks for that! =)","archived":false,"fork":false,"pushed_at":"2025-08-20T13:49:17.000Z","size":193,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-20T15:37:32.382Z","etag":null,"topics":["cli","cli-app","cli-application","cli-tools","git","github","hacktoberfest","hacktoberfest2021","license","license-me","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/frequency403.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-09-27T11:03:44.000Z","updated_at":"2025-08-20T13:49:14.000Z","dependencies_parsed_at":"2023-11-23T22:31:37.145Z","dependency_job_id":"595d0327-ff48-4ecd-9506-5c6ad18ef04f","html_url":"https://github.com/frequency403/license-me","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/frequency403/license-me","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frequency403%2Flicense-me","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frequency403%2Flicense-me/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frequency403%2Flicense-me/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frequency403%2Flicense-me/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frequency403","download_url":"https://codeload.github.com/frequency403/license-me/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frequency403%2Flicense-me/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28490051,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T23:55:29.509Z","status":"ssl_error","status_checked_at":"2026-01-16T23:55:29.108Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","cli-app","cli-application","cli-tools","git","github","hacktoberfest","hacktoberfest2021","license","license-me","rust"],"created_at":"2026-01-17T00:25:44.339Z","updated_at":"2026-01-17T00:25:44.979Z","avatar_url":"https://github.com/frequency403.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LICENSE-ME\n\n#### Idea came from https://github.com/bukinoshita/license-me - thanks for that! =)\n\nA little CLI-Program for finding ALL possible GIT repositorys on your Machine.\nIt checks the contents of the folder for an existing \"LICENSE\" file, and if none is found,\nit will present you the directory(ies) where the file is missing.\n\n## What to expect:\nThis program helps you with:\n\n- Licensing your unlicensed projects\n- Creating a dummy README.md if there is none\n- Updating current licenses in your projects (and change links in your readme)\n- Replace existing licenses (and replace the links in your readme)\n\n## What not to expect:\n\n- Updating the repository on GitHub (this you will have to do yourself)\n\n## How the program works\n\n### !This program needs a Internet Connection to work properly!\n\nThe Program starts with fetching all available license versions from the Github-API.\nWhen all Licenses could be fetched Properly (Yes, you can reach the API limit without a Token!)  \nthe program starts with searching on all Drives (even your USB if plugged in!)\nfor folders with a \".git\" folder in it, and assumes that there is a valid Git-Repository.\n\nThe folder name where the .git directory is in, is assumed as \"Project Title\" and will be Inserted\nin the dummy README.md - otherwise this function will not take effect anywhere.\n\nIf the Program found a README.md in the \"repository\" and no \"LICENSE\" file, then\nit will create a License for you, appending the License Link to the **end** of the Readme file.\n\nAlso, if you wanted to append a second (or third, or fourth....) license to your Project it will create a \nFile named like this: \"LICENSE-SHORTNAME\" and add a link to the **end** of the Readme.md that was found.\nIf the program finds a ```## LICENSE``` section, it will replace or extend it, depending on the mode it was executed.\n\nIf you want to replace a current license the Program will present you all directories with and without a License.\nYou should know which repository you want to work in. It will read the README.md and searches for\na \"## License\" section. If the Program cant find one, there will happen nothing, you have to link the License yourself.\n\nThen it will split the README.md file into sections separated by \"##\" and replaces the \"## License\" part with a new, formatted\nLicense section. Then the README.md will be overwritten. So there **SHOULD** be no changes made to other parts of your README.\n\nIf the first run is done, you can choose to execute the program again, it will ask you what to do.\n\n## Configuration\nThe Program has now the possibility to be configurated through a JSON-config-file!\nThe Config-file will always be in the directory where the binary is located!\n\nIf there is no File, it will create an empty file for you.\nIf there is a file, it will load the information from it.\nif there is a file, and it is malformed it will delete the old and create a empty file.\n\nThe options, that can be configurated:\n\n### File Contents, when the program creates it.\n`````json\n{\n  \"github_user\": \"\", \n  \"github_api_token\": null,\n  \"readme_template_link\": \"https://raw.githubusercontent.com/PurpleBooth/a-good-readme-template/main/README.md\",\n  \"replace_in_readme_phrase\": \"# Project Title\"\n}\n`````\n\n#### You can choose to modify the file directly, or let the program edit it for you.\n#### You can use the options `````--github-user \u003cUSER\u003e````` or `````--github-token \u003cTOKEN\u003e````` to set the values through the program.\n\nIf you prefer to use another readme-template put in the link where the ***RAW PLAIN TEXT***  \nis reachable through the internet and replace the \"prhase\", that is meant for the Project title, so that the Program can replace it.\n\n\n\n## Installation\n\n### Build it yourself\nDownload the Sourcecode, then in the directory execute in terminal:\n\n```bash\ncargo install --path .\n```\n\n### Install Using Cargo\n\n```bash\ncargo install --git https://github.com/frequency403/license-me.git\n```\n### Download pre-built binary's\n\nDownload from the release page for your appropriate operating system.\n\n## Usage\n\n### License-me works on BOTH Windows and Unix-like operating Systems!\n```bash\n# Normal invocation of the Program:\n\n#Windows:\n./license-me.exe\n#Unix:\n./license-me\n\n#additional flags:\n\n#Enter your Token here, it will be saved in the settings file.\nlicense-me --github-token \u003cTOKEN\u003e\n#Enter your Username here, it will be saved in the settings file.\nlicense-me --github-user \u003cUSERNAME\u003e\n\n## !! IMPORTANT !! Without these credentials the Program will not work!\n\n#Debug Mode (Verbose + Additional Information)\nlicense-me -d\n#Verbose Mode (It prints out nearly everything it does)\nlicense-me -v\n\n#Include repos, where a license already exists, and add another to it!\nlicense-me --append-license\n#Include repos, where a license already exists, and replace it!\nlicense-me --replace-license \n#Include all repos assumed as a git repository!\nlicense-me --show-all \n#Include repos with a license and delete the license\nlicense-me --unlicense\n\n```\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease feel free to contact me if there is a problem with understanding the Code, or general questions about the Program.\n\n## License\n[MIT](http://choosealicense.com/licenses/mit/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrequency403%2Flicense-me","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrequency403%2Flicense-me","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrequency403%2Flicense-me/lists"}