{"id":15837246,"url":"https://github.com/sambacha/spdx-runner","last_synced_at":"2026-04-11T14:01:55.654Z","repository":{"id":53693652,"uuid":"283987866","full_name":"sambacha/spdx-runner","owner":"sambacha","description":"SPDX License check via CI/CLI with expandable dict","archived":false,"fork":false,"pushed_at":"2021-04-16T08:39:50.000Z","size":200,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T16:21:39.138Z","etag":null,"topics":["bash","ethereum","foss","git","grep","oss","python","shell","solidity","spdx","spdx-license-identifier","zsh"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sambacha.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-07-31T08:49:30.000Z","updated_at":"2021-03-27T01:22:51.000Z","dependencies_parsed_at":"2022-09-19T08:51:33.211Z","dependency_job_id":null,"html_url":"https://github.com/sambacha/spdx-runner","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sambacha/spdx-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fspdx-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fspdx-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fspdx-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fspdx-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sambacha","download_url":"https://codeload.github.com/sambacha/spdx-runner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fspdx-runner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31682953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"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":["bash","ethereum","foss","git","grep","oss","python","shell","solidity","spdx","spdx-license-identifier","zsh"],"created_at":"2024-10-05T15:21:32.967Z","updated_at":"2026-04-11T14:01:55.607Z","avatar_url":"https://github.com/sambacha.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SPDX Runner\n\n\u003e CLI/CI Software License check\n\n[![Code Style: Black](https://github.com/sambacha/spdx-runner/actions/workflows/black.yml/badge.svg?branch=master)](https://github.com/sambacha/spdx-runner/actions/workflows/black.yml)\n\n## Overview\n\nVerifies that files include SPDX license headers\n\nCheck file extensions have the allowed/acceptable SPDX headers for them.\n\n```\nC source: // SPDX-License-Identifier: \u003cSPDX License Expression\u003e\nC header: /* SPDX-License-Identifier: \u003cSPDX License Expression\u003e */\nASM:      /* SPDX-License-Identifier: \u003cSPDX License Expression\u003e */\nscripts:  # SPDX-License-Identifier: \u003cSPDX License Expression\u003e\n.rst:     .. SPDX-License-Identifier: \u003cSPDX License Expression\u003e\n.dts{i}:  // SPDX-License-Identifier: \u003cSPDX License Expression\u003e\n```\n\n## Usage\n\nProvide a dictionary, with file types as the keys and a list of accepted licenses as the values.\n\n### Example\n\n```python\n      {\n        \"sol\": [\"MIT\", \"BSD-3\"],\n        \"py\": [\"ISC\"]\n      }\n```\n\n### License Header Examples\n\n#### MDX/JSX\n\n```\n/_SPDX-License-Identifier: Apache-2.0\nSPDXVersion: SPDX-2.2\nSPDX-FileCopyrightText: Copyright 2020 \u003cLicensor\u003e_/\n```\n\n#### REGULAR\n\n```\n// SPDX-License-Identifier: Apache-2.0\n// SPDXVersion: SPDX-2.2\n// SPDX-FileCopyrightText: Copyright 2020 \u003cLicensor\u003e\n```\n\n#### BASH/YAML/ENV\n\n```\n# SPDX-License-Identifier: Apache-2.0\n\n# SPDXVersion: SPDX-2.2\n\n# SPDX-FileCopyrightText: Copyright 2020 \u003cLicensor\u003e\n```\n\n#### MARKUP SYNTAX (HTML/MARKDOWN, ETC)\n\n```html\n\u003c!-- SPDX-License-Identifier: Apache-2.0 --\u003e\n\u003c!-- SPDXVersion: SPDX-2.2  --\u003e\n\u003c!-- SPDX-FileCopyrightText: Copyright 2020 \u003cLicensor\u003e  --\u003e\n```\n\n## License\n\nSPDX-License-Identifier: Apache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambacha%2Fspdx-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsambacha%2Fspdx-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambacha%2Fspdx-runner/lists"}