Skip to content
Proyek

Tentang

Pustaka otomasi WhatsApp Web di sisi browser. Menyediakan API JavaScript WPP untuk chat, pesan, kontak, grup, media, dan event, serta mendukung integrasi dan ekstensi WPPConnect.

Alat pengembangan

Cara angka ini diukur

849 bintang255 Fork +1 dalam 24 jam

Yang dapat Anda lakukan

  • Chat and media operations, groups, communities, channels and business catalog functions.
  • Connection events, profile/privacy settings, labels and chat lists.
  • Typed exported WhatsApp modules and browser-injection tooling.

Pertumbuhan bintang terukur

dalam 24 jam
+1
dalam 7 hari
+4
dalam 15 hari
+9
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

English | Português (Brasil)

WPPConnect

WPPConnect/WA-JS

Expose WhatsApp Web functions through the browser-side WPP API.

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

Getting started | Documentation | Contributing | Support WPPConnect

License: Apache-2.0 npm version CI Open Collective

Overview

For extension and browser-integration developers who need to execute code inside WhatsApp Web. The generated dist/wppconnect-wa.js bundle exposes chat, contact, connection and other modules; it is not a Node.js WhatsApp client.

Features

  • Chat and media operations, groups, communities, channels and business catalog functions.
  • Connection events, profile/privacy settings, labels and chat lists.
  • Typed exported WhatsApp modules and browser-injection tooling.

Getting started

Use Node.js/npm for the build and a browser with WhatsApp Web for execution. package.json declares WhatsApp Web >=2.3000.1038792969-alpha; individual capabilities may vary with WhatsApp updates.

git clone https://github.com/wppconnect-team/wa-js.git
cd wa-js
npm ci
npm run build:prd
npm run launch:local

The launcher opens a browser with the bundle injected. After signing in, evaluate this in that page's developer console to inspect the current authentication state:

WPP.loader.onReady(() => {
  console.log(WPP.conn.isAuthenticated());
});

Configuration

Set window.WPPConfig before injection for supported options in src/config. WA_VERSION selects a cached/downloaded version for the local launcher. Only load one default WPP bundle per page; the reference notes explain custom global names.

Documentation

WPPConnect ecosystem

Project Purpose When to use it
WPPConnect Control WhatsApp Web from Node.js applications. Embed automation in a Node.js application.
Wppconnect Extension Send configured messages and attachments through a Chrome extension for WhatsApp Web. Use a Chrome UI over WA-JS.
WPPConnect/WA-JS API SERVER Serve URL-preview metadata and PNG payloads for WA-JS integrations. Provide a companion link-preview service.
WPPConnect/WA-Version Track WhatsApp Web versions and retrieve stored page content. Investigate WhatsApp Web version compatibility.

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.

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

npm run build:prd
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

Apache License 2.0 (Apache-2.0).

Copyright 2021 WPPConnect Team.

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

Jelajahi proyek terkait

Memuat…