English | Português (Brasil)
Integrate WhatsApp Web into Delphi and Lazarus applications.
A project in the WPPConnect ecosystem, maintained by WPPConnect Team.
Getting started | Documentation | Contributing | Support WPPConnect
For Object Pascal developers. TWPPConnect embeds Chromium through CEF4Delphi, injects WA-JS and translates asynchronous responses into Delphi/Lazarus objects and events. The component package is TWPP4DelphiCollection.
- QR pairing, text/media messaging, contacts, chats, groups and event callbacks.
- Shared source for Delphi VCL and Lazarus LCL/FPC, with demo projects.
Requires Delphi or Lazarus/FPC, CEF4Delphi, matching CEF binaries and WA-JS. The existing Lazarus instructions target FPC 3.2.2. Boss can download the project:
boss install github.com/wppconnect-team/WPP4Delphi- Install CEF4Delphi and add its source directory to the IDE library path. Match the binaries to that CEF version and your target architecture.
- Add
Source/Model,Source/Services,Source/View,Source/Otherand the appropriatePackages/Compiladosdirectory to the Delphi library path. Build and install TWPP4DelphiCollection.dpk. Newer CEF builds may require the existingCEFCurrentVersiondirective; check the technical notes. - Open Demo/WPPConnectDemo.dpr, build it, and place the matching CEF binaries and ConfTWPPConnect.ini beside the executable. Run the demo and follow QR pairing.
- For Lazarus install DCPcrypt, Indy (
indylaz) and CEF4Delphi before twpp4delphicollection.lpk. The shared source contains FPC JSON/thread compatibility units.
The older CEF 109 download instructions are retained in the reference notes for legacy environments; they do not establish compatibility or security of current WhatsApp Web on those systems.
Review ConfTWPPConnect.ini and the demo forms before using your own account. Browser, WA-JS and native binary versions must match the selected environment. The historical OpenAI demo is retained as a reference only; its old model/API example needs updating before use.
- Technical specification
- Delphi demo
- Lazarus demo notes
- CEF4Delphi
- Retained technical details and acknowledgments
| 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 | Control WhatsApp Web from Node.js applications. | Embed automation in a Node.js application. |
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.
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.
Account-dependent examples and tests require separate validation with an authorized test account. Never attach credentials or session files to an issue.
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.
Apache License 2.0 (Apache-2.0).
Copyright 2022 WPPConnect Team.
The original legal document and existing copyright notices are preserved. Third-party components retain their own terms.