{"id":15958602,"url":"https://github.com/ducthienbui97/gitlicense","last_synced_at":"2025-08-01T03:32:37.920Z","repository":{"id":37743108,"uuid":"99487858","full_name":"ducthienbui97/gitlicense","owner":"ducthienbui97","description":"License badge for your Github repos.","archived":false,"fork":false,"pushed_at":"2025-07-21T09:11:44.000Z","size":1797,"stargazers_count":7,"open_issues_count":59,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-21T11:22:42.187Z","etag":null,"topics":["badge","hapijs","html","license","markdown","opensource","restructuredtext"],"latest_commit_sha":null,"homepage":"https://gitlicense.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ducthienbui97.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-08-06T13:21:46.000Z","updated_at":"2022-12-03T18:13:35.000Z","dependencies_parsed_at":"2023-01-24T07:01:41.162Z","dependency_job_id":"356af9c2-e7cf-4fae-a379-b3c52d795724","html_url":"https://github.com/ducthienbui97/gitlicense","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ducthienbui97/gitlicense","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducthienbui97%2Fgitlicense","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducthienbui97%2Fgitlicense/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducthienbui97%2Fgitlicense/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducthienbui97%2Fgitlicense/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ducthienbui97","download_url":"https://codeload.github.com/ducthienbui97/gitlicense/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducthienbui97%2Fgitlicense/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268165141,"owners_count":24206293,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["badge","hapijs","html","license","markdown","opensource","restructuredtext"],"created_at":"2024-10-07T14:05:31.216Z","updated_at":"2025-08-01T03:32:37.890Z","avatar_url":"https://github.com/ducthienbui97.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git License\n\n[![GitLicense](https://gitlicense.com/badge/ducthienbui97/gitlicense)](https://gitlicense.com/license/ducthienbui97/gitlicense)\n[![Code Climate](https://codeclimate.com/github/ducthienbui97/gitlicense/badges/gpa.svg)](https://codeclimate.com/github/ducthienbui97/gitlicense)\n[![Build Status](https://travis-ci.org/ducthienbui97/gitlicense.svg?branch=master)](https://travis-ci.org/ducthienbui97/gitlicense)\n[![codecov](https://codecov.io/gh/ducthienbui97/gitlicense/branch/master/graph/badge.svg)](https://codecov.io/gh/ducthienbui97/gitlicense)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/e5eae132f07d4853a80dee106b481ec4)](https://www.codacy.com/app/ducthienbui97/gitlicense?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=ducthienbui97/gitlicense\u0026amp;utm_campaign=Badge_Grade)\n\nLicense badge for your Github repos.\n\n## Usage\n\nGit License give you a easy way to display license on github.\nWe use github license api to get license of you repo.\n\n### Markdown\n\n```md\n[![GitLicense](https://gitlicense.com/badge/:user/:repo)](https://gitlicense.com/license/:user/:repo)\n```\n\n### HTML\n\n``` html\n\u003ca href=\"https://gitlicense.com/license/:user/:repo\"\u003e\n    \u003cimg src=\"https://gitlicense.com/badge/:user/:repo\"/\u003e\n\u003c/a\u003e\n```\n\n### RST\n\n``` rest\n.. image:: https://gitlicense.com/badge/:user/:repo\n :target: https://gitlicense.com/license/:user/:repo\n```\n\nIf Github api can't provide your repo's license, your repo have to have a ```.gitlicense``` file with following patern in order to be recognised.\n\n``` json\n{\n    \"license\" : \"License name\",\n    \"url\" : \"License url\"\n}\n```\n\nExample can be found in [this file](.gitlicense)\n\n## Todo\n\n- Add more test.\n\n## Credit\n\n- [Shields.io](https://github.com/badges) for the badges\n- [Hapi](https://github.com/hapijs) for server framwork\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fducthienbui97%2Fgitlicense","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fducthienbui97%2Fgitlicense","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fducthienbui97%2Fgitlicense/lists"}