Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iron-m4n/pair-example
Pairing Code Example with @whiskeysockets/baileys
https://github.com/iron-m4n/pair-example
baileys express pairing whatsapp-bot whiskeysockets
Last synced: about 1 month ago
JSON representation
Pairing Code Example with @whiskeysockets/baileys
- Host: GitHub
- URL: https://github.com/iron-m4n/pair-example
- Owner: IRON-M4N
- License: mit
- Created: 2024-10-11T08:14:56.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-24T19:37:33.000Z (3 months ago)
- Last Synced: 2024-10-26T05:50:26.616Z (3 months ago)
- Topics: baileys, express, pairing, whatsapp-bot, whiskeysockets
- Language: JavaScript
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Pairing Code Example with @whiskeysockets/baileys
A simple example of a pairing code server that uses `@whiskeysockets/baileys` and stores session credentials in MEGA with an ID.
## Getting Started
1. **Clone the repository**
```bash
git clone https://github.com/IRON-M4N/pair-example.git
cd pair-example
```2. **Install dependencies**
```bash
npm install
```3. **Configure your MEGA and session settings**
- Edit `config.js` and set add your Mega account password and email and session prefix```javascript
module.exports = {
EMAIL: "your-mega-email",
PASS: "your-mega-password",
PREFIX: "IRON-M4N×" // Customize your session ID prefix here
};
```4. **Run the script**
```bash
npm start
```- To stop or restart, you can use:
```bash
npm run stop
npm run restart
```5. **Pairing Usage**
```
http://localhost:3000/pair?code=+6969696969
```##### Readme is made from ChatGpt cuz takes too much energy to make one and explain it sooo...yeah
###### IRON-M4N