Skip to content

WOLFTECH-254/wolfXpair

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐺 WOLF TECH β€” WhatsApp Session Generator

WOLF TECH Session Generator

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.


Features

  • 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.js is the only file you ever edit
  • Minimal β€” no database, no auth layer, no bloat

Quick Start

git clone https://github.com/sil3nt-wolf/wolfXpair
cd wolfXpair
npm install
node server.js

Open http://localhost:3000 in your browser.


Configuration

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.


How It Works

  1. User enters their WhatsApp number β†’ server connects to WhatsApp via Baileys
  2. WhatsApp returns a pairing code (or QR) β†’ shown in the browser
  3. User enters the code in WhatsApp β†’ Settings β†’ Linked Devices β†’ Link a Device β†’ Link with phone number instead
  4. Device links β†’ session string is sent to user's WhatsApp DMs as two messages:
    • Message 1 β€” raw session string
    • Message 2 β€” branded info card

Session String Format

WOLF-TECH:~eyJub2lzZXlLZXlzIjp7...

File Structure

β”œβ”€β”€ 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

Live Demo

wolfxpair.xwolf.space


Credits

Built by Silent Wolf
Powered by @whiskeysockets/baileys

WOLF TECH - wolfXpair - Built different.

About

πŸ”‘ WolfXPair β€” Open-source WhatsApp session ID generator & pairing site. Instantly generate Baileys session credentials for your WhatsApp bot. Easy to deploy, developer-friendly. By WolfTech.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors