https://github.com/suhailtechinfo/web-qr
Get Baileys Qr for Whatsapp Connection.You can change it According to your needs.
https://github.com/suhailtechinfo/web-qr
md md-qr multidevice multidevice-bot multidevice-qr suhail-md suhail-md-qr wa-bot-qr wa-md-qr web-qr whatsapp-bot whatsapp-qr
Last synced: 5 months ago
JSON representation
Get Baileys Qr for Whatsapp Connection.You can change it According to your needs.
- Host: GitHub
- URL: https://github.com/suhailtechinfo/web-qr
- Owner: SuhailTechInfo
- License: mit
- Created: 2024-01-04T10:44:29.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-16T09:56:28.000Z (over 1 year ago)
- Last Synced: 2025-03-24T03:04:32.745Z (10 months ago)
- Topics: md, md-qr, multidevice, multidevice-bot, multidevice-qr, suhail-md, suhail-md-qr, wa-bot-qr, wa-md-qr, web-qr, whatsapp-bot, whatsapp-qr
- Language: JavaScript
- Homepage: https://youtube.com/SuhailTechInfo
- Size: 96.7 KB
- Stars: 30
- Watchers: 1
- Forks: 112
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
WEB BASED MULTIDEVICE QR

## Deployment Methods
---
1. ***Click [`FORK`](https://github.com/SuhailTechInfo/web-qr/fork) and `Star ⭐ Repository` if you get help from repo.***
2. ***Deploy on [`HEROKU`](https://dashboard.heroku.com/new?template=https://github.com/SuhailTechInfo/web-qr).***
3. ***Deploy on [`REPLIT`](https://replit.com/github/SuhailTechInfo/web-qr).***
4. ***Deploy on [`RENDER`](https://dashboard.render.com/login).***
```
RENDER PROCESS:
1: Click "NEW".
2: Select "Web Service".
3: Click "Build and deploy from a Git repository".
4: Now Choose this forked git repo from list.
5: And JUST CLICK "Connect".
```
- Dependencies
```sh
"@hapi/boom": "^10.0.1",
"@whiskeysockets/baileys": "6.5.0",
"pino": "^8.1.0",
"express": "^4.18.2",
"qrcode": "latest"
```
- WASocket Options
```js
let Smd =SuhailWASocket({
printQRInTerminal: false, // make it false if you're using web
logger: pino({ level: "silent" }), // make it silent to prevent baileys buffering
browser: Browsers.baileys("Desktop"), // awailable browsers : ubuntu, macOS, baileys.
auth: state
});
```
- Getting Session in BASE64
```js
let CREDS = fs.readFileSync(__dirname + '/auth_info_baileys/creds.json')
var Scan_Id = Buffer.from(CREDS).toString('base64') // converting into Base64 ---- IMPLEMENT ACCOEDING TO YOUR NEED
// res.json({status:true,Scan_Id })
```
- Environment variable
```js
const PORT = process.env.PORT || 5000
const MESSAGE = process.env.MESSAGE || "Don't Provide your session id to someone!"
// Set Confirmation Message According to your need!
```
## MADE WITH ❤️
[](https://github.com/SuhailTechInfo)