New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

dibosockets

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dibosockets

Custom Baileys WhatsApp API

latest
npmnpm
Version
1.1.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

✨ DiboSockets.

Custom WhatsApp library built upon Baileys — enhanced, modernized, and elegant ✨

npm version npm downloads

Lihat Repositori GitHub

📌 Overview

DiboSockets is a refined version of the Baileys library with cleaner API usage, exclusive features like album messaging, newsletter controls, and full-size profile uploads — tailored for modern WhatsApp automation needs.

📦 Installation

Via package.json Fork Baileys (NPM)

@whiskeysockets/baileys

"dependencies": {
  "@whiskeysockets/baileys": "npm:dibosockets@latest"
}

@adiwajsing/baileys

"dependencies": {
  "@adiwajshing/baileys": "npm:dibosockets@latest"
}

baileys

"dependencies": {
  "baileys": "npm:dibosockets@latest"
}

Or via terminal

npm install npm:dibosockets@latest

Importing (for those who don't fork another repository)

ESM

import makeWASocket from 'dibosockets'

CJS

const { default: makeWASocket } = require('dibosockets')

🌟 Key Features

CategoryDescription
📢 ChannelsSeamlessly send messages to WhatsApp Channels.
🖱️ ButtonsCreate interactive messages with button options and quick replies.
🖼️ AlbumsSend grouped images or videos as an album (carousel-like format).
👤 LID GroupingHandle group operations using the latest @lid addressing style.
🤖 AI Message StyleAdd a stylized “AI” icon to messages.
📷 HD Profile PicsUpload full-size profile pictures without cropping.
🔐 Pairing CodeGenerate custom alphanumeric pairing codes.
🛠️ Dev ExperienceReduced noise from logs with optimized libsignal printouts.

💡 Use Case Examples

📬 Newsletter Control
// Create a newsletter
await sock.newsletterCreate("DiboSockets");

// Change description
await sock.newsletterUpdateDescription("dibosockets@newsletter", "Fresh updates weekly");

// Send a reaction to a channel message
await sock.newsletterReactMessage("dibosockets@newsletter", "175", "🔥");
📌 Interactive Messaging
const buttons = [
  { buttonId: 'btn1', buttonText: { displayText: 'Click Me' }, type: 1 },
  { buttonId: 'btn2', buttonText: { displayText: 'Visit Site' }, type: 1 }
];

const msg = {
  text: "Choose one:",
  footer: "From DiboSockets with love 💜",   
  buttons,
  headerType: 1
};

await sock.sendMessage(id, msg, { quoted: null });
🖼️ Send Album
const media = [
  { image: { url: "https://example.com/pic1.jpg" } },
  { video: { url: "https://example.com/clip.mp4" } }
];

await sock.sendMessage(id, { album: media, caption: "Memories 💫" }, { quoted: null });
🔐 Pairing with Custom Code
const code = await sock.requestPairingCode("62xxxxxxxxxx", "DIBO01");
console.log("Your Pairing Code:", code);
📊 Poll Creation
const pollMessage = {
  name: "Favorite Color?",
  values: ["Red", "Blue", "Green"],
  selectableCount: 1
};

await sock.sendMessage(id, { poll: pollMessage });
📍 Location Sharing
const locationMessage = {
  degreesLatitude: 37.422,
  degreesLongitude: -122.084,
  name: "Googleplex",
  address: "1600 Amphitheatre Pkwy, Mountain View, CA 94043"
};

await sock.sendMessage(id, { location: locationMessage });
👥 Group Management
// Create group
const group = await sock.groupCreate("My New Group", [number1, number2]);

// Add participants
await sock.groupAdd(group.id, [number3, number4]);

// Change group description
await sock.groupUpdateDescription(group.id, "This is our awesome group!");

Note: Replace id with the actual recipient ID and sock with your WhatsApp socket connection variable.

🐞 Found a Bug?

Please open an issue at [ UNCOMING WEBSITE ] Or contact the maintainer directly via WhatsApp:

WhatsApp

🙏 TQTO (Thanks To)

Terima kasih kepada pihak-pihak yang telah memberikan dukungan, inspirasi, dan kontribusi secara langsung maupun tidak langsung dalam pengembangan proyek ini:

  • Allah SWT
    For all His grace and ease.

  • Parent
    For your continued love, prayers, and support.

  • Nstar-Y / Nstar-bail
    As an initial foundation and reference in the development of this system.

  • RexxHayanasi
    For the original modified version of Baileys.

  • Muh. Deni Setiawan (Me)
    The main developer of this project.

[!CAUTION] Built on top of the WhiskeySockets/Baileys project. All original core logic credits go to their team. Dibo Socket extends it with thoughtful UX and DX improvements.

🙌 Contributors outside the Baileys code

Thanks to the following awesome contributors who help improve this project 💖

Muh. Deni Setiawan
Muh. Deni Setiawan
RexxHayanasi
RexxHayanasi
nstar-y
nstar-y

Keywords

baileys

FAQs

Package last updated on 10 Jan 2026

Related posts