a2ally™ Sign up

Can I use code from GitHub in my product?

Last updated

TL;DR: An MIT repository: Yes. An Apache-2.0 repository: Yes. An AGPL-3.0 repository, modified and run as a service: Yes. Public on GitHub does not mean licensed: the repository's LICENSE file decides, and a repository with no license grants no rights. Pass the repo URL as source_url and a2ally reads its declared license.

Is an MIT repository allowed under MIT License?

Yes. Every use you described is granted by MIT, and nothing you described is prohibited.

License: MIT License (MIT, curated)

Duties: attribution, license_notice

Is an Apache-2.0 repository allowed under Apache License 2.0?

Yes. Every use you described is granted by Apache 2.0, and nothing you described is prohibited.

License: Apache License 2.0 (Apache-2.0, curated)

Duties: attribution, license_notice, state_changes

Is an AGPL-3.0 repository, modified and run as a service allowed under GNU Affero General Public License v3.0?

Yes. Every use you described is granted by AGPL 3.0, and nothing you described is prohibited.

License: GNU Affero General Public License v3.0 (AGPL-3.0-only, curated)

Duties: attribution, license_notice, state_changes, share_alike, source_disclosure, network_source_offer

What else should I know?

What are the sources?

How can I check it myself (free, no key)?

{
  "tool": "check_license",
  "arguments": {
    "license": "MIT",
    "intended_use": {
      "commercial_use": true,
      "modification": true,
      "redistribution": true
    }
  }
}

Computed from a2ally's license profiles; not legal advice. JSON · Markdown

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.a2ally.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export A2ALLY_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.a2ally.com/v1/licenses/check -H "Authorization: Bearer $A2ALLY_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'