|
| 1 | +ScanCode LicenseDB |
| 2 | +==================== |
| 3 | + |
| 4 | +LicenseDB is likely the largest collection of software licenses available on |
| 5 | +Earth and maybe beyond. |
| 6 | + |
| 7 | +LicenseDB is a free and open database of mostly all the software licenses, in |
| 8 | +particular all the open-source software licenses, with over 2000 curated licenses |
| 9 | +texts and their metadata. |
| 10 | + |
| 11 | +LicenseDB is built from the ScanCode Toolkit license dataset. ScanCode Toolkit |
| 12 | +is a leading open source code scanner and license detection engine. |
| 13 | + |
| 14 | +LicenseDB is an essential reference license resource for license compliance and |
| 15 | +SBOMs. LicenseDB includes all the SPDX and OSI licenses together with an extended |
| 16 | +curated collection of other licenses and license metadata. These licenses are |
| 17 | +carefully reviewed and curated and continusouly updated by an open community of |
| 18 | +contributors. |
| 19 | + |
| 20 | +LicenseDB is available as a web site, an JSON or YAML API and a git repository |
| 21 | +making it easy to reuse and integrate in tools that need a database of reference |
| 22 | +software licenses. |
| 23 | + |
| 24 | + |
| 25 | +Browse |
| 26 | +------ |
| 27 | + |
| 28 | +The web site is published at: https://scancode-licensedb.aboutcode.org/ |
| 29 | +You can search the licenses by name, key and other attributes. |
| 30 | + |
| 31 | + |
| 32 | +API |
| 33 | +------ |
| 34 | + |
| 35 | +The index is available at either: |
| 36 | + |
| 37 | +- as JSON: https://scancode-licensedb.aboutcode.org/index.json |
| 38 | +- as YAML: https://scancode-licensedb.aboutcode.org/index.yml |
| 39 | + |
| 40 | +The index contains a list of the license keys with key metadata and links to the |
| 41 | +license details and texts using this license key as an identifier: |
| 42 | + |
| 43 | +- as JSON: https://scancode-licensedb.aboutcode.org/<license key>.json |
| 44 | + for instance: https://scancode-licensedb.aboutcode.org/gpl-2.0.json |
| 45 | + |
| 46 | +- as YAML: https://scancode-licensedb.aboutcode.org/<license key>.yml |
| 47 | + for instance: https://scancode-licensedb.aboutcode.org/gpl-2.0.yml |
| 48 | + |
| 49 | +- as text for the full license text: https://scancode-licensedb.aboutcode.org/<license key>.LICENSE |
| 50 | + for instance: https://scancode-licensedb.aboutcode.org/gpl-2.0.LICENSE |
| 51 | + |
| 52 | + |
| 53 | +This index and the static website is also available offline with ScanCode Toolkit as a |
| 54 | +command line option `--get-license-data`. |
| 55 | + |
| 56 | + |
| 57 | +Git |
| 58 | +----- |
| 59 | + |
| 60 | +This git repository contains the full history of the generated HTML and JSON API |
| 61 | +documents: https://github.com/nexB/scancode-licensedb |
| 62 | + |
| 63 | + |
| 64 | +This git repository contains the original and editable source files: |
| 65 | +https://github.com/nexB/scancode-toolkit |
| 66 | + |
| 67 | +- for the text of a license and the metadata of a license as YAML frontmatter, for instance at |
| 68 | + https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE |
| 69 | + |
| 70 | + |
| 71 | +Support |
| 72 | +-------- |
| 73 | + |
| 74 | +- Chat with us at: https://gitter.im/aboutcode-org/discuss |
| 75 | +- Report issues or ask questions at: https://github.com/nexB/scancode-toolkit/issues and |
| 76 | + https://github.com/nexB/scancode-licensedb/issues |
| 77 | +- Visit https://www.aboutcode.org/ for more open source and open data projects. |
| 78 | + |
| 79 | + |
| 80 | +Build |
| 81 | +----- |
| 82 | + |
| 83 | +To re/generate the HTML and API content use this command:: |
| 84 | + |
| 85 | + $ make build |
| 86 | + |
| 87 | + |
| 88 | +Upgrade |
| 89 | +------- |
| 90 | + |
| 91 | +To upgrade to the latest scancode-toolkit and generate the HTML and API content |
| 92 | +run this command:: |
| 93 | + |
| 94 | + $ make clean upgrade build publish |
| 95 | + |
| 96 | + |
| 97 | +License |
| 98 | +------- |
| 99 | + |
| 100 | +SPDX-License-Identifier: CC-BY-4.0 AND Apache-2.0 |
| 101 | + |
| 102 | +https://github.com/nexB/scancode-licensedb |
| 103 | +Copyright (c) nexB Inc. and others. |
| 104 | +ScanCode is a trademark of nexB Inc. |
| 105 | + |
| 106 | +ScanCode LicenseDB data is licensed under the Creative Commons Attribution |
| 107 | +License 4.0 (CC-BY-4.0). |
| 108 | +Some licenses, such as the GNU GENERAL PUBLIC LICENSE, are subject to other licenses. |
| 109 | +See the corresponding license text for the specific license conditions. |
| 110 | + |
| 111 | +ScanCode LicenseDB software is licensed under the Apache License version 2.0. |
| 112 | +You may not use this software except in compliance with the License. |
| 113 | +You may obtain a copy of the License at: http://apache.org/licenses/LICENSE-2.0 |
| 114 | +Unless required by applicable law or agreed to in writing, software distributed |
| 115 | +under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR |
| 116 | +CONDITIONS OF ANY KIND, either express or implied. See the License for the |
| 117 | +specific language governing permissions and limitations under the License. |
| 118 | + |
| 119 | +ScanCode LicenseDB is generated with ScanCode Toolkit. The database and its contents |
| 120 | +are provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, |
| 121 | +either express or implied. |
| 122 | +No content from ScanCode LicenseDB should be considered or used as legal advice. |
| 123 | +Consult an attorney for any legal advice. |
| 124 | + |
| 125 | +Visit https://github.com/nexB/scancode-licensedb for support. |
| 126 | + |
| 127 | +ScanCode Toolkit is a free Software Composition Analysis tool from nexB Inc. and |
| 128 | +others. |
| 129 | +Visit https://github.com/nexB/scancode-toolkit for support and download. |
0 commit comments