A clean, open-source WhatsApp session generator built with Baileys.
Clone it, edit one config file, and run your own pair-code / QR-code site for any WhatsApp bot.
- Pair Code β enter your number, get a code, link via WhatsApp Linked Devices
- QR Code β scan with WhatsApp to link instantly
- Session DM β session string sent directly to your WhatsApp after linking
- One config file β
config.jsis the only file you ever edit - Minimal β no database, no auth layer, no bloat
git clone https://github.com/sil3nt-wolf/wolfXpair
cd wolfXpair
npm install
node server.jsOpen http://localhost:3000 in your browser.
Edit config.js β every field that appears in the UI and the post-link DM is driven from here:
export const CONFIG = {
BOT_NAME: 'WOLF TECH', // display name
SESSION_PREFIX: 'WOLF-TECH', // prefix of the session string
TAGLINE: 'WhatsApp Device Linking',
NAV_SUB: 'Session Generator',
AUTHOR: 'Silent Wolf', // shown in post-link DM card
DEPLOY_HOST: 'host.xwolf.space', // your bot hosting domain
PANEL_HOST: 'panel.xwolf.space', // your panel domain
GITHUB_URL: 'https://github.com/sil3nt-wolf',
};No other file needs changing.
- User enters their WhatsApp number β server connects to WhatsApp via Baileys
- WhatsApp returns a pairing code (or QR) β shown in the browser
- User enters the code in WhatsApp β Settings β Linked Devices β Link a Device β Link with phone number instead
- Device links β session string is sent to user's WhatsApp DMs as two messages:
- Message 1 β raw session string
- Message 2 β branded info card
WOLF-TECH:~eyJub2lzZXlLZXlzIjp7...
βββ server.js Express server, API routes
βββ config.js β only file you edit
βββ whatsapp.js Baileys integration
βββ package.json
βββ public/
βββ index.html Landing page
βββ pair.html Pair code page
βββ pair.js
βββ qr.html QR code page
βββ qr.js
βββ preview.png OG / thumbnail image
Built by Silent Wolf
Powered by @whiskeysockets/baileys
WOLF TECH - wolfXpair - Built different.
