{"id":15103104,"url":"https://github.com/dikaardnt/wajs","last_synced_at":"2025-10-22T23:30:18.794Z","repository":{"id":211220583,"uuid":"728333161","full_name":"DikaArdnt/wajs","owner":"DikaArdnt","description":"an open source to connect WhatsApp Web via playwright","archived":false,"fork":false,"pushed_at":"2024-04-16T05:20:39.000Z","size":625,"stargazers_count":26,"open_issues_count":5,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T13:17:06.046Z","etag":null,"topics":["playwright","playwright-javascript","whatsapp-bot","whatsapp-web","whatsapp-webdriver"],"latest_commit_sha":null,"homepage":"https://wajs.dikaardnt.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DikaArdnt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":["pedroslopez","edgardmessias","PurpShell","DikaArdnt"],"custom":["paypal.me/CakHaho","trakteer.id/cakhaho"]}},"created_at":"2023-12-06T18:03:21.000Z","updated_at":"2025-01-22T12:55:26.000Z","dependencies_parsed_at":"2024-03-22T00:45:34.315Z","dependency_job_id":null,"html_url":"https://github.com/DikaArdnt/wajs","commit_stats":null,"previous_names":["dikaardnt/wajs"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DikaArdnt%2Fwajs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DikaArdnt%2Fwajs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DikaArdnt%2Fwajs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DikaArdnt%2Fwajs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DikaArdnt","download_url":"https://codeload.github.com/DikaArdnt/wajs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237748135,"owners_count":19359784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["playwright","playwright-javascript","whatsapp-bot","whatsapp-web","whatsapp-webdriver"],"created_at":"2024-09-25T19:21:13.890Z","updated_at":"2025-10-22T23:30:18.323Z","avatar_url":"https://github.com/DikaArdnt.png","language":"JavaScript","funding_links":["https://github.com/sponsors/pedroslopez","https://github.com/sponsors/edgardmessias","https://github.com/sponsors/PurpShell","https://github.com/sponsors/DikaArdnt","paypal.me/CakHaho","trakteer.id/cakhaho","https://www.paypal.me/CakHaho"],"categories":[],"sub_categories":[],"readme":"# Special Big Thanks To\n\u003c!-- Big thanks to. Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/pedroslopez\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/4368928?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ePedro S. Lopez\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003csub\u003e\u003ci\u003eAuthor of whatsapp-web.js\u003c/i\u003e\u003c/sub\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/edgardmessias\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/1530997?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eEdgard Lorraine Messias\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003csub\u003e\u003ci\u003eAuthor of wa-js\u003c/i\u003e\u003c/sub\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n# Info\nThis repo is the result of a recode from the [pedroslopez/whatsapp-web.js](https://github.com/pedroslopez/whatsapp-web.js) repo and additions from [wppconnect-team/wa-js](https://github.com/wppconnect-team/wa-js)\n\n\n# wajs\nA WhatsApp API client that connects through the WhatsApp Web browser app\n\nIt uses Playwright to run a real instance of Whatsapp Web to avoid getting blocked.\n\n**NOTE:** I can't guarantee you will not be blocked by using this method, although it has worked for me. WhatsApp does not allow bots or unofficial clients on their platform, so this shouldn't be considered totally safe.\n\n## Quick Links\n\n* [GitHub](https://github.com/DikaArdnt/wajs)\n\n## Installation\n\nThe module is now available on npm! `npm i github:DikaArdnt/wajs`\n\nPlease note that Node v12+ is required.\n\n## Example usage\n\n```js\nconst { Client } = require('@dikaardnt/wajs');\n\nconst client = new Client();\n\nclient.on('qr', (qr) =\u003e {\n    // Generate and scan this code with your phone\n    console.log('QR RECEIVED', qr);\n});\n\nclient.on('ready', () =\u003e {\n    console.log('Client is ready!');\n});\n\nclient.on('message', msg =\u003e {\n    if (msg.body == '!ping') {\n        msg.reply('pong');\n    }\n});\n\nclient.initialize();\n```\n\nTake a look at [example.js](https://github.com/DikaArdnt/wajs/blob/master/example.js) for another example with more use cases.\n\n\n## Supported features\n\n| Feature  | Status |\n| ------------- | ------------- |\n| Multi Device  | ✅  |\n| Send messages  | ✅  |\n| Receive messages  | ✅  |\n| Send media (images/audio/documents)  | ✅  |\n| Send media (video)  | ✅ |\n| Send stickers | ✅ |\n| Receive media (images/audio/video/documents)  | ✅  |\n| Send contact cards | ✅ |\n| Send location | ✅ |\n| Send status | ✅ |\n| Receive location | ✅ | \n| Message replies | ✅ |\n| Join groups by invite  | ✅ |\n| Get invite for group  | ✅ |\n| Modify group info (subject, description)  | ✅  |\n| Modify group settings (send messages, edit info)  | ✅  |\n| Add group participants  | ✅  |\n| Kick group participants  | ✅  |\n| Promote/demote group participants | ✅ |\n| Mention users | ✅ |\n| Mute/unmute chats | ✅ |\n| Block/unblock contacts | ✅ |\n| Get contact info | ✅ |\n| Get profile pictures | ✅ |\n| Set user status message | ✅ |\n| React to messages | ✅ |\n\nSomething missing? Make an issue and let us know!\n\n## Contributing\n\nPull requests are welcome! If you see something you'd like to add, please do. For drastic changes, please open an issue first.\n\n## Supporting the project\n\nYou can support the maintainer of this project through the links below\n\n- [Support via PayPal](https://www.paypal.me/CakHaho)\n- [Support via Saweria](https://saweria.co/DikaArdnt)\n- [Support via Trakteer](https://trakteer.id/cakhaho)\n\n## Disclaimer\n\nThis project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with WhatsApp or any of its subsidiaries or its affiliates. The official WhatsApp website can be found at https://whatsapp.com. \"WhatsApp\" as well as related names, marks, emblems and images are registered trademarks of their respective owners.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdikaardnt%2Fwajs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdikaardnt%2Fwajs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdikaardnt%2Fwajs/lists"}