{"id":15774002,"url":"https://github.com/zaadevofc/zwa","last_synced_at":"2025-03-14T05:32:11.843Z","repository":{"id":182270175,"uuid":"668222852","full_name":"zaadevofc/zwa","owner":"zaadevofc","description":"ZWA MD | Simple package to make Whatsapp bot Light and Fast!","archived":false,"fork":false,"pushed_at":"2023-11-17T15:50:58.000Z","size":155,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-08T12:09:31.742Z","etag":null,"topics":["bot","multidevice","nodejs","wa","wabot","zwa"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/zwa","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zaadevofc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-19T09:59:20.000Z","updated_at":"2024-02-23T10:06:45.000Z","dependencies_parsed_at":"2024-10-04T01:30:50.461Z","dependency_job_id":"404a1bfb-ed1c-4ff8-89e6-57b0dcc96cbe","html_url":"https://github.com/zaadevofc/zwa","commit_stats":{"total_commits":24,"total_committers":2,"mean_commits":12.0,"dds":0.125,"last_synced_commit":"bc7523939e8b1c9153f159bf135e7e16c17675cb"},"previous_names":["zaadevofc/zwa"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaadevofc%2Fzwa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaadevofc%2Fzwa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaadevofc%2Fzwa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaadevofc%2Fzwa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zaadevofc","download_url":"https://codeload.github.com/zaadevofc/zwa/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243165509,"owners_count":20246723,"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":["bot","multidevice","nodejs","wa","wabot","zwa"],"created_at":"2024-10-04T16:04:22.218Z","updated_at":"2025-03-14T05:32:11.507Z","avatar_url":"https://github.com/zaadevofc.png","language":"JavaScript","readme":"\n# ZWA MD - WhatsApp NodeJS\n\nSimple package to make Whatsapp bot Light and Fast! This is a replacement for the removed [@adiwajshing/baileys](https://github.com/adiwajshing/baileys) library. and now this package uses the library from [@whiskeysockets/baileys](https://github.com/WhiskeySockets/Baileys) then I make it easier and I break it down so that everyone can easily make WhatsApp Bot.\n\n\n## Installation\n\nInstall `zwa` in your project :\n\n```bash\n  npm install zwa\n```\n```bash\n  yarn add zwa\n```\n    \n## Running Tests\n\nTo run tests, run the following command :\n\n```bash\n  git clone https://github.com/zaadevofc/zwa\n  cd zwa\n  npm install\n  npm run test\n```\n\n\n## Usage\n\ninitial configuration that needs to be considered when running it.\n```javascript\nconst { Connection, Config } = require('zwa')\n\nconst config = Config({\n    /*  */\n})\n\n// must async function ...\nconst connect = async () =\u003e {\n    const ZWA = new Connection({ config })\n    await ZWA.initial(connect) // fill with function name\n}\n\nconnect()\n\n```\n## Configuration\n\n```javascript\n{\n    showLogs: true, // show a logs of some actions\n    dir: 'session', // folder path of your session\n    prefix: '/', // set prefix for use command object\n    authors: [/* 628... */], // set authors\n    banned: [/* 628... */], // set banned\n    browser: ['ZWA MD', 'Safari', '3.0.0'] // set browser to show in your connection\n}\n```\n\n## Event Listener\n\n```javascript\nZWA.on('connection', ({ status }) =\u003e {\n    // this event for actived and running the bot\n    // don't delete this event\n    // status \"connecting\" || \"open\" || \"close\"\n})\n\nZWA.on('messages', (msg) =\u003e {\n    /* .... */\n})\n\nZWA.on('messages.delete', (msg) =\u003e {\n    /* .... */\n})\n\nZWA.on('call', (msg) =\u003e {\n    /* .... */\n})\n\nZWA.on('update.status', (msg) =\u003e {\n    /* .... */\n})\n```\n\n\n## Demo\n\n![Demo](https://github.com/zaadevofc/zaadevofc/blob/5bdca1bb6eb7873b37f8485cd53447d7fc696714/doc-zwa.gif?raw=true)\n\n\n## Feedback\n\nIf you have any feedback, please reach out to us at zaadevofc@gmail.com\n\n\n## License\n\nCopyright (c) 2022 Dominik Wilkowski.\nLicensed under the [GNU GPL-3.0-or-later](https://github.com/zaadevofc/zwa/blob/main/LICENSE).\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaadevofc%2Fzwa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaadevofc%2Fzwa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaadevofc%2Fzwa/lists"}