Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs: publish the non-affiliation and trademark disclaimer

Yudhi Armyndharis7629e3d5bd69
diff --git a/README.md b/README.md
index 36946a09f..25624127e 100644
--- a/README.md
+++ b/README.md
@@ -520,6 +520,14 @@ Please read our [Development Guidelines](./docs/08-development-guidelines.md) fo
---
+## Disclaimer
+
+OpenWA is an independent open-source project and is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Meta Platforms, Inc., WhatsApp LLC, or any of their subsidiaries or affiliates. The official WhatsApp website can be found at [whatsapp.com](https://www.whatsapp.com). The name "WhatsApp" as well as related names, marks, emblems, and images are registered trademarks of their respective owners.
+
+Use it at your own risk; you are responsible for complying with WhatsApp's terms and the law where you operate.
+
+---
+
## πŸ“„ License
This project is licensed under the **MIT License** – free for personal and commercial use.
diff --git a/docs/01-project-overview.md b/docs/01-project-overview.md
index 03a774e94..c8b9835e2 100644
--- a/docs/01-project-overview.md
+++ b/docs/01-project-overview.md
@@ -272,7 +272,7 @@ flowchart TB
- WhatsApp rate limiting
2. **Legal**
- - Unofficial API, not affiliated with Meta
+ - Unofficial API, not affiliated with WhatsApp or Meta (see the [disclaimer](../README.md#disclaimer))
- Users are responsible for compliant usage
3. **Resource**
diff --git a/docs/16-risk-management.md b/docs/16-risk-management.md
index a7d2e913b..4e490f190 100644
--- a/docs/16-risk-management.md
+++ b/docs/16-risk-management.md
@@ -100,7 +100,7 @@ flowchart TB
M1 --> A1[Rate limiting defaults]
M2 --> A2[Documentation & warnings]
M3 --> A3[Human-like delays]
- M4 --> A4[Terms of service]
+ M4 --> A4[README disclaimer]
```
**Built-in Safeguards:**
@@ -372,26 +372,9 @@ WhatsApp/Meta may take legal action against unofficial APIs, or users may misuse
**Mitigation Strategies:**
-1. **Clear Disclaimers**
-
-```markdown
-## Disclaimer
-
-This project is not affiliated with, authorized, maintained,
-sponsored or endorsed by WhatsApp or any of its affiliates.
-
-This is an independent and unofficial software. Use at your own risk.
-
-By using this software, you agree that:
-
-1. You will not use it for spam or illegal activities
-2. You are responsible for compliance with local laws
-3. The maintainers are not liable for any misuse
-```
-
-2. **Terms of Service for Users**
-3. **No support for spam/illegal use cases**
-4. **Built-in anti-abuse measures**
+1. **Published disclaimer**: the [README](../README.md#disclaimer), the project site (https://www.open-wa.org) and the SDK READMEs state that OpenWA is not affiliated with or endorsed by WhatsApp or Meta.
+2. **No support for spam/illegal use cases**
+3. **Built-in anti-abuse measures**
---
diff --git a/sdk/README.md b/sdk/README.md
index b23600824..9bccdca38 100644
--- a/sdk/README.md
+++ b/sdk/README.md
@@ -1,7 +1,8 @@
# OpenWA SDKs
-Official client libraries for the [OpenWA](https://github.com/rmyndharis/OpenWA)
-WhatsApp API Gateway.
+Official client libraries for [OpenWA](https://github.com/rmyndharis/OpenWA), the
+open-source WhatsApp API Gateway. OpenWA is an independent project, not
+affiliated with or endorsed by WhatsApp or Meta.
All five SDKs are **hand-written** against the exact API surface (paths, DTOs,
response shapes) and **unit-tested with mocked HTTP transports** that assert on
diff --git a/sdk/go/README.md b/sdk/go/README.md
index fbedc68ac..089beb94f 100644
--- a/sdk/go/README.md
+++ b/sdk/go/README.md
@@ -4,6 +4,9 @@ Idiomatic Go client for the [OpenWA](https://github.com/rmyndharis/OpenWA) Whats
API Gateway. Stdlib-only (no dependencies), context-first, with typed errors and
an injectable transport pipeline.
+OpenWA is an independent project, not affiliated with or endorsed by WhatsApp or
+Meta.
+
```bash
go get github.com/rmyndharis/OpenWA/sdk/go
```
diff --git a/sdk/java/README.md b/sdk/java/README.md
index d6a27f936..bfc5b85b8 100644
--- a/sdk/java/README.md
+++ b/sdk/java/README.md
@@ -1,7 +1,8 @@
# OpenWA Java SDK
-Official Java client for the [OpenWA](https://github.com/rmyndharis/OpenWA)
-WhatsApp API Gateway.
+Official Java client for [OpenWA](https://github.com/rmyndharis/OpenWA), the
+open-source WhatsApp API Gateway. OpenWA is an independent project, not
+affiliated with or endorsed by WhatsApp or Meta.
Hand-written against the exact API surface (paths, DTOs, response shapes) and
unit-tested with a mock HTTP transport that asserts on the precise request URL,
diff --git a/sdk/java/pom.xml b/sdk/java/pom.xml
index f73380441..66638fd96 100644
--- a/sdk/java/pom.xml
+++ b/sdk/java/pom.xml
@@ -10,7 +10,7 @@
<packaging>jar</packaging>
<name>OpenWA Java SDK</name>
- <description>Official Java SDK for the OpenWA WhatsApp API Gateway</description>
+ <description>Official Java SDK for OpenWA, the open-source WhatsApp API Gateway (not affiliated with WhatsApp or Meta)</description>
<url>https://github.com/rmyndharis/OpenWA</url>
<licenses>
diff --git a/sdk/java/src/main/java/com/rmyndharis/openwa/package-info.java b/sdk/java/src/main/java/com/rmyndharis/openwa/package-info.java
index 83a0781b1..e593e03ff 100644
--- a/sdk/java/src/main/java/com/rmyndharis/openwa/package-info.java
+++ b/sdk/java/src/main/java/com/rmyndharis/openwa/package-info.java
@@ -1,2 +1,2 @@
-/** Official Java SDK for the OpenWA WhatsApp API Gateway. */
+/** Official Java SDK for OpenWA, the open-source WhatsApp API Gateway (not affiliated with WhatsApp or Meta). */
package com.rmyndharis.openwa;
diff --git a/sdk/javascript/README.md b/sdk/javascript/README.md
index 52a3d3b62..b12e00b8b 100644
--- a/sdk/javascript/README.md
+++ b/sdk/javascript/README.md
@@ -1,6 +1,6 @@
# @rmyndharis/openwa
-Official JavaScript/TypeScript SDK for the [OpenWA](https://github.com/rmyndharis/OpenWA) WhatsApp API Gateway.
+Official JavaScript/TypeScript SDK for [OpenWA](https://github.com/rmyndharis/OpenWA), the open-source WhatsApp API Gateway. OpenWA is an independent project, not affiliated with or endorsed by WhatsApp or Meta.
Ships dual CJS + ESM builds with bundled type declarations.
diff --git a/sdk/javascript/package.json b/sdk/javascript/package.json
index 6e4dfad45..1eb789607 100644
--- a/sdk/javascript/package.json
+++ b/sdk/javascript/package.json
@@ -1,7 +1,7 @@
{
"name": "@rmyndharis/openwa",
"version": "0.5.0",
- "description": "Official JavaScript/TypeScript SDK for OpenWA WhatsApp API Gateway",
+ "description": "Official JavaScript/TypeScript SDK for OpenWA, the open-source WhatsApp API Gateway (not affiliated with WhatsApp or Meta)",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
diff --git a/sdk/php/README.md b/sdk/php/README.md
index 7bcfbad8f..eeac146b6 100644
--- a/sdk/php/README.md
+++ b/sdk/php/README.md
@@ -1,6 +1,6 @@
# rmyndharis/openwa
-Official PHP SDK for the [OpenWA](https://github.com/rmyndharis/OpenWA) WhatsApp API Gateway.
+Official PHP SDK for [OpenWA](https://github.com/rmyndharis/OpenWA), the open-source WhatsApp API Gateway. OpenWA is an independent project, not affiliated with or endorsed by WhatsApp or Meta.
A synchronous client built on [Guzzle](https://docs.guzzlephp.org/), PSR-4 autoloaded.
diff --git a/sdk/php/composer.json b/sdk/php/composer.json
index 1dbf99969..f5553b593 100644
--- a/sdk/php/composer.json
+++ b/sdk/php/composer.json
@@ -1,6 +1,6 @@
{
"name": "rmyndharis/openwa",
- "description": "Official PHP SDK for OpenWA WhatsApp API Gateway",
+ "description": "Official PHP SDK for OpenWA, the open-source WhatsApp API Gateway (not affiliated with WhatsApp or Meta)",
"type": "library",
"license": "MIT",
"keywords": [
diff --git a/sdk/python/README.md b/sdk/python/README.md
index 26e384dd0..1389f7c39 100644
--- a/sdk/python/README.md
+++ b/sdk/python/README.md
@@ -1,6 +1,6 @@
# rmyndharis-openwa
-Official Python SDK for the [OpenWA](https://github.com/rmyndharis/OpenWA) WhatsApp API Gateway.
+Official Python SDK for [OpenWA](https://github.com/rmyndharis/OpenWA), the open-source WhatsApp API Gateway. OpenWA is an independent project, not affiliated with or endorsed by WhatsApp or Meta.
A synchronous client built on [httpx](https://www.python-httpx.org/), with bundled type hints (PEP 561).
diff --git a/sdk/python/pyproject.toml b/sdk/python/pyproject.toml
index c34426a27..804841949 100644
--- a/sdk/python/pyproject.toml
+++ b/sdk/python/pyproject.toml
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "rmyndharis-openwa"
version = "0.5.0"
-description = "Official Python SDK for OpenWA WhatsApp API Gateway"
+description = "Official Python SDK for OpenWA, the open-source WhatsApp API Gateway (not affiliated with WhatsApp or Meta)"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.9"
diff --git a/src/common/docs-governance.spec.ts b/src/common/docs-governance.spec.ts
index c96041736..803422f97 100644
--- a/src/common/docs-governance.spec.ts
+++ b/src/common/docs-governance.spec.ts
@@ -91,4 +91,33 @@ describe('governance docs match the repository', () => {
expect(note).toContain('`docker image inspect ghcr.io/rmyndharis/openwa:<tag>`');
expect(note).toContain('`docker compose up -d --no-build`');
});
+
+ // Registries show the package description on its own in search results, away from the README.
+ it('keeps the non-affiliation notice in every SDK registry description', () => {
+ const descriptions = [
+ (JSON.parse(read('sdk/javascript/package.json')) as { description: string }).description,
+ (JSON.parse(read('sdk/php/composer.json')) as { description: string }).description,
+ /^description = "([^"]+)"/m.exec(read('sdk/python/pyproject.toml'))?.[1],
+ /<description>([^<]+)<\/description>/.exec(read('sdk/java/pom.xml'))?.[1],
+ ];
+ for (const description of descriptions) {
+ expect(description).toMatch(
+ /^Official .+ SDK for OpenWA, the open-source WhatsApp API Gateway \(not affiliated with WhatsApp or Meta\)$/,
+ );
+ }
+ });
+
+ // The risk guide counts this published notice as the legal risk's mitigation.
+ // The project publishes no terms of service of its own, so no mitigation may rest on one.
+ it('counts the README disclaimer, not user terms of service, as a risk mitigation', () => {
+ const risks = read('docs/16-risk-management.md');
+ expect(risks).not.toMatch(/\[[^\]]*terms of service[^\]]*\]/i);
+ expect(risks).toMatch(/\[README disclaimer\]/);
+ });
+
+ it('keeps the README non-affiliation disclaimer', () => {
+ const section = between(read('README.md'), '## Disclaimer', '\n## ');
+ expect(section).toMatch(/not affiliated/);
+ expect(section).toMatch(/WhatsApp LLC/);
+ });
});