rmyndharis/OpenWAPublic

Free, Open Source, Self-Hosted WhatsApp API Gateway

AI summary: A free, open-source, and self-hosted API gateway for WhatsApp automation with multi-session support.

Stars
16.8K
+152 today
Forks
3.9K
Watchers
87
Open issues
2
Open PRs
24
Contributors
~86
Commits
7.4K
Branches
25
Views (30d)
5

TypeScriptMITCreated Feb 2, 2026Last push 3d agoLatest release v0.27.1+243 stars this week+1.4K this month

Quick answers

What is OpenWA?
A free, open-source, and self-hosted API gateway for WhatsApp automation with multi-session support.
What does OpenWA do?
OpenWA is a powerful, open-source API gateway that allows developers to self-host their own WhatsApp automation and bot infrastructure. It provides a comprehensive set of APIs for interacting with WhatsApp Web, enabling automated messaging, chat reading, and group management without relying on the official Meta Cloud API. The project operates as a self-hosted gateway with a highly pluggable architecture, allowing users to seamlessly swap databases and storage backends via simple configuration. It supports running multiple WhatsApp sessions concurrently and includes a modern React dashboard for managing webhooks and API keys.
Who is OpenWA for?
OpenWA is intended for developers looking to build chatbots, notification systems, or automation tools for WhatsApp using their own infrastructure. Users must understand that unauthorized automation violates WhatsApp's Terms of Service and carries a ban risk.
How do I get started with OpenWA?
Check the documentation for Docker or manual installation instructions.
How popular is OpenWA on GitHub?
rmyndharis/OpenWA has 16,783 stars and 3,947 forks on GitHub, and gained 243 stars in the last 7 days.
What license does OpenWA use?
rmyndharis/OpenWA is released under the MIT license.

Star history

since Jul 29, 2026
05K10K15KJul 2026Sep 2026Oct 2026Nov 2026
16.8K stars as of Nov 12, 2026. Measured daily since Jul 29, 2026; GitHub no longer exposes earlier star timestamps.

Update history

3 recorded
  • Nov 5, 2026New release v0.27.1 (previously v0.25.0).
  • Oct 15, 2026New release v0.25.0 (previously v0.24.0).
  • Oct 5, 2026New release v0.24.0 (previously v0.23.6).

Contribution activity

commits per day, last 52 weeks
NovDecJanFebMarAprMayJunJulAugSepOctNovMonWedFri2025-11-09: 0 commits2025-11-10: 0 commits2025-11-11: 0 commits2025-11-12: 0 commits2025-11-13: 0 commits2025-11-14: 0 commits2025-11-15: 0 commits2025-11-16: 0 commits2025-11-17: 0 commits2025-11-18: 0 commits2025-11-19: 0 commits2025-11-20: 0 commits2025-11-21: 0 commits2025-11-22: 0 commits2025-11-23: 0 commits2025-11-24: 0 commits2025-11-25: 0 commits2025-11-26: 0 commits2025-11-27: 0 commits2025-11-28: 0 commits2025-11-29: 0 commits2025-11-30: 0 commits2025-12-01: 0 commits2025-12-02: 0 commits2025-12-03: 0 commits2025-12-04: 0 commits2025-12-05: 0 commits2025-12-06: 0 commits2025-12-07: 0 commits2025-12-08: 0 commits2025-12-09: 0 commits2025-12-10: 0 commits2025-12-11: 0 commits2025-12-12: 0 commits2025-12-13: 0 commits2025-12-14: 0 commits2025-12-15: 0 commits2025-12-16: 0 commits2025-12-17: 0 commits2025-12-18: 0 commits2025-12-19: 0 commits2025-12-20: 0 commits2025-12-21: 0 commits2025-12-22: 0 commits2025-12-23: 0 commits2025-12-24: 0 commits2025-12-25: 0 commits2025-12-26: 0 commits2025-12-27: 0 commits2025-12-28: 0 commits2025-12-29: 0 commits2025-12-30: 0 commits2025-12-31: 0 commits2026-01-01: 0 commits2026-01-02: 0 commits2026-01-03: 0 commits2026-01-04: 0 commits2026-01-05: 0 commits2026-01-06: 0 commits2026-01-07: 0 commits2026-01-08: 0 commits2026-01-09: 0 commits2026-01-10: 0 commits2026-01-11: 0 commits2026-01-12: 0 commits2026-01-13: 0 commits2026-01-14: 0 commits2026-01-15: 0 commits2026-01-16: 0 commits2026-01-17: 0 commits2026-01-18: 0 commits2026-01-19: 0 commits2026-01-20: 0 commits2026-01-21: 0 commits2026-01-22: 0 commits2026-01-23: 0 commits2026-01-24: 0 commits2026-01-25: 0 commits2026-01-26: 0 commits2026-01-27: 0 commits2026-01-28: 0 commits2026-01-29: 0 commits2026-01-30: 0 commits2026-01-31: 0 commits2026-02-01: 0 commits2026-02-02: 0 commits2026-02-03: 0 commits2026-02-04: 0 commits2026-02-05: 1 commit2026-02-06: 0 commits2026-02-07: 0 commits2026-02-08: 0 commits2026-02-09: 0 commits2026-02-10: 1 commit2026-02-11: 0 commits2026-02-12: 0 commits2026-02-13: 0 commits2026-02-14: 0 commits2026-02-15: 0 commits2026-02-16: 0 commits2026-02-17: 7 commits2026-02-18: 31 commits2026-02-19: 0 commits2026-02-20: 0 commits2026-02-21: 0 commits2026-02-22: 0 commits2026-02-23: 3 commits2026-02-24: 0 commits2026-02-25: 0 commits2026-02-26: 5 commits2026-02-27: 0 commits2026-02-28: 0 commits2026-03-01: 1 commit2026-03-02: 1 commit2026-03-03: 0 commits2026-03-04: 0 commits2026-03-05: 0 commits2026-03-06: 0 commits2026-03-07: 0 commits2026-03-08: 0 commits2026-03-09: 0 commits2026-03-10: 0 commits2026-03-11: 0 commits2026-03-12: 0 commits2026-03-13: 0 commits2026-03-14: 0 commits2026-03-15: 0 commits2026-03-16: 0 commits2026-03-17: 0 commits2026-03-18: 0 commits2026-03-19: 0 commits2026-03-20: 0 commits2026-03-21: 0 commits2026-03-22: 0 commits2026-03-23: 0 commits2026-03-24: 0 commits2026-03-25: 0 commits2026-03-26: 0 commits2026-03-27: 0 commits2026-03-28: 0 commits2026-03-29: 0 commits2026-03-30: 0 commits2026-03-31: 0 commits2026-04-01: 4 commits2026-04-02: 0 commits2026-04-03: 0 commits2026-04-04: 0 commits2026-04-05: 0 commits2026-04-06: 0 commits2026-04-07: 0 commits2026-04-08: 0 commits2026-04-09: 0 commits2026-04-10: 0 commits2026-04-11: 0 commits2026-04-12: 0 commits2026-04-13: 0 commits2026-04-14: 0 commits2026-04-15: 0 commits2026-04-16: 0 commits2026-04-17: 0 commits2026-04-18: 0 commits2026-04-19: 0 commits2026-04-20: 0 commits2026-04-21: 0 commits2026-04-22: 0 commits2026-04-23: 0 commits2026-04-24: 0 commits2026-04-25: 0 commits2026-04-26: 0 commits2026-04-27: 3 commits2026-04-28: 0 commits2026-04-29: 0 commits2026-04-30: 0 commits2026-05-01: 0 commits2026-05-02: 0 commits2026-05-03: 0 commits2026-05-04: 0 commits2026-05-05: 0 commits2026-05-06: 0 commits2026-05-07: 0 commits2026-05-08: 0 commits2026-05-09: 0 commits2026-05-10: 0 commits2026-05-11: 1 commit2026-05-12: 0 commits2026-05-13: 0 commits2026-05-14: 0 commits2026-05-15: 0 commits2026-05-16: 0 commits2026-05-17: 6 commits2026-05-18: 0 commits2026-05-19: 0 commits2026-05-20: 11 commits2026-05-21: 0 commits2026-05-22: 0 commits2026-05-23: 0 commits2026-05-24: 0 commits2026-05-25: 0 commits2026-05-26: 0 commits2026-05-27: 0 commits2026-05-28: 0 commits2026-05-29: 0 commits2026-05-30: 0 commits2026-05-31: 0 commits2026-06-01: 0 commits2026-06-02: 0 commits2026-06-03: 0 commits2026-06-04: 0 commits2026-06-05: 0 commits2026-06-06: 0 commits2026-06-07: 0 commits2026-06-08: 0 commits2026-06-09: 0 commits2026-06-10: 0 commits2026-06-11: 0 commits2026-06-12: 0 commits2026-06-13: 28 commits2026-06-14: 3 commits2026-06-15: 12 commits2026-06-16: 9 commits2026-06-17: 66 commits2026-06-18: 42 commits2026-06-19: 23 commits2026-06-20: 16 commits2026-06-21: 26 commits2026-06-22: 22 commits2026-06-23: 22 commits2026-06-24: 23 commits2026-06-25: 15 commits2026-06-26: 10 commits2026-06-27: 3 commits2026-06-28: 28 commits2026-06-29: 40 commits2026-06-30: 19 commits2026-07-01: 13 commits2026-07-02: 27 commits2026-07-03: 17 commits2026-07-04: 0 commits2026-07-05: 7 commits2026-07-06: 15 commits2026-07-07: 4 commits2026-07-08: 8 commits2026-07-09: 10 commits2026-07-10: 6 commits2026-07-11: 10 commits2026-07-12: 24 commits2026-07-13: 3 commits2026-07-14: 1 commit2026-07-15: 10 commits2026-07-16: 0 commits2026-07-17: 26 commits2026-07-18: 10 commits2026-07-19: 17 commits2026-07-20: 20 commits2026-07-21: 10 commits2026-07-22: 10 commits2026-07-23: 44 commits2026-07-24: 35 commits2026-07-25: 2 commits2026-07-26: 2 commits2026-07-27: 64 commits2026-07-28: 12 commits2026-07-29: 16 commits2026-07-30: 38 commits2026-07-31: 10 commits2026-08-01: 28 commits2026-08-02: 48 commits2026-08-03: 40 commits2026-08-04: 34 commits2026-08-05: 35 commits2026-08-06: 49 commits2026-08-07: 48 commits2026-08-08: 29 commits2026-08-09: 20 commits2026-08-10: 38 commits2026-08-11: 74 commits2026-08-12: 96 commits2026-08-13: 23 commits2026-08-14: 40 commits2026-08-15: 28 commits2026-08-16: 37 commits2026-08-17: 37 commits2026-08-18: 30 commits2026-08-19: 19 commits2026-08-20: 20 commits2026-08-21: 11 commits2026-08-22: 1 commit2026-08-23: 7 commits2026-08-24: 23 commits2026-08-25: 2 commits2026-08-26: 1 commit2026-08-27: 2 commits2026-08-28: 2 commits2026-08-29: 1 commit2026-08-30: 5 commits2026-08-31: 8 commits2026-09-01: 10 commits2026-09-02: 32 commits2026-09-03: 28 commits2026-09-04: 5 commits2026-09-05: 11 commits2026-09-06: 18 commits2026-09-07: 1 commit2026-09-08: 0 commits2026-09-09: 3 commits2026-09-10: 0 commits2026-09-11: 0 commits2026-09-12: 0 commits2026-09-13: 9 commits2026-09-14: 20 commits2026-09-15: 51 commits2026-09-16: 5 commits2026-09-17: 7 commits2026-09-18: 19 commits2026-09-19: 11 commits2026-09-20: 55 commits2026-09-21: 101 commits2026-09-22: 27 commits2026-09-23: 4 commits2026-09-24: 240 commits2026-09-25: 127 commits2026-09-26: 3 commits2026-09-27: 7 commits2026-09-28: 220 commits2026-09-29: 6 commits2026-09-30: 559 commits2026-10-01: 466 commits2026-10-02: 330 commits2026-10-03: 52 commits2026-10-04: 1 commit2026-10-05: 18 commits2026-10-06: 20 commits2026-10-07: 2 commits2026-10-08: 31 commits2026-10-09: 148 commits2026-10-10: 1 commit2026-10-11: 0 commits2026-10-12: 0 commits2026-10-13: 6 commits2026-10-14: 192 commits2026-10-15: 97 commits2026-10-16: 9 commits2026-10-17: 0 commits2026-10-18: 12 commits2026-10-19: 4 commits2026-10-20: 1 commit2026-10-21: 174 commits2026-10-22: 458 commits2026-10-23: 122 commits2026-10-24: 18 commits2026-10-25: 2 commits2026-10-26: 0 commits2026-10-27: 250 commits2026-10-28: 47 commits2026-10-29: 197 commits2026-10-30: 125 commits2026-10-31: 50 commits2026-11-01: 89 commits2026-11-02: 166 commits2026-11-03: 0 commits2026-11-04: 23 commits2026-11-05: 0 commits2026-11-06: 0 commits2026-11-07: 0 commits
6,479 commits in the last yearLessMore

Signals and awards

derived from tracked data
  • Widely adopted

    16,783 stars

  • Very active

    6,479 commits in 52 weeks

  • Well documented

    High community health score

  • Permissive license

    MIT

  • Continuous integration

    Automated checks passing

  • Repeat trending

    3 trending appearances

What OpenWA does

OpenWA is a powerful, open-source API gateway that allows developers to self-host their own WhatsApp automation and bot infrastructure. It provides a comprehensive set of APIs for interacting with WhatsApp Web, enabling automated messaging, chat reading, and group management without relying on the official Meta Cloud API. The project operates as a self-hosted gateway with a highly pluggable architecture, allowing users to seamlessly swap databases and storage backends via simple configuration. It supports running multiple WhatsApp sessions concurrently and includes a modern React dashboard for managing webhooks and API keys.

OpenWA is intended for developers looking to build chatbots, notification systems, or automation tools for WhatsApp using their own infrastructure. Users must understand that unauthorized automation violates WhatsApp's Terms of Service and carries a ban risk.

  • Pluggable backend architecture: Allows developers to seamlessly swap database engines and storage layers through simple configuration changes.
  • Multi-engine support: Offers a choice between headless browser automation or direct WebSocket connections to optimize for lower RAM usage.
  • Multi-session management: Capable of running and managing multiple distinct WhatsApp accounts concurrently from a single gateway instance.
  • Modern React dashboard: Provides a comprehensive graphical user interface for intuitively managing active sessions, webhooks, and API keys.
  • Docker native deployment: Ships production-ready via Docker, completely eliminating complex setup and configuration steps for self-hosting.

Where teams use it

Customer support automation

Small businesses build robust automated chatbots to answer frequently asked questions and smartly route complex queries to human operators.

System notifications

Configure their monitoring tools to send critical server down alerts directly to a dedicated WhatsApp operations group.

Community management

Community leaders deploy automated bots to quickly welcome new members, meticulously moderate spam, and broadcast announcements in large WhatsApp groups.

Workflow integration

Automation engineers seamlessly use community n8n nodes to integrate WhatsApp messaging directly into highly complex, multi-app workflows.

Getting started: Check the documentation for Docker or manual installation instructions.

README

main branch

OpenWA Logo

OpenWA

Open Source WhatsApp API Gateway

Features • Quick Start • Docs • API • Contributing

CI Version License Node NestJS Docker TypeScript Buy Me a Coffee


✨ Why OpenWA?

OpenWA is a free, open-source WhatsApp API Gateway designed for developers who need full control over their messaging infrastructure—without vendor lock-in or hidden paywalls.

Built on a pluggable architecture, OpenWA lets you select database engines (SQLite/PostgreSQL), media storage backends (Local/S3), and an optional Redis (queue, rate limits, WebSocket fan-out) through configuration rather than application-code changes. The storage backend is the live store for status media and, when chat-media archiving is enabled, archived chat media; other message media is returned inline to API and webhook consumers. Of the media, scripts/backup.sh archives only the local media directory, so an S3 bucket needs a backup of its own.

🔓 100% Open Source No licensing fees, no feature locks, full source code access
🏗️ Pluggable Architecture Swap adapters for database and storage via config
🖥️ Full Dashboard Modern React UI for session, webhook, and API key management
🔹 Multi-Session Ready Run multiple WhatsApp sessions concurrently on one instance
🐳 Docker Native Production-ready with zero configuration
🧩 Official Plugins Chatwoot, Typebot & more as sandboxed plugins on the Integration Fabric — OpenWA-plugins
🔗 n8n Integration Community nodes for workflow automation
🧩 Community Adapters Third-party integrations (e.g. ioBroker) — see docs
🔐 Session-scoped keys Operator and viewer (reader) tokens can be limited to chosen sessions — or all sessions if none are selected
🔒 Chat-scoped keys Those same tokens can also be limited to chosen chats — a few groups and contacts — so an agent on a shared account sees only its own

Session-scoped operator & viewer tokens

When you create or edit an operator or viewer API key in the dashboard, you can tick the WhatsApp sessions that key may use.

  • No sessions selected — the key can access every session, including ones created later.
  • One or more sessions selected — the key can only list, read, and (for operator) manage those sessions. A request naming any other session returns 403 ("API key not authorized for this session"); session-filtered lists (sessions, audit, webhook delivery failures) return that key's rows rather than an error; and the key-management routes and the queue dashboard, which name no session at all, return 403.

Admin keys stay unscoped in the dashboard so they can keep managing other API keys. The HTTP API still accepts allowedSessions on any role if you need that from a client.

Chat-scoped operator & viewer tokens

A session-scoped key still reaches every chat on the sessions it may use. A key can be narrowed further, to chats (a chosen set of groups and individual contacts), with allowedChats on POST /auth/api-keys or PUT /auth/api-keys/{id}. The dashboard sets it on operator and viewer keys (one chat id or phone number per line) and shows each key's chat count in the list.

  • No chats selected — the key can reach every chat on its sessions.
  • One or more selected — the key reaches only those chats. Every authenticated REST route not explicitly marked as safe for a chat-scoped key refuses it with 403 (a request naming a session outside allowedSessions is refused first, with 403 "API key not authorized for this session"), including routes added in later releases: the refusal is the default. Inside its chats an operator key can do what the marked routes allow, which is more than reading and sending: it can also delete or clear a chat, leave or rename a group, and block the contact. It cannot change who belongs to a group: adding, removing, promoting or demoting participants, answering join requests and reading or resetting the invite link all stay closed.
  • The two scopes are independent — a key may be limited to sessions, to chats, to both, or to neither.

This lets you point an AI agent or third-party integration at a shared account without handing it every chat. Give the agent a key scoped to the few groups (or DMs) it is meant to handle: it can send and reply there, but it cannot list your other chats, read any other DM, message a contact outside its set, or reach the queue dashboard. It reads its chats' stored messages on either engine through GET /sessions/{sessionId}/messages?chatId=, where chatId is required for such a key, and live history through GET /sessions/{sessionId}/messages/{chatId}/history on whatsapp-web.js only. It can subscribe to the /events WebSocket, which delivers only events for its chats. It can still read the session's own status (GET /sessions/{sessionId}) so an integration can tell whether it is connected.

Identity is matched through the lid mapping table: a contact allowlisted by phone number also matches the same person's @lid privacy id once the table maps the two, and an unmapped @lid is refused rather than guessed. A lid's digits are never mistaken for a phone number, so 555000111@lid does not admit [email protected]. When a session reports a privacy id new to the gateway for a number the table already maps to another reported id, as when the number passes to someone else, the gateway logs a warning and writes a phone_second_lid_reported audit row under that session, so the keys that name either can be reviewed. An id the gateway no longer holds in its mapping cache (LID_MAPPING_CACHE_MAX) counts as new, so on a larger table a known pair can be reported again.

The default covers REST routes only. Surfaces that authenticate outside the REST guard do not inherit it, so each one that can return chat data applies the fence with its own check: the /events WebSocket delivers only events inside the key's chats, the MCP mount authorizes each tool call against them, and the Bull Board queue dashboard refuses the key. Five list routes are usable, each filtered to the key's chats before paging: GET /sessions/{sessionId}/chats, GET /sessions/{sessionId}/groups (id, name and community parent id only), GET /sessions/{sessionId}/contacts, GET /sessions/{sessionId}/labels/{labelId}/chats and GET /api/search (the built-in provider; a search plugin answers 403).

The API also accepts allowedChats on an admin key, but no admin-only route is open to a chat-scoped key, and the last usable admin key cannot be scoped this way.

None of this changes the ban-risk guidance below. It limits what a key can reach, not what WhatsApp makes of the account.


⚠️ Before you connect a number — please read

OpenWA is an unofficial, community-maintained gateway. It connects to WhatsApp through reverse-engineered clients (the whatsapp-web.js project and @whiskeysockets/baileys), not through Meta's official Cloud API. This has real consequences you should understand before you link a phone number.

What this means in practice

  • There is always a non-zero risk of account restriction or ban. WhatsApp's anti-abuse systems actively look for unofficial automation. No amount of code quality on our side can make that risk zero.

  • Pick the right number. Never connect your primary personal or business number to an automated gateway. Use a dedicated number you can afford to lose. If you're running this for paying clients, pass that guidance on to them.

  • The two engines trade off differently:

    Engine Ban-risk profile Resource cost
    whatsapp-web.js Lower — drives a real headless Chromium that looks like genuine WhatsApp Web traffic. High RAM (~300–500 MB / session).
    baileys Higher — speaks the multi-device WebSocket protocol directly and is easier for WhatsApp to fingerprint. Low RAM (~30–80 MB / session).

    If account safety is your top priority and you can afford the memory, prefer whatsapp-web.js. If you need density and accept the trade-off, use baileys.

Safe-sending guidelines

These are practical guardrails, not guarantees — but they materially reduce the chance of WhatsApp flagging the account:

  1. Warm up fresh numbers. For the first several days, behave like a normal human user: scan the QR, exchange a handful of messages with saved contacts, join a group or two, set a profile photo. Don't blast on day one.
  2. Don't cold-blast strangers. Sending the first-ever message to a large batch of numbers that have never messaged you is the single most reliable way to get restricted — on either engine.
  3. Pace sends per session. Set SEND_PACING_ENABLED=true (off by default) for a per-session daily cap: an allowance that grows with the session's age (SEND_PACING_WARMUP_SCHEDULE), a separate cap on new conversations (SEND_PACING_COLD_DAILY_CAP) and a consecutive-failure breaker; R002 in the risk guide lists what it counts. No per-minute cap is enforced, so spacing within a day is up to the caller: bulk sends wait delayBetweenMessages between messages, and single text sends pause behind a typing indicator (SIMULATE_TYPING, on by default). A few messages per minute per session is sustainable; "thousands in an hour" is not. The RATE_LIMIT_* variables are API abuse protection, counted per route and client IP, not a send cap: they throttle dashboard and read traffic too.
  4. Use opted-in recipients. The safest workloads are replies and alerts to people who already expect to hear from you (OTP to your own users, order updates, support replies).
  5. Keep a fallback. For anything auth-critical or revenue-critical, keep an SMS / email / official-Cloud-API path. Do not bet a login flow solely on an unofficial client.
  6. Mind the hosting IP. Cheap datacenter IPs are flagged more aggressively than residential ones. A residential proxy (supported per-session via the proxy settings) can help; it is not a license to spam.

Known platform behaviour (not bugs)

A few things that look like bugs but are actually server-side WhatsApp policy, not OpenWA defects — we track them separately so we can distinguish them from real bugs:

  • First message to a brand-new contact sometimes never arrives. The API returns success because the message leaves OpenWA, but WhatsApp's server-side reach-out / trust policy drops it at delivery. This is independent of OpenWA. Background in #830.
  • Accounts that get restricted cannot be "unrestricted" by us. If WhatsApp disables a number, you need to appeal through their channels — OpenWA has no lever to pull.
  • Some accounts cannot link a new device at all. WhatsApp has added a passkey step to companion linking for some accounts: the phone asks to "Create a passkey" or "Continue on your other device" and the session stays at qr_ready. Neither engine implements that step, so switching engine or using a pairing code does not help, and no OpenWA setting changes it. Avoid logging out or re-linking a session that works, since linking it again may hit the same gate, and keep the fallback from rule 5 above. See the FAQ entry; background in #560.

Compliance

For any deployment where ethical, legal, or regulatory compliance matters (healthcare, finance, large-scale commercial messaging, anything touching end users in the EU/EEA under DMA/GDPR framings), treat OpenWA as not approved and use Meta's official WhatsApp Cloud API. OpenWA is an excellent fit for personal projects, internal tooling, automation hobbyists, and learning — it is not a drop-in replacement for the official API in regulated environments.

📖 For the deeper, maintainer-side risk analysis (protocol-change exposure, dependency strategy, security posture), see Risk Management (docs/16).


🎯 Features

Core Features

Feature Status Description
REST API ✅ Full WhatsApp API via HTTP endpoints
Multi-Session ✅ Manage multiple WhatsApp accounts
Webhooks ✅ Real-time events with HMAC signature and optional smart pre-dispatch filters
Web Dashboard ✅ Visual management interface
API Key Auth ✅ Secure API authentication
Swagger Docs ✅ Interactive API documentation

Messaging

Feature Status Description
Text Messages ✅ Send/receive text messages
Media Messages ✅ Images, videos, documents, audio
Message Reactions ✅ React to messages with emoji
Message Editing ✅ Send edits + live message.edited events on both engines
Bulk Messaging ✅ Send to multiple recipients
Message Status ✅ Track delivery and read receipts

Advanced

Feature Status Description
Groups API ✅ Create, manage, join (invite code), and configure groups
Profile Management ✅ Set own display name, about text, and profile picture
Call Handling ✅ call.received events (not reliable on whatsapp-web.js), reject calls and per-session auto-reject (Baileys only)
Channels/Newsletter ✅ WhatsApp Channels support
Labels Management ✅ Organize chats with labels
Proxy Support ✅ Per-session proxy configuration
Rate Limiting ✅ Configurable request limits
CIDR Whitelisting ✅ IP-based access control
Chat Scoping ✅ Per-key allowedChats allowlist (groups and contacts): a key reaches only those chats, and routes not marked safe for it refuse it
Audit Logging ✅ Audit trail for API-key, session, integration-instance, plugin and infra admin operations (message sends and webhook deliveries have tables of their own, not the audit log)

Infrastructure

Feature Status Description
SQLite ✅ Zero-config embedded database
PostgreSQL ✅ Production-grade database
Redis ✅ Opt-in queue, rate limits, WebSocket fan-out
S3/MinIO Storage ✅ Live media store (statuses, archived chat media)
Docker ✅ One-command deployment
Health Checks ✅ Kubernetes-ready probes
Data Migration ✅ Export/import between backends

🚀 Quick Start

Option A: Docker (Recommended)

# Clone and start
git clone https://github.com/rmyndharis/OpenWA.git
cd OpenWA
docker compose -f docker-compose.dev.yml up -d

# Access (the dashboard is bundled into the API image and served on the same port)
# Dashboard: http://localhost:2785
# API: http://localhost:2785/api
# Swagger: http://localhost:2785/api/docs

Your API key. The first boot generates an admin API key, prints it once in the log and stores it at /app/data/.api-key inside the container. Read it with docker exec openwa-api cat /app/data/.api-key (the file has no trailing newline, so the shell prompt follows the key on the same line; copy only the key), then use it to sign in to the dashboard and as the X-API-Key header wherever this README shows YOUR_API_KEY. Later boots log only a masked prefix. See API Key.

Using Podman instead of Docker? Podman rootless mode requires the socket to be running and DOCKER_HOST to be set:

systemctl --user start podman.socket
systemctl --user enable podman.socket
export DOCKER_HOST=unix:///run/user/$(id -u)/podman/podman.sock

Add the export line to your ~/.bashrc to make it permanent.

Option B: Local Development

# Clone repository
git clone https://github.com/rmyndharis/OpenWA.git
cd OpenWA

# Install the locked dependencies (includes dashboard)
npm ci

# Start API + Dashboard (config is auto-generated on first run)
npm run dev

# Access (in dev the dashboard runs on the Vite server with hot reload)
# Dashboard: http://localhost:2886
# API: http://localhost:2785/api
# Swagger: http://localhost:2785/api/docs

The first boot writes the admin API key to data/.api-key (read it with cat data/.api-key; the file has no trailing newline, so copy only the key).

Use npm install instead when intentionally changing dependencies. OpenWA's committed lockfile uses registry artifacts only, so npm 12 works with its secure default that blocks Git dependencies; do not disable that policy globally.


🔒 Security Architecture

Docker Socket Proxy

The production stack never exposes /var/run/docker.sock directly to the application container. Instead, a dedicated docker-proxy sidecar (based on tecnativa/docker-socket-proxy) acts as the sole gateway to the Docker daemon:

openwa-api  ──TCP 2375──▶  docker-proxy  ──unix──▶  /var/run/docker.sock

Only the operations needed for container orchestration are enabled (CONTAINERS, IMAGES, VOLUMES, PING, plus the POST method switch). The application connects via the DOCKER_HOST=tcp://docker-proxy:2375 environment variable, which DockerService detects automatically. Note this is an operational gateway, not a fine-grained privilege boundary: with POST enabled the proxy admits every method to the enabled paths and cannot scope container-create payloads, so a compromised API container would be host-root-equivalent — see SECURITY.md for the full threat model, mitigations, and how to disable the proxy if you don't use the built-in datastore orchestration.

Non-root Container Execution

The production image never runs the Node.js process as root. On startup, the container follows this chain:

dumb-init (PID 1)
  └─ docker-entrypoint.sh (root — fixes named-volume ownership via chown)
       └─ gosu openwa node dist/main  (drops to the openwa user)
  • dumb-init is PID 1 and forwards signals (SIGTERM, etc.) for graceful shutdown.
  • docker-entrypoint.sh runs as root only long enough to chown the named-volume mount points so the openwa user can write to them.
  • gosu performs a clean exec-based privilege drop — no su or sudo wrappers, so the node process is the direct child of dumb-init.

Named volumes (e.g. openwa-data) get their ownership corrected automatically on every start, so no manual chown step is needed after volume creation.

The image can also start as the openwa user directly (uid/gid 997: --user 997:997, or the Helm chart's podSecurityContext). The entrypoint then skips the chown and the gosu drop and needs no added capabilities, provided /app/data is writable by that uid.


🏭 Production Deployment

For production, use the main docker-compose.yml with optional services:

# Basic production (SQLite, local storage)
docker compose up -d

# Also start the PostgreSQL container (configure it first, see below)
docker compose --profile postgres up -d

# Also start PostgreSQL, Redis and MinIO (configure them first, see below)
docker compose --profile full up -d
Profile Services
postgres PostgreSQL database
redis Redis (queue, rate limits, WebSocket fan-out)
minio S3-compatible storage (MinIO fork pgsty/silo)
full All services above

A profile only starts the container; OpenWA keeps using SQLite and local storage until it is told to use the new service. The simplest route is Dashboard > Infrastructure: pick the built-in option, save, and restart from there, and OpenWA starts the container itself. The built-in storage option creates its own openwa-minio container, so do not also start the minio or full profile for it. The same goes for built-in PostgreSQL and Redis: each built-in option creates its own container, and the compose profiles are for the manual .env route below. The compose minio service starts only once S3_ACCESS_KEY_ID and S3_SECRET_ACCESS_KEY are set in the .env next to docker-compose.yml; if it was already started without them, run docker rm -f openwa-minio before you enable built-in storage. To use a profile directly, set these in the .env next to docker-compose.yml first:

  • PostgreSQL: DATABASE_TYPE=postgres, DATABASE_HOST=postgres, DATABASE_USERNAME=openwa, DATABASE_PASSWORD=<strong password>
  • Redis: REDIS_ENABLED=true, REDIS_HOST=redis
  • MinIO: STORAGE_TYPE=s3, S3_ENDPOINT=http://minio:9000, S3_ACCESS_KEY_ID=<user>, S3_SECRET_ACCESS_KEY=<strong password>

PostgreSQL refuses to initialize a new volume with an empty password, MinIO refuses to start without one, and a production boot rejects default credentials such as openwa or minioadmin.

The dashboard is bundled into the API image and served by NestJS on the API port, so it needs no profile — it is always available wherever openwa-api runs. For TLS/public exposure, put your own reverse proxy (nginx, Caddy, a cloud load balancer, or a k8s Ingress) in front; see the nginx example in docs/12-troubleshooting-faq.md.

Development vs Production

  • Development (docker-compose.dev.yml): SQLite, local storage, API serves the bundled dashboard
  • Production (docker-compose.yml): Configurable database, profiles for optional services

Official GHCR images are published as multi-arch manifests for:

  • linux/amd64
  • linux/arm64

To run a published image instead of building from source, add a docker-compose.override.yml next to docker-compose.yml:

services:
  openwa-api:
    image: ghcr.io/rmyndharis/openwa:latest

Run docker compose pull openwa-api && docker compose up -d --no-build. To upgrade, update the checkout first (git pull, or git checkout v<version> when pinning), then run the same command: the override replaces only the image, and docker-compose.yml forwards an explicit variable list with no env_file, so an outdated copy drops the variables a newer release adds and keeps the old service definitions. Pin a release by replacing latest with its version number. Once the image is pulled, Compose runs it and builds nothing. The service keeps its build: section, so if the pull fails (a mistyped tag, no registry access) Compose falls back to building from source and tags that build with the published name; --no-build makes that case fail instead. For the same reason, do not use --build or docker compose build with this override.

🔌 Ports

Service Port Description
API & Dashboard 2785 REST API + bundled web dashboard (same port)
Swagger 2785/api/docs Interactive API docs — off under NODE_ENV=production unless ENABLE_SWAGGER=true
Dashboard (dev) 2886 Vite dev server with hot reload (npm run dev)

📡 API Examples

Replace YOUR_API_KEY with your admin key (see Quick Start for where to find it).

Create a Session

curl -X POST http://localhost:2785/api/sessions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"name": "my-bot"}'

Start Session & Get QR Code

# Start the session
curl -X POST http://localhost:2785/api/sessions/{sessionId}/start \
  -H "X-API-Key: YOUR_API_KEY"

# Get QR code (scan with WhatsApp)
curl http://localhost:2785/api/sessions/{sessionId}/qr \
  -H "X-API-Key: YOUR_API_KEY"

Send a Message

curl -X POST http://localhost:2785/api/sessions/{sessionId}/messages/send-text \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "chatId": "[email protected]",
    "text": "Hello from OpenWA!"
  }'

Setup Webhook

curl -X POST http://localhost:2785/api/sessions/{sessionId}/webhooks \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "url": "https://your-server.com/webhook",
    "events": ["message.received", "session.status"],
    "secret": "your-hmac-secret"
  }'

Smart filters (optional): add a filters object to fire the webhook only when conditions match (AND), e.g. { "conditions": [{ "field": "sender", "operator": "is", "value": ["[email protected]"] }] }. Fields: sender / recipient / chatId / body / type / mentions / fromMe / hasMedia / isGroup / kind. A webhook with no filters behaves exactly as before. Use chatId to allowlist specific groups or DMs (e.g. { "field": "chatId", "operator": "is", "value": ["120…@g.us"] }). See the API specification for the full schema.

🤖 MCP Server (AI Agents)

OpenWA can expose a curated set of tools over the Model Context Protocol so AI agents (Claude, Cursor, …) can drive WhatsApp. It is off by default and additive — every REST route keeps working unchanged.

Set MCP_ENABLED=true to mount a stateless Streamable-HTTP transport at POST /mcp on the existing server (same port, no extra process). It mounts 26 read-only tools by default — session, message, contact, group, webhook, label and automation-rule reads — because the surface is read-only unless you opt out. Add MCP_READONLY=false to mount all 52 tools, adding the write tier (send, reply, group operations). Either way it is a focused surface rather than the full API, so agents aren't overwhelmed.

MCP_ENABLED=true npm run start:prod   # or set MCP_ENABLED in your .env / compose

Point an MCP client at it (e.g. for Claude Code, a .mcp.json at your project root):

{
  "mcpServers": {
    "openwa": {
      "type": "http",
      "url": "http://localhost:2785/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

The key can be passed as Authorization: Bearer … or X-API-Key: …. Every tool call goes through the same API-key auth, role, and per-session scoping as REST.

Security guidance:

  • Mint a dedicated, least-privilege key for the agent — a non-admin, session-scoped key (OPERATOR role at most). The plaintext key is shown only once on creation; to rotate, create a new key and delete the old one.
  • The key must not carry an IP allow-list (allowedIps) — there is no genuine client IP over MCP, so such a key is rejected.
  • Set MCP_READONLY=true to mount only the read tools (no sends/writes).
  • Set MCP_RATE_LIMIT_MAX (default 60) to limit tool calls per API key per window.
  • Set MCP_RATE_LIMIT_WINDOW_MS (default 60000) to control the sliding window size in milliseconds.
  • Do not expose /mcp to the public internet without a fronting auth proxy. For a self-hosted, locally-reached deployment the static API key is appropriate; public exposure should use OAuth 2.1 (not yet built).

🛠 Tech Stack

Layer Technology
Runtime Node.js 22 LTS
Framework NestJS 11.x
Language TypeScript 6.x
WA Engine whatsapp-web.js (default) / baileys — set ENGINE_TYPE
Database SQLite / PostgreSQL
Redis Queue, rate limits, WebSocket fan-out (optional)
Storage Local / S3 / MinIO
ORM TypeORM
Container Docker + Docker Compose

📁 Project Structure

openwa/
├── src/
│   ├── main.ts                 # Application entry point
│   ├── app.module.ts           # Root module
│   ├── config/                 # Configuration
│   ├── common/                 # Shared utilities
│   │   ├── cache/              # Redis client (infra status probe)
│   │   └── storage/            # File storage (Local/S3)
│   ├── core/                   # Core systems
│   │   ├── hooks/              # Plugin hooks
│   │   └── plugins/            # Plugin system
│   ├── engine/                 # WhatsApp engine abstraction
│   └── modules/
│       ├── session/            # Session management
│       ├── message/            # Message handling
│       ├── webhook/            # Webhook management
│       ├── group/              # Groups API
│       ├── contact/            # Contacts API
│       ├── auth/               # API key authentication
│       ├── infra/              # Infrastructure management
│       └── health/             # Health checks
├── dashboard/                  # React web dashboard
├── docs/                      # Documentation
├── docker-compose.yml
├── Dockerfile
└── package.json

📚 Documentation

Comprehensive documentation is available in the docs/ folder:

Document Description
Project Overview Introduction and goals
Requirements Feature specifications
Architecture System design
Security Security implementation
Database Data models and migrations
API Spec Complete API reference
Development Coding standards
Migration Guide Database & storage migration

🤝 Contributing

We welcome contributions! Here's how to get started:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feat/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feat/amazing-feature)
  5. Open a Pull Request

Please read our Development Guidelines for coding standards and best practices.


☕ Support

OpenWA is free and open source. If it saves you time or helps your business, you can support its development by buying me a coffee.

Buy Me a Coffee


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. 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.

See LICENSE for details.


OpenWA – Free, Open Source WhatsApp API Gateway

📖 Documentation · 🔌 API Docs · 🐛 Report Bug · 💡 Request Feature


Made with ❤️ by Yudhi Armyndharis and the OpenWA Community

View on GitHub

Recent activity

commits and pull requests

Releases and announcements

122 total
  1. v0.27.1v0.27.1Nov 1, 2026

    ### Added - Add `GET /api/sessions/{sessionId}/contacts/{number}/lid`, which looks up the `@lid` WhatsApp holds for a phone number without sending a message and needs an OPERATOR key, and `contacts.lid` in all five SDKs (#1969). Thanks @farresyh for the report. - Python SDK: `client.request()` takes an `idempotency_key`. ### Fixed - Answer `GET /api/sessions/{sessionId}/contacts/{contactId}/phone` for a phone id from the id itself on whatsapp-web.js, which no longer asks WhatsApp whether the number exists and so no longer works as a number check for keys below OPERATOR. - Answer `503`, not `500`, to `GET /api/sessions/{sessionId}/contacts/check/{number}` when WhatsApp rate-limits, refuses or drops the query on Baileys, or the whatsapp-web.js page does not answer in time. - Read a whatsapp-web.js group whose refresh fails one of WhatsApp Web's own invariants from the metadata the page already holds, so `GET /api/sessions/{sessionId}/groups/{groupId}` and `/labels/{labelId}/chats` no longer answer 404 for it, and the chat lookups behind its group setting, chat action, chat label and message routes use that metadata too (#1962). - Reload the active API key index after seeding the

  2. v0.27.0v0.27.0Oct 31, 2026

    ### Added - Add a session switcher to the dashboard Chats page that lists every session with its state, picture, push name and number, and lets only a ready one be selected. Thanks @rjsebening. - Add a contact info panel to the dashboard chat room with the contact's picture, name, number and copyable chat id. Thanks @rjsebening. - Add Today, Yesterday and date separators to the dashboard chat thread. Thanks @rjsebening. - Add `match=contains` to `GET /api/search`, which needs `SEARCH_CONTAINS_ENABLED=true`: case- and accent-insensitive substring search on a trigram index (FTS5 on SQLite, `pg_trgm` and `unaccent` on PostgreSQL) that ranks the 1,000 most recently stored matches, so `total` is at most 1,000 in this mode; `match=word` stays the default and the SDKs accept `match` (#1899). Thanks @luisffm. - Add the `MessageSearch` MCP tool, which runs the global message search for agents, with `match=contains` by default only when `SEARCH_CONTAINS_ENABLED=true` (#1899). Thanks @luisffm. - Add `PUT /api/sessions/{sessionId}/groups/{groupId}/member-label` to set this account's member label in a group on Baileys; whatsapp-web.js answers `501`, and `setMemberLabel` in all five SDKs (#191

  3. v0.26.0v0.26.0Oct 28, 2026

    ### Added - Report poll votes as a `poll.vote` webhook and WebSocket event on whatsapp-web.js: the poll, chat, voter, the option texts now selected (`[]` when the vote is cleared), the poll question when WhatsApp Web still holds the poll, and the time of the change in seconds and in milliseconds (`timestampMs`, which orders a voter's changes within one second); the JavaScript, Python, Go and Java SDKs list the event name from SDK 0.7.0 ([#1922](https://github.com/rmyndharis/OpenWA/pull/1922)). Thanks @laviniarochaprec. - Add Number Checker page in dashboard for single and bulk WhatsApp recipient pre-validation, in every dashboard language (#1865). Thanks @Purushotham-Prajapati-24. - Add the opt-in `message.receipt` event for per-recipient group and status receipts on Baileys, sent to the webhooks and `/events` subscribers that name it (#1748); the JavaScript, Python, Go and Java SDKs list the event name from SDK 0.7.0. Receipts are bounded per webhook: a quarter of `WEBHOOK_DISPATCH_CONCURRENCY` deliveries run at once, shared by a session's receipt webhooks, three quarters of `WEBHOOK_DISPATCH_MAX_QUEUED` events wait for each, and further receipts are dropped and counted in `open

  4. v0.25.0v0.25.0Oct 15, 2026

    ### Added - Allow chat-restricted API keys to subscribe to chat WebSocket events. - Allow chat-restricted MCP keys to read and send within their chat allowlist using the REST authorization rules. - Carry `chatId` in `message.ack` and `message.failed` payloads so a webhook `chatId` or `kind` filter scopes delivery events per chat. - Filter stored messages by time, direction, type or message reference, with stable message-time pagination; the JavaScript, Python, Java and Go SDKs take these filters from the next SDK release after 0.5.1, and the PHP SDK already forwards any query key. - Scope built-in message search and group detail/settings to a chat-restricted key's allowed chats; reject plugin search for these keys. - Expose poll choices and selection mode in message events, stored messages and history, and poll choices in dashboard chats; the SDKs type the poll of a live history message from the next SDK release after 0.5.1. - Expose optional last-message types in chat lists and, from the next SDK release after 0.5.1, in the SDKs. - Add bounded webhook failure redrive with optional payload retention; the SDKs expose it from the next SDK release after 0.5.1. - Add `startupProbe.pe

  5. v0.24.0v0.24.0Oct 3, 2026

    ### Added - `MESSAGE_RETENTION_DAYS` deletes stored messages, and finished bulk batches, older than that many days, at startup and then daily; the default `0` keeps them forever, and a value above 36500 fails the boot. - `INBOUND_MEDIA_GLOBAL_CONCURRENCY` caps concurrent inbound media downloads across all sessions of one process, on both engines; `0` (default) turns it off, and media that waits past `MEDIA_DOWNLOAD_TIMEOUT_MS` for a slot arrives without its payload (`media.omitted: true`). - `S3_KEY_PREFIX` sets the key root objects are stored under in the S3 bucket (default `media/`), so deployments with separate databases can share a bucket under prefixes that do not overlap. - `REDIS_TLS=true` connects the cache, rate limiter, queue and WebSocket fan-out to Redis over TLS, for managed Redis services that require it; a private CA goes in `NODE_EXTRA_CA_CERTS` in the launching environment, not `.env`; the built-in Redis serves plain TCP only. - `GET /api/metrics` exports event-loop delay (`openwa_event_loop_delay_p99_seconds`, `openwa_event_loop_delay_max_seconds`), unhandled promise rejections by `kind` (`openwa_unhandled_rejections_total`) and, with `QUEUE_ENABLED=true`, webho

Code frequency

additions and deletions
+86.2K-86.2KWeek of 2026-02-01: +65,337 linesWeek of 2026-02-01: -0 linesWeek of 2026-02-08: +3 linesWeek of 2026-02-08: -0 linesWeek of 2026-02-15: +4,138 linesWeek of 2026-02-15: -2,136 linesWeek of 2026-02-22: +2,325 linesWeek of 2026-02-22: -2,086 linesWeek of 2026-03-01: +6 linesWeek of 2026-03-01: -6 linesWeek of 2026-03-08: +0 linesWeek of 2026-03-08: -0 linesWeek of 2026-03-15: +0 linesWeek of 2026-03-15: -0 linesWeek of 2026-03-22: +0 linesWeek of 2026-03-22: -0 linesWeek of 2026-03-29: +7 linesWeek of 2026-03-29: -7 linesWeek of 2026-04-05: +0 linesWeek of 2026-04-05: -0 linesWeek of 2026-04-12: +0 linesWeek of 2026-04-12: -0 linesWeek of 2026-04-19: +0 linesWeek of 2026-04-19: -0 linesWeek of 2026-04-26: +1,922 linesWeek of 2026-04-26: -2,517 linesWeek of 2026-05-03: +0 linesWeek of 2026-05-03: -0 linesWeek of 2026-05-10: +608 linesWeek of 2026-05-10: -608 linesWeek of 2026-05-17: +3,557 linesWeek of 2026-05-17: -3,205 linesWeek of 2026-05-24: +0 linesWeek of 2026-05-24: -0 linesWeek of 2026-05-31: +0 linesWeek of 2026-05-31: -0 linesWeek of 2026-06-07: +2,545 linesWeek of 2026-06-07: -1,233 linesWeek of 2026-06-14: +36,093 linesWeek of 2026-06-14: -5,390 linesWeek of 2026-06-21: +44,463 linesWeek of 2026-06-21: -13,802 linesWeek of 2026-06-28: +24,447 linesWeek of 2026-06-28: -5,102 linesWeek of 2026-07-05: +15,215 linesWeek of 2026-07-05: -1,962 linesWeek of 2026-07-12: +22,180 linesWeek of 2026-07-12: -2,898 linesWeek of 2026-07-19: +24,139 linesWeek of 2026-07-19: -7,166 linesWeek of 2026-07-26: +46,242 linesWeek of 2026-07-26: -10,885 linesWeek of 2026-08-02: +71,780 linesWeek of 2026-08-02: -28,445 linesWeek of 2026-08-09: +44,996 linesWeek of 2026-08-09: -15,471 linesWeek of 2026-08-16: +15,967 linesWeek of 2026-08-16: -3,186 linesWeek of 2026-08-23: +4,578 linesWeek of 2026-08-23: -1,186 linesWeek of 2026-08-30: +9,671 linesWeek of 2026-08-30: -3,233 linesWeek of 2026-09-06: +2,382 linesWeek of 2026-09-06: -670 linesWeek of 2026-09-13: +16,525 linesWeek of 2026-09-13: -3,455 linesWeek of 2026-09-20: +34,281 linesWeek of 2026-09-20: -7,302 linesWeek of 2026-09-27: +67,110 linesWeek of 2026-09-27: -13,184 linesWeek of 2026-10-04: +28,947 linesWeek of 2026-10-04: -4,890 linesWeek of 2026-10-11: +24,786 linesWeek of 2026-10-11: -3,997 linesWeek of 2026-10-18: +86,207 linesWeek of 2026-10-18: -14,067 linesWeek of 2026-10-25: +54,117 linesWeek of 2026-10-25: -6,948 linesWeek of 2026-11-01: +17,673 linesWeek of 2026-11-01: -2,943 linesFeb 1, 2026Nov 1, 2026
+772.2K lines added, -168K removed over the last year.

Commits per week

last 52 weeks
16400Week of 2025-11-09: 0 commitsWeek of 2025-11-16: 0 commitsWeek of 2025-11-23: 0 commitsWeek of 2025-11-30: 0 commitsWeek of 2025-12-07: 0 commitsWeek of 2025-12-14: 0 commitsWeek of 2025-12-21: 0 commitsWeek of 2025-12-28: 0 commitsWeek of 2026-01-04: 0 commitsWeek of 2026-01-11: 0 commitsWeek of 2026-01-18: 0 commitsWeek of 2026-01-25: 0 commitsWeek of 2026-02-01: 1 commitsWeek of 2026-02-08: 1 commitsWeek of 2026-02-15: 38 commitsWeek of 2026-02-22: 8 commitsWeek of 2026-03-01: 2 commitsWeek of 2026-03-08: 0 commitsWeek of 2026-03-15: 0 commitsWeek of 2026-03-22: 0 commitsWeek of 2026-03-29: 4 commitsWeek of 2026-04-05: 0 commitsWeek of 2026-04-12: 0 commitsWeek of 2026-04-19: 0 commitsWeek of 2026-04-26: 3 commitsWeek of 2026-05-03: 0 commitsWeek of 2026-05-10: 1 commitsWeek of 2026-05-17: 17 commitsWeek of 2026-05-24: 0 commitsWeek of 2026-05-31: 0 commitsWeek of 2026-06-07: 28 commitsWeek of 2026-06-14: 171 commitsWeek of 2026-06-21: 121 commitsWeek of 2026-06-28: 144 commitsWeek of 2026-07-05: 60 commitsWeek of 2026-07-12: 74 commitsWeek of 2026-07-19: 138 commitsWeek of 2026-07-26: 170 commitsWeek of 2026-08-02: 283 commitsWeek of 2026-08-09: 319 commitsWeek of 2026-08-16: 155 commitsWeek of 2026-08-23: 38 commitsWeek of 2026-08-30: 99 commitsWeek of 2026-09-06: 22 commitsWeek of 2026-09-13: 122 commitsWeek of 2026-09-20: 557 commitsWeek of 2026-09-27: 1640 commitsWeek of 2026-10-04: 221 commitsWeek of 2026-10-11: 304 commitsWeek of 2026-10-18: 789 commitsWeek of 2026-10-25: 671 commitsWeek of 2026-11-01: 278 commitsNov 9, 2025Nov 1, 2026
6.5K commits in the last 52 weeks.

When work happens

weekday and hour
SunMonTueWedThuFriSat036912151821Sun 0:00 — 8 commitsSun 1:00 — 13 commitsSun 2:00 — 8 commitsSun 3:00 — 1 commitsSun 4:00 — 0 commitsSun 5:00 — 0 commitsSun 6:00 — 3 commitsSun 7:00 — 6 commitsSun 8:00 — 3 commitsSun 9:00 — 11 commitsSun 10:00 — 22 commitsSun 11:00 — 25 commitsSun 12:00 — 14 commitsSun 13:00 — 31 commitsSun 14:00 — 21 commitsSun 15:00 — 16 commitsSun 16:00 — 12 commitsSun 17:00 — 33 commitsSun 18:00 — 17 commitsSun 19:00 — 38 commitsSun 20:00 — 52 commitsSun 21:00 — 13 commitsSun 22:00 — 17 commitsSun 23:00 — 62 commitsMon 0:00 — 145 commitsMon 1:00 — 24 commitsMon 2:00 — 6 commitsMon 3:00 — 1 commitsMon 4:00 — 86 commitsMon 5:00 — 3 commitsMon 6:00 — 4 commitsMon 7:00 — 19 commitsMon 8:00 — 13 commitsMon 9:00 — 51 commitsMon 10:00 — 42 commitsMon 11:00 — 37 commitsMon 12:00 — 27 commitsMon 13:00 — 111 commitsMon 14:00 — 65 commitsMon 15:00 — 31 commitsMon 16:00 — 21 commitsMon 17:00 — 15 commitsMon 18:00 — 16 commitsMon 19:00 — 23 commitsMon 20:00 — 29 commitsMon 21:00 — 62 commitsMon 22:00 — 17 commitsMon 23:00 — 12 commitsTue 0:00 — 9 commitsTue 1:00 — 2 commitsTue 2:00 — 4 commitsTue 3:00 — 32 commitsTue 4:00 — 1 commitsTue 5:00 — 2 commitsTue 6:00 — 0 commitsTue 7:00 — 26 commitsTue 8:00 — 14 commitsTue 9:00 — 39 commitsTue 10:00 — 20 commitsTue 11:00 — 24 commitsTue 12:00 — 16 commitsTue 13:00 — 16 commitsTue 14:00 — 6 commitsTue 15:00 — 14 commitsTue 16:00 — 71 commitsTue 17:00 — 88 commitsTue 18:00 — 11 commitsTue 19:00 — 12 commitsTue 20:00 — 53 commitsTue 21:00 — 30 commitsTue 22:00 — 75 commitsTue 23:00 — 31 commitsWed 0:00 — 102 commitsWed 1:00 — 17 commitsWed 2:00 — 18 commitsWed 3:00 — 4 commitsWed 4:00 — 1 commitsWed 5:00 — 4 commitsWed 6:00 — 3 commitsWed 7:00 — 19 commitsWed 8:00 — 18 commitsWed 9:00 — 22 commitsWed 10:00 — 41 commitsWed 11:00 — 28 commitsWed 12:00 — 50 commitsWed 13:00 — 81 commitsWed 14:00 — 39 commitsWed 15:00 — 21 commitsWed 16:00 — 48 commitsWed 17:00 — 392 commitsWed 18:00 — 185 commitsWed 19:00 — 33 commitsWed 20:00 — 113 commitsWed 21:00 — 49 commitsWed 22:00 — 64 commitsWed 23:00 — 32 commitsThu 0:00 — 21 commitsThu 1:00 — 75 commitsThu 2:00 — 31 commitsThu 3:00 — 17 commitsThu 4:00 — 56 commitsThu 5:00 — 70 commitsThu 6:00 — 4 commitsThu 7:00 — 42 commitsThu 8:00 — 31 commitsThu 9:00 — 78 commitsThu 10:00 — 54 commitsThu 11:00 — 76 commitsThu 12:00 — 111 commitsThu 13:00 — 57 commitsThu 14:00 — 41 commitsThu 15:00 — 229 commitsThu 16:00 — 144 commitsThu 17:00 — 78 commitsThu 18:00 — 68 commitsThu 19:00 — 91 commitsThu 20:00 — 45 commitsThu 21:00 — 323 commitsThu 22:00 — 30 commitsThu 23:00 — 28 commitsFri 0:00 — 103 commitsFri 1:00 — 59 commitsFri 2:00 — 20 commitsFri 3:00 — 14 commitsFri 4:00 — 5 commitsFri 5:00 — 8 commitsFri 6:00 — 1 commitsFri 7:00 — 39 commitsFri 8:00 — 157 commitsFri 9:00 — 13 commitsFri 10:00 — 133 commitsFri 11:00 — 34 commitsFri 12:00 — 14 commitsFri 13:00 — 69 commitsFri 14:00 — 51 commitsFri 15:00 — 46 commitsFri 16:00 — 29 commitsFri 17:00 — 56 commitsFri 18:00 — 30 commitsFri 19:00 — 21 commitsFri 20:00 — 13 commitsFri 21:00 — 33 commitsFri 22:00 — 84 commitsFri 23:00 — 81 commitsSat 0:00 — 89 commitsSat 1:00 — 31 commitsSat 2:00 — 9 commitsSat 3:00 — 7 commitsSat 4:00 — 5 commitsSat 5:00 — 2 commitsSat 6:00 — 1 commitsSat 7:00 — 9 commitsSat 8:00 — 8 commitsSat 9:00 — 10 commitsSat 10:00 — 10 commitsSat 11:00 — 11 commitsSat 12:00 — 9 commitsSat 13:00 — 14 commitsSat 14:00 — 17 commitsSat 15:00 — 16 commitsSat 16:00 — 7 commitsSat 17:00 — 4 commitsSat 18:00 — 5 commitsSat 19:00 — 11 commitsSat 20:00 — 3 commitsSat 21:00 — 7 commitsSat 22:00 — 7 commitsSat 23:00 — 10 commits
Commit volume by weekday and hour (UTC). Larger dots mean more commits.

Who is committing

last 52 weeks
Maintainer commits7,075 (95%)
Community commits348 (5%)

7,423 commits in total over the last year.

DateListRankStars gained
May 20, 2026daily#25+40
May 19, 2026daily#8+67
May 18, 2026daily#12+77
  • public-apis/public-apis

    A collective list of free APIs

    499K stars · Python

  • morluto/rea

    Reverse engineer anything with agents, from app behavior down to native binaries.

    459.7K stars · TypeScript

  • freeCodeCamp/freeCodeCamp

    freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

    459.1K stars · TypeScript

  • openclaw/openclaw

    The AI that really does things. Any OS. Any Platform. The lobster way. 🦞

    394.5K stars · TypeScript

  • awesome-selfhosted/awesome-selfhosted

    A list of Free Software network services and web applications which can be hosted on your own servers

    337.1K stars

  • anomalyco/opencode

    The open source coding agent.

    226.9K stars · TypeScript