# rmyndharis/openwa

> openwa is a free, open-source WhatsApp API gateway for developers who need full control over their messaging infrastructure. It connects to WhatsApp through reverse-engineered clients and exposes sessions, messages and webhooks over HTTP. The project is written in TypeScript.

Source: https://github.com/rmyndharis/openwa
Indexed: commit 2f9c590 on 2026-07-28 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: MCP server
- Language: TypeScript
- Stars: 16,871 at index time
- License: MIT
- Code health: 6.3/10, Fair
- Last commit: 2026-07-28
- Contributors: 53

## How it works

Requests enter through the HTTP server in src, the largest module, where src/modules/session holds the logic for managing WhatsApp sessions. The src/engine/adapters directory contains baileys.adapter.ts and whatsapp-web-js.adapter.ts, which connect the gateway to the two supported WhatsApp clients. The dashboard directory holds the React management interface, where dashboard/src/main.tsx starts the app and dashboard/src/App.tsx defines its main component. The sdk directory contains client libraries for Java, JavaScript and Python, each with its own manifest such as sdk/python/pyproject.toml. Database, storage and cache backends are selected through configuration rather than code changes, and media is returned inline to API and webhook consumers rather than stored automatically.

- dashboard/scripts/check-i18n-parity.mjs: entry point
- dashboard/src/App.tsx: entry point
- dashboard/src/i18n/index.ts: entry point
- dashboard/src/main.tsx: entry point
- scripts/check-doc-versions.mjs: entry point
Modules: src, sdk, dashboard, docs, test, root, scripts, .github. 1,052 files, 150,011 lines, 5,941 symbols.

## Code health

- Score: 6.3/10 (Fair)
- Rank: #199 of 4,000+ indexed repos
- Hotspots: src/modules/session/session.service.spec.ts, src/engine/adapters/whatsapp-web-js.adapter.spec.ts, src/engine/adapters/baileys.adapter.spec.ts, src/engine/adapters/whatsapp-web-js.adapter.ts, src/engine/adapters/baileys.adapter.ts
- Lowest file: src/core/plugins/plugin.interfaces.ts
- Dead code: 21 findings

## Maintenance

- Last commit 2026-07-28, first commit 2026-02-05, 961 commits
- 53 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/rmyndharis/openwa/security

## More

- Page: https://repowise.dev/repo/rmyndharis/openwa
- Ask this codebase: https://repowise.dev/repo/rmyndharis/openwa/chat
- Docs: https://repowise.dev/repo/rmyndharis/openwa/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/rmyndharis/openwa
