repowiserepowise
Sign in
rmyndharis/openwa
OverviewDocsArchitectureKnowledge GraphFilesCode HealthSecurityRefactoring

People & History

CommitsContributorsDecisions
Chat
Stats
repowiserepowise
ExplorePricingDocs
Sign in
repowisermyndharis/openwa
OP
OP

rmyndharis / openwa

Free, Open Source, Self-Hosted WhatsApp API Gateway

TypeScript★ 15,077
Use in your agentAsk this codebase

github.com/rmyndharis/openwa·Indexed at 2f9c590·2mo ago·Up to date with upstream

About this codebase

1,052 files and 5,941 symbols in 6 modules, led by TypeScript (689 files) and Java (158).

Built from the index

Start reading

  • Knowledge graph1,052 files and how they depend on each other.→
  • Add session-scoped WhatsApp message templates management page with CRUD, preview, and i18n; remove tracked lockfilesDecisionProposed decision, from a pull request.→

Code health

6.2out of 10Fair

This codebase scores 6.2 out of 10 for code health, which we rate fair. It also scores maintainability 8.5 and static performance 9.9 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 203 of 1,052 files are git hotspots, and they average 5.0 — which is where the fixes pay off most.

Full health report →

On the leaderboards:#31 of 37 TypeScript repos

Do next

5 things worth doing this quarter.

Worth planning

  • Flatten the nesting in handleSend

    dashboard/src/pages/MessageTester.tsx:332

    handleSend nests its control flow deeply, and part of it is duplicated, so splitting it also removes a copy; 2 files import it, changed 10 times in 90 days.

    gain
    up to +1.6 health on this file(inferred)
    finding
    Nested complexity
    size
    CCN 39, 129 lines, nests 5 deep
    severity
    high
    Medium effort, worth a check
  • Break up validateEnv (CCN 45, 154 lines)

    src/config/env.validation.ts:50

    validateEnv is long, branchy and widely depended on, and part of it is duplicated, so splitting it also removes a copy; 8 files import it, changed 22 times in 90 days.

    gain
    up to +1.0 health on this file(inferred)
    finding
    Brain method
    size
    CCN 45, 154 lines, nests 3 deep
    severity
    critical
    Medium effort, worth a check
  • Update the decision “Preload environment variables before importing application modules”: the code it governs has moved on

    Agents and reviewers still follow it, so they are steered by a rule the code no longer keeps.

    status
    Accepted, drifting
    Small effort, worth a check
Listing 3 of 6.
All actions in the Overview →

Use rmyndharis/openwa in your agent

Point Claude Code, Cursor, Codex or VS Code at this repository. Your agent gets the index this page is built from: cited answers, callers, history and health for any file.

https://api.repowise.dev/mcp/rmyndharis/openwa

One command, run anywhere. Adds the server to your local Claude Code config.

Docs
bash
claude mcp add --transport http repowise https://api.repowise.dev/mcp/rmyndharis/openwa \
  --header "Authorization: Bearer rw_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
The snippet shows a placeholder key. Generate one to get a copyable secret.
Sign in and create an API key to connect.Sign in

This repo is public, so anyone with a Repowise account and an API key can connect.

Try asking

  • get_overview()
  • get_answer("how is openwa put together?")
  • get_why("why is openwa structured this way?")

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed.

Go deeper

  • OverviewEverything the index found, what changed this week, commits and decisions.→
  • DocumentationModule-by-module documentation, 1,322 pages, 0 written by a model.→
  • ArchitectureDependency graph, layers and third-party dependencies.→
  • Code healthEvery file's score, the findings behind it, tests and refactoring plans.→
  • CommitsEach commit's effect on code health, with agent provenance.→
  • ContributorsWho owns what, and where one person holds most of the knowledge.→
  • DecisionsArchitectural decisions mined from commits and pull requests.→
  • Ask this codebaseSign inGrounded answers over the indexed code.→

Maintain this repo? Claim the page

Sign in with GitHub and we check that you are an admin or maintainer of rmyndharis/openwa. Then add a badge to the README that links readers here.

Use this repo from Claude or ChatGPT

Add this URL as a custom connector and sign in with repowise when asked. No API key to copy.

https://api.repowise.dev/mcp/rmyndharis/openwa
Sign up to connect

For maintainers

Add a badge to your README

Every badge is public, cached, and updates on its own after every index. Nothing to install.

Repowise badge

Links to this page, with no score on it. Adding it also re-indexes the repo every week.

Repowise badge preview
[![repowise.dev](https://api.repowise.dev/badge/wiki/rmyndharis/openwa.svg)](https://repowise.dev/repo/rmyndharis/openwa?src=badge_wiki)

Code health badge

The repo's health score out of 10, from the latest index.

Code health badge preview
[![repowise.dev code health](https://api.repowise.dev/badge/health/rmyndharis/openwa.svg)](https://repowise.dev/repo/rmyndharis/openwa?src=badge_health)

Code health card

A larger card with the score, its change since the last index, and when it was measured. The HTML version follows the reader's light or dark theme.

Code health card preview
[![repowise.dev code health](https://api.repowise.dev/badge/health/rmyndharis/openwa.svg?style=card)](https://repowise.dev/repo/rmyndharis/openwa?src=badge_card)

How rmyndharis/openwa works

Free, Open Source, Self-Hosted WhatsApp API Gateway This page is a map of the rmyndharis/openwa repository, written primarily in TypeScript, rebuilt from the source each time it is indexed. Repowise parses every symbol, computes a dependency graph, scores per-file code health from complexity, duplication, test coverage and churn, mines git history for hotspots and ownership, and lifts the architectural decisions into documentation you can read here or query through MCP.

The codebase has 1,052 files and 5,941 symbols in 6 modules, led by TypeScript, Java and Go. Code health is 6.2 out of 10, rated fair.

Use the links above to open each view, or connect this repository to your agent for grounded answers inside Claude, Cursor, Codex or VS Code.