{"id":19327972,"url":"https://github.com/inab/licenses-mapping","last_synced_at":"2026-04-15T07:34:39.515Z","repository":{"id":206952891,"uuid":"718063421","full_name":"inab/licenses-mapping","owner":"inab","description":"A tool to map strings to SPDX licenses names or IDs.","archived":false,"fork":false,"pushed_at":"2025-10-08T12:09:20.000Z","size":221,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-10-25T06:59:46.505Z","etag":null,"topics":["fastapi","licensing","spdx"],"latest_commit_sha":null,"homepage":"https://observatory.openebench.bsc.es/licenses-mapping/docs","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inab.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-13T09:51:29.000Z","updated_at":"2025-05-27T09:41:28.000Z","dependencies_parsed_at":"2024-09-12T22:28:01.499Z","dependency_job_id":"13e51ae2-0aec-49e7-8d73-41a5e4746476","html_url":"https://github.com/inab/licenses-mapping","commit_stats":null,"previous_names":["inab/licenses-mapping"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/inab/licenses-mapping","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inab%2Flicenses-mapping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inab%2Flicenses-mapping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inab%2Flicenses-mapping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inab%2Flicenses-mapping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inab","download_url":"https://codeload.github.com/inab/licenses-mapping/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inab%2Flicenses-mapping/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31831844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T07:17:56.427Z","status":"ssl_error","status_checked_at":"2026-04-15T07:17:30.007Z","response_time":63,"last_error":"SSL_read: 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":["fastapi","licensing","spdx"],"created_at":"2024-11-10T02:19:38.558Z","updated_at":"2026-04-15T07:34:39.484Z","avatar_url":"https://github.com/inab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# License Mapping API \n\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) \n\n\n## Overview\nA tool to map strings to SPDX licenses names or IDs. \n\n📄 [API Documentation](https://observatory.openebench.bsc.es/licenses-mapping/docs) \n\n🐳 [Docker image](https://hub.docker.com/repository/docker/emartps/license-mapping-api/general)\n\n## Licenses Data\nSPDX licenses metadata and synonyms are stored in the files of the `licenses` directory. The database is generated and updated from these files. The update is triggered by commmits being pushed to `main` branch. \n\n### 🙌🏻 Contribution to licenses synonyms \nTo contribute to the licenses synonyms, please edit the files in the `licenses` directory and submit a pull request.\n\n## Webhooks \nThe API is configured to listen to the following webhooks:\n- `update`: update the database\n- `ping`: ping the server\n\n## CI - Database Update \nThe database is updated by the following GitLab CI workflow:\n\n```yaml\nstages:\n  - webhook\n\nupdate:\n  stage: webhook\n  variables:\n    DEPLOY_CURL_COMMAND: 'curl -H \"Content-Type: application/json\" --data @data.json https://gitlab.bsc.es/inb/elixir/software-observatory/license-mapping-api/webhooks'\n  script:\n    - 'eval \"$DEPLOY_CURL_COMMAND\"'\n  rules:\n    - changes:\n      - licenses/*\n      when: on_success\n```\n\n\n## Development\nStart the server with:\n```python\npython3 -m uvicorn main:app --reload\n``` ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finab%2Flicenses-mapping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finab%2Flicenses-mapping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finab%2Flicenses-mapping/lists"}