Skip to content
프로젝트

소개

Node.js 및 TypeScript용 WhatsApp Web 자동화 라이브러리입니다. Puppeteer로 세션을 관리하고, 메시지를 보내고 받으며, 미디어를 처리하고 봇을 만들 수 있습니다. WPPConnect 생태계의 일부입니다.

생산성 및 자동화

이 수치를 측정하는 방법

What you can do

  • Send and receive text, images, video, audio, documents, contacts, locations and stickers.
  • Manage multiple sessions, QR pairing, chats, contacts and groups.
  • Handle incoming messages and session events through the JavaScript/TypeScript API.

측정된 스타 증가

in 24h
-1
in 7 days
+4
in 15 days
+20
in 1 month
+34

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

English | Português (Brasil)

WPPConnect

WPPConnect

Control WhatsApp Web from Node.js applications.

A project in the WPPConnect ecosystem, maintained by WPPConnect Team.

Getting started | Documentation | Contributing | Support WPPConnect

License: LGPL-3.0-or-later npm version CI Open Collective

Overview

For developers building bots and integrations who want to manage the browser and session lifecycle in their own application. WPPConnect combines Puppeteer with the browser automation layer used by the ecosystem.

Features

  • Send and receive text, images, video, audio, documents, contacts, locations and stickers.
  • Manage multiple sessions, QR pairing, chats, contacts and groups.
  • Handle incoming messages and session events through the JavaScript/TypeScript API.

Getting started

Use Node.js and npm, plus Chrome/Chromium and its operating-system dependencies. CI builds with Node.js 24.22.2; the package does not declare a minimum Node version.

npm install @wppconnect-team/wppconnect

Save this as index.cjs, run node index.cjs, and scan the QR code with WhatsApp Linked devices. Send ping from an authorized test contact to receive pong.

const wppconnect = require("@wppconnect-team/wppconnect");

wppconnect.create({ session: "readme-demo" })
  .then((client) => {
    client.onMessage(async (message) => {
      if (!message.isGroupMsg && message.body === "ping") {
        await client.sendText(message.from, "pong");
      }
    });
  })
  .catch(console.error);

Configuration

Pass session and browser options to create(...); see client creation. Store session credentials privately. WhatsApp Web changes can require package updates; review release notes and deprecations when upgrading.

Documentation

WPPConnect ecosystem

Project Purpose When to use it
WPPConnect/WA-JS Expose WhatsApp Web functions through the browser-side WPP API. Run browser-side code in WhatsApp Web.
WPPConnect Server Run a REST API for WhatsApp sessions, messages and webhooks. Expose session and messaging operations over HTTP.
WPPConnect Manager Manage WPPConnect Server sessions and conversations in a self-hosted web workspace. Operate compatible Server sessions and chats through a UI.

Support the project

WPPConnect is maintained by an open-source community. Your support helps fund maintenance, infrastructure, documentation, and the people working on the ecosystem.

If WPPConnect helps your project or business, consider making a one-time contribution or becoming a recurring supporter.

Support WPPConnect on Open Collective

Contributions are voluntary. See the official page for current financial information. You can also help with code, tests, documentation, translations and well-described issue reports.

Additional official beneficiaries in .github/FUNDING.yml: joaosouz4dev, manfe.

Contributing

Contributions of code, tests, examples, documentation and translations are welcome. For larger changes, discuss the approach in an issue first. Include the project/runtime versions, a minimal reproduction and sanitized logs when reporting a problem. Update both README.md and README.pt-BR.md in the same change when installation, configuration, features, examples, licensing or funding changes.

Read CONTRIBUTING.md.

After installing the development dependencies, use the repository checks relevant to your change:

npm run build
npm run lint
npm test

Account-dependent examples and tests require separate validation with an authorized test account. Never attach credentials or session files to an issue.

Community and support

Use repository issues for reproducible bugs and feature proposals. For usage questions, join the community through the official channels:

This project is independent and is not affiliated with or endorsed by WhatsApp or Meta. Follow applicable terms and obtain authorization for account and messaging operations.

License

GNU Lesser General Public License v3.0 or later (LGPL-3.0-or-later).

WPPConnect Team and contributors.

The original legal document and existing copyright notices are preserved. Third-party components retain their own terms.

관련 프로젝트 살펴보기

불러오는 중…