HASH Repository Licensing
HASH Codebase Licensing
Different parts of the HASH codebase are made available under a number of different terms, including the open-source MIT License, Apache 2.0 License, GNU Affero General Public License.
On this page, you can find links to the texts of the open-source licenses under which different parts of HASH are made available.
To determine the applicable open-source license for a particular file or piece of work, see the instructions under the License Determination section of this page.
Licenses In Use
The hash
repository codebase defaults to the MIT License and Apache License 2.0 dually. The vast majority of the HASH monorepo contains open-source code variously licensed under these, or the GNU Affero General Public License 3.0.
However, a small minority of HASH's codebase is "source available", but not "open source". These parts of the codebase are distributed under the HASH License.
License Determination
The following rules apply on the main
branch of the hash
repository only.
The license for a particular work is defined in accordance with the following prioritized rules (precedence established first-to-last):
→
If present: license information directly present in the work file defines its license;→
Else, if: the work exists directly or indirectly inside a directory titled_h
, the file is available under the HASH License only;→
Else, if: aLICENSE
,LICENSE.md
orLICENSE.txt
file exists in the same directory as the work, this defines its license;→
Else, if: aLICENSE
,LICENSE.md
orLICENSE.txt
file is found when exploring parent directories of the work up to the project top level directory, the first one encountered defines the license applicable to the work;→
Otherwise: by default, the work is dually available under both the MIT License and Apache License 2.0, at your option.
No license is granted by HASH to any work or files on branches other than main
. These rules only apply to the hash repository, and any other repositories will contain separate copyright and/or licensing information.
Clarifications
If you require an alternative license, or have any other questions, please contact us.
Create a free account
Sign up to try HASH out for yourself, and see what all the fuss is about
By signing up you agree to our terms and conditions and privacy policy