npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ceaser-baileys

v3.5.4

Published

LordCeaser Baileys v1.0.2 - Cleanest WhatsApp API with Interactive Buttons, List Menus, GStatus Thumbnail Fix, Music/Video URL Import, Polls & More

Readme

npm downloads made by node license

No spam. No channel payloads. Just pure Baileys, fixed & enhanced.


🚀 What's New

  • ✅ Fixed Banner: no more broken image, now uses a raw GitHub URL
  • ✅ GStatus Thumbnail Fix: link previews with thumbnails now work in Status
  • ✅ Music & Video URL Import Fixed: send audio/video directly from a URL without downloading
  • ✅ Clean Code: all spam channel payloads removed permanently
  • ✅ Jimp 1.6.0: fixed the ResizeStrategy.BILINEAR error

📦 Installation

npm install ceaser-baileys

⚡ Quick Start

const { default: makeWASocket, useMultiFileAuthState, DisconnectReason } = require('ceaser-baileys')
const { Boom } = require('@hapi/boom')

async function start() {
  const { state, saveCreds } = await useMultiFileAuthState('session')
  const sock = makeWASocket({ auth: state, printQRInTerminal: true })

  sock.ev.on('creds.update', saveCreds)

  sock.ev.on('connection.update', ({ connection, lastDisconnect }) => {
    if (connection === 'close') {
      const shouldReconnect =
        new Boom(lastDisconnect?.error)?.output?.statusCode !== DisconnectReason.loggedOut
      if (shouldReconnect) start()
    }
  })

  sock.ev.on('messages.upsert', async ({ messages }) => {
    const m = messages[0]
    if (!m.message) return
    const jid = m.key.remoteJid
    const text = m.message.conversation || m.message.extendedTextMessage?.text

    if (text === 'ping') await sock.sendMessage(jid, { text: 'pong 🏓' })
  })
}

start()

🔥 Cool Things You Can Do

1. 🎛️ Interactive Buttons

await sock.sendMessage(jid, {
  text: 'Choose an option',
  buttons: [
    { buttonId: 'id1', buttonText: { displayText: 'Option 1' }, type: 1 },
    { buttonId: 'id2', buttonText: { displayText: 'Option 2' }, type: 1 }
  ],
  headerType: 1
})

2. 📜 Interactive List Menu

await sock.sendMessage(jid, {
  text: 'Pick from the menu',
  buttonText: 'Open Menu',
  sections: [{
    title: 'Main Menu',
    rows: [
      { title: '🎵 Music', rowId: 'music' },
      { title: '🎥 Video', rowId: 'video' },
      { title: '📊 Poll', rowId: 'poll' }
    ]
  }]
})

3. 📊 Polls & Voting

await sock.sendMessage(jid, {
  poll: { name: 'Favorite Color?', values: ['Red', 'Blue', 'Green'], selectableCount: 1 }
})

4. 🎵 Music & Video from URL

// Send music directly from a URL
await sock.sendMessage(jid, {
  audio: { url: 'https://example.com/song.mp3' },
  mimetype: 'audio/mpeg',
  ptt: false
})

// Send video directly from a URL
await sock.sendMessage(jid, {
  video: { url: 'https://example.com/video.mp4' },
  caption: 'Check this out 🎥'
})

5. 📸 Status with Link Preview

await sock.sendMessage('status@broadcast', {
  text: 'https://www.npmjs.com/package/ceaser-baileys'
}, { statusJidList: [jid] })

6. 👥 Group Management

await sock.groupCreate('My Group', [jid])
await sock.groupParticipantsUpdate(groupJid, [jid], 'promote')
await sock.groupInviteCode(groupJid)

7. 📰 Newsletter & Channels

await sock.newsletterFollow('120363XXXXXXXXXX@newsletter')
await sock.newsletterUnfollow('120363XXXXXXXXXX@newsletter')

8. 💬 More Powerful Features

  • ✅ Messages: Text, Image, Video, Audio, Document, Sticker, Voice Note
  • ✅ Interactive: Buttons, List Menus, Polls, Template Messages
  • ✅ Media from URL: no need to download, send directly from a link
  • ✅ Status: Text, Image, Video Status with link previews
  • ✅ Groups: Create, Manage, Admin controls, Invite links, Participants
  • ✅ Privacy: Presence (typing, recording, online), Read receipts
  • ✅ Advanced: Edit message, Delete message, Reactions, Star message
  • ✅ Auth: QR Code & Pairing Code login

🛠️ Fixes in this Fork

| Issue | Original Baileys | Ceaser Bailys | |---|---|---| | Spam Channel Payloads | ❌ Has spam links | ✅ Removed completely | | GStatus Thumbnail | ❌ Broken preview | ✅ Fixed with thumbnails | | Music URL Import | ❌ Fails to send | ✅ Direct URL works | | Video URL Import | ❌ Fails to send | ✅ Direct URL works | | Jimp Error | ❌ BILINEAR error | ✅ Jimp 1.6.0 | | Banner | ❌ Broken | ✅ Raw GitHub URL |

📱 Run on Termux

pkg update && pkg install nodejs git -y
npm install ceaser-baileys
node index.js

📄 License

MIT © Lord Ceaser

Made with ❤️ for the Baileys community. Clean, Stable, Powerful.