{"id":16840074,"url":"https://github.com/senorprogrammer/spdx-racer","last_synced_at":"2025-03-18T04:44:25.010Z","repository":{"id":52181996,"uuid":"364720902","full_name":"senorprogrammer/spdx-racer","owner":"senorprogrammer","description":"🏂 Tool to automatically insert SPDX short license identifiers into the tops of files","archived":false,"fork":false,"pushed_at":"2021-05-06T22:43:32.000Z","size":1254,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-24T11:27:31.571Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/senorprogrammer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-05T22:25:16.000Z","updated_at":"2021-05-06T22:43:34.000Z","dependencies_parsed_at":"2022-08-23T23:21:14.498Z","dependency_job_id":null,"html_url":"https://github.com/senorprogrammer/spdx-racer","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/senorprogrammer%2Fspdx-racer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senorprogrammer%2Fspdx-racer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senorprogrammer%2Fspdx-racer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senorprogrammer%2Fspdx-racer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/senorprogrammer","download_url":"https://codeload.github.com/senorprogrammer/spdx-racer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244159989,"owners_count":20408019,"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":[],"created_at":"2024-10-13T12:35:22.266Z","updated_at":"2025-03-18T04:44:24.991Z","avatar_url":"https://github.com/senorprogrammer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cpre\u003e\n   _____ ____  ____ _  __    ____                      \n  / ___// __ \\/ __ \\ |/ /   / __ \\____ _________  _____\n  \\__ \\/ /_/ / / / /   /   / /_/ / __ `/ ___/ _ \\/ ___/\n ___/ / ____/ /_/ /   |   / _, _/ /_/ / /__/  __/ /    \n/____/_/   /_____/_/|_|  /_/ |_|\\__,_/\\___/\\___/_/     \n                                                       \n\u003c/pre\u003e\n\nA command line tool for inserting [SPDX](https://spdx.dev) [short identifiers](https://spdx.github.io/spdx-spec/appendix-V-using-SPDX-short-identifiers-in-source-files/) into the tops of files.\n\n* [Usage](#usage)\n   * [Adding a License](#adding-a-license)\n   * [Removing a License](#removing-a-license)\n\n## Usage\n\n### Adding a License\n\n```\n\u003e spdx-racer --files go,rs --license MPL-2.0\n```\n\nwill insert `// SPDX-License-Identifier: MPL-2.0` at the top of all Go and Rust files in the current directory.\n\nIf the file already has a license entry, it ignores the file.\n\n### Removing a License\n\nTo delete a license, add the `--delete` or `-d` flag to the command:\n\n```\n\u003e spdx-racer --files go,rs --license MPL-2.0 -d\n```\n\nwill delete `// SPDX-License-Identifier: MPL-2.0` from the top of all Go and Rust files in the current directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenorprogrammer%2Fspdx-racer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsenorprogrammer%2Fspdx-racer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenorprogrammer%2Fspdx-racer/lists"}