npm.io
1.3.1 • Published 2d ago

aurum-baileys

Licence
MIT
Version
1.3.1
Deps
12
Size
9.4 MB
Vulns
0
Weekly
0
Aurum Gold Ingot

AURUM-BAILEYS

Enterprise Gold Standard WhatsApp Automation Engine v1.3.1

Terinspirasi dari Kemewahan, Kemurnian, & Kesempurnaan Emas
Inspired by the Luxury, Purity, & Perfection of Pure Gold

npm version License Node ESM Only


Language Selection / Pilih Bahasa


BAHASA INDONESIA

Filosofi & Konsep Dasar

Aurum berasal dari Bahasa Latin yang berarti Emas (Gold) — elemen murni paling berharga di bumi yang melambangkan kemewahan tanpa tanding, keindahan abadi, ketahanan dari korosi, dan puncak kesempurnaan.

Aurum-Baileys diciptakan dengan prinsip Enterprise Gold Standard. Dibangun 100% murni di atas protokol WhatsApp v7 tanpa memerlukan dependency builder eksternal, engine ini memberikan performa ultra-cepat (latency <15ms), ketahanan anti-crash tingkat tinggi, serta 24 Fitur Krusial Enterprise yang diriset dari lebih dari 40 repositori & dokumentasi Baileys modern.


Kredit & Apresiasi Pengembang (Honorable Credits)

Ekosistem Aurum-Baileys berdiri atas apresiasi mendalam terhadap para pengembang pionir WhatsApp Open Source:

  1. WhiskeySockets/Baileys — Pencipta utama protokol dasar WebSocket & Signal Encryption Baileys.
  2. ourin-baileys — Dikembangkan oleh hanya_zann (freezzepep@gmail.com). Base Modded Baileys v7 dengan fitur album & interactive node.
  3. NIXCODE / Nixel — Kontributor Interactive Message Builder & Formatter Protobuf Node.
  4. ZetaGo-Aurum — Pengembang utama Aurum-Baileys, Inovator Interactive Clickable Suggestion Pills, Safe Document Media Card Verifier, & 24 Enterprise Feature Suite.

24 Fitur Krusial Enterprise & Kode Implementasi Lengkap

Interactive Clickable Suggestion Pills (Inovasi Utama)

Masalah: Suggestion pills pada Meta AI Rich Message versi standar hanyalah dekorasi teks non-clickable yang tidak memiliki aksi callback.
Solusi Aurum: Aurum-Baileys mengubah suggestion pills menjadi tombol pill yang BISA DIKLIK (Interactive Clickable Pills) yang mengirimkan callback ID secara native saat ditekan pengguna di WhatsApp Android, iOS, & Web.

import makeWASocket, { ClickablePill } from 'aurum-baileys';

// Mengirim Clickable Suggestion Pills
await sock.sendClickablePills(
    jid,
    '✨ Menu Utama Aurum',
    'Silakan tekan opsi pill interaktif di bawah ini:',
    [
        new ClickablePill('❄️ Yuki AI Menu', '.menu'),
        new ClickablePill('⚡ Status Sistem', '.ping'),
        new ClickablePill('🌐 Website Owner', '.owner')
    ],
    { quoted: m }
);

Status Saluran & Mention Helper (Newsletter Status)

Mengirimkan pembaruan status & mention pengguna secara otomatis ke Saluran/Newsletter WhatsApp.

await sock.sendChannelStatus(
    '120363408031254365@newsletter',
    '📣 Rilis Resmi Engine Aurum-Baileys v1.3.1 Gold Standard!',
    { channelName: 'YUKI AI Official Saluran' }
);

Pure AurumRich Engine (AIRich Response Native)

Builder AI Rich Response murni tanpa dependency eksternal untuk tabel, blok kode, LaTeX, & pills.

import { AurumRich } from 'aurum-baileys';

const rich = new AurumRich(sock);
rich.setTitle('✨ Diagnostics Aurum Engine')
    .setFooter('© ZetaGo-Aurum Gold Edition')
    .addText('Analisis performa sistem real-time:')
    .addTable([
        ['Metrik', 'Nilai Diagnostics'],
        ['Protocol', 'WhatsApp Baileys v7'],
        ['Latency', '11ms'],
        ['Status Engine', 'GOLD ONLINE']
    ])
    .addClickablePills(['❄️ Buka Menu', '⚡ Tes Speed']);

await rich.send(jid, { quoted: m });

Native Flow Buttons Sender

Helper pengiriman tombol interaktif modern: Quick Reply, Single Select List, CTA URL, CTA Call, & CTA Copy.

await sock.sendNativeButtons(
    jid,
    'Silakan pilih opsi layanan di bawah ini:',
    [
        { type: 'reply', text: '📋 Buka Menu', id: '.menu' },
        { type: 'url', text: '🌐 Kunjungi Portal', url: 'https://zetagoaurum.vercel.app' },
        { type: 'copy', text: '📋 Salin Kode Voucher', code: 'AURUM2026' }
    ],
    { title: '✨ Menu Layanan' }
);

Universal Album Relay Sender

Mengirimkan album gabungan media (banyak foto & video sekaligus) secara instan.

await sock.sendAlbum(jid, [
    { image: { url: 'https://example.com/slide1.jpg' }, caption: 'Slide Foto 1' },
    { image: { url: 'https://example.com/slide2.jpg' }, caption: 'Slide Foto 2' },
    { video: { url: 'https://example.com/demo.mp4' }, caption: 'Video Demo' }
], { quoted: m });

Enterprise Exception Shield (Anti-Crash & Decryption Retry)

Perlindungan otomatis dari socket drop, Bad MAC error, & malformed payload agar bot berjalan 24/7 tanpa crash.


Safe Document Media Card Verifier (100% Lolos Verifikasi Media)

Sistem Pengelabu Protocol: Menggunakan thumbnail JPEG 300x300 valid (process300x300JPEG) + fileLength: 999000000000 + headerType: 1. WhatsApp mengonfirmasi payload ini sebagai media header valid tanpa pernah menampilkan tombol/warning unduh manual.

await sock.sendSafeDocCard(
    jid,
    'Respon estetik tanpa warning unduh media!',
    imageBuffer,
    { fileName: ' ╼ ׅ ֹ𔖰᷼𔖮 Header Document Aurum', quoted: m }
);

Smart Waveform Synthesizer (Voice Note Visual)

Mengonversi file audio biasa menjadi Voice Note (PTT) dengan waveform visual sintetis yang indah.

await sock.sendWaveformAudio(jid, './audio/sample.mp3', { quoted: m });

Newsletter Admin Manager

Pengelolaan lengkap administrator saluran, update avatar, deskripsi, & muting status.


LID & Phone Number Auto-Mapper

Resolusi otomatis antara LID (Limited ID) & nomor telepon pengguna untuk mencegah error mention di grup.


11 Group Admin Guard

Pengecekan otomatis status admin pengguna sebelum mengeksekusi perintah sensitif.

const isAdmin = await sock.checkGroupAdmin(groupJid, userJid);
if (!isAdmin) return sock.sendMessage(groupJid, { text: 'Akses ditolak!' });

12 Auto Decryption Retry Protocol

Secara transparan merekonstruksi sesi terenkripsi yang rusak di latar belakang.


13 Custom Pairing Code Generator

Membuat kode pairing kustom 8 karakter dengan Browser Spoofing macOS/Windows anti Error 405.

const code = await sock.requestPairingCode('6285702711107', 'AURUM777');
console.log('Pairing Code:', code);

14 Latex & Code UX Primitive Renderer

Render persamaan matematika LaTeX & syntax highlighting warna secara native.


15 Business Catalog & Product Card

Kartu produk bisnis dengan harga, diskon, brand, & tautan checkout.


16 Poll Snapshot & Event Message Builder

Polling interaktif dengan snapshot pilihan suara.


Generasi preview tautan resolusi tinggi tanpa beban lag startup.


18 Multi-Format Contact Card VCard V4

Kartu kontak profesional vCard dengan foto avatar & verified badge.


19 Anti-Crash View Once V3 Handler

Parsing pesan View Once V3 tanpa memicu error crash socket.


20 Aurum Auth State Persistence

Penyimpanan sesi multi-file dengan memori cache ultra-cepat.


21 Fast Buffer Media Cache

Caching media lokal untuk pengiriman berulang super cepat.


Carousel horizontal kartu bergambar dengan tombol aksi khusus per slide.


23 Community & Linked Sub-Group Manager

Pengelola komunitas WhatsApp & pembuatan sub-grup otomatis.


24 Enterprise Socket Health Monitor

Monitor kesehatan socket real-time, memory usage, & statistik latency.

const health = sock.getSocketHealth();
console.log('Uptime:', health.uptime, 'RAM:', health.memoryUsage.rss);


ENGLISH VERSION

Philosophy & Core Concept

Aurum originates from the Latin word for Gold — the most precious pure element on Earth, symbolizing peerless luxury, everlasting beauty, corrosion resistance, and the pinnacle of perfection.

Aurum-Baileys was engineered under the Enterprise Gold Standard principle. Built 100% purely on top of the WhatsApp v7 WebSocket protocol without external builder dependencies, this engine delivers ultra-fast performance (<15ms latency), bulletproof anti-crash resilience, and 24 Enterprise Crucial Features researched from over 40 modern Baileys repositories and documentation.


Honorable Developer Credits

The Aurum-Baileys ecosystem stands upon deep appreciation for the pioneer developers of WhatsApp Open Source:

  1. WhiskeySockets/Baileys — Core creators of the Baileys WebSocket protocol & Signal Encryption engine.
  2. ourin-baileys — Developed by hanya_zann (freezzepep@gmail.com). Base Modded Baileys v7 with album & interactive node support.
  3. NIXCODE / Nixel — Contributor to Interactive Message Builder & Protobuf Node formatting.
  4. ZetaGo-Aurum — Creator & Maintainer of Aurum-Baileys, Innovator of Interactive Clickable Suggestion Pills, Safe Document Media Card Verifier, & 24 Enterprise Feature Suite.

24 Crucial Enterprise Features & Code Documentation

Interactive Clickable Suggestion Pills (Primary Innovation)

Problem: Standard suggestion pills in Meta AI Rich Messages are merely non-clickable text decorations without callback actions.
Aurum Solution: Aurum-Baileys transforms suggestion pills into CLICKABLE PILLS that trigger native callback IDs when tapped by users on WhatsApp Android, iOS, & Web.

import makeWASocket, { ClickablePill } from 'aurum-baileys';

// Sending Clickable Suggestion Pills
await sock.sendClickablePills(
    jid,
    '✨ Aurum Main Menu',
    'Please select an interactive pill option below:',
    [
        new ClickablePill('❄️ Yuki AI Menu', '.menu'),
        new ClickablePill('⚡ System Status', '.ping'),
        new ClickablePill('🌐 Owner Website', '.owner')
    ],
    { quoted: m }
);

Channel Status & Mention Helper (Newsletter Status)

Send status updates & mentions directly to WhatsApp Newsletters / Channels.

await sock.sendChannelStatus(
    '120363408031254365@newsletter',
    '📣 Official Release of Aurum-Baileys v1.3.1 Gold Standard Engine!',
    { channelName: 'YUKI AI Official Channel' }
);

Pure AurumRich Engine (AIRich Response Native)

Pure AI Rich Response builder without external dependencies for tables, code blocks, LaTeX, & pills.

import { AurumRich } from 'aurum-baileys';

const rich = new AurumRich(sock);
rich.setTitle('✨ Aurum Engine Diagnostics')
    .setFooter('© ZetaGo-Aurum Gold Edition')
    .addText('Real-time system performance analysis:')
    .addTable([
        ['Metric', 'Diagnostic Value'],
        ['Protocol', 'WhatsApp Baileys v7'],
        ['Latency', '11ms'],
        ['Engine Status', 'GOLD ONLINE']
    ])
    .addClickablePills(['❄️ Open Menu', '⚡ Speed Test']);

await rich.send(jid, { quoted: m });

Native Flow Buttons Sender

Helper for sending modern interactive buttons: Quick Reply, Single Select List, CTA URL, CTA Call, & CTA Copy.

await sock.sendNativeButtons(
    jid,
    'Please select a service option below:',
    [
        { type: 'reply', text: '📋 Open Menu', id: '.menu' },
        { type: 'url', text: '🌐 Visit Portal', url: 'https://zetagoaurum.vercel.app' },
        { type: 'copy', text: '📋 Copy Voucher Code', code: 'AURUM2026' }
    ],
    { title: '✨ Service Menu' }
);

Universal Album Relay Sender

Relay media albums (multiple photos & videos simultaneously) instantly.

await sock.sendAlbum(jid, [
    { image: { url: 'https://example.com/slide1.jpg' }, caption: 'Photo Slide 1' },
    { image: { url: 'https://example.com/slide2.jpg' }, caption: 'Photo Slide 2' },
    { video: { url: 'https://example.com/demo.mp4' }, caption: 'Demo Video' }
], { quoted: m });

Enterprise Exception Shield (Anti-Crash & Decryption Retry)

Automatic protection against socket disconnects, Bad MAC errors, & malformed payloads to keep your bot running 24/7.


Safe Document Media Card Verifier (100% Lined Media Verification)

Protocol Bypass System: Utilizes 300x300 valid JPEG thumbnails (process300x300JPEG) + fileLength: 999000000000 + headerType: 1. WhatsApp confirms this payload as a valid media header without ever displaying manual download warnings.

await sock.sendSafeDocCard(
    jid,
    'Aesthetic response without media download warnings!',
    imageBuffer,
    { fileName: ' ╼ ׅ ֹ𔖰᷼𔖮 Aurum Header Document', quoted: m }
);

Smart Waveform Synthesizer (Visual Voice Note)

Convert ordinary audio buffers into Voice Notes (PTT) with elegant synthetic visual waveforms.

await sock.sendWaveformAudio(jid, './audio/sample.mp3', { quoted: m });

Newsletter Admin Manager

Full management of channel administrators, avatar updates, descriptions, & muting statuses.


LID & Phone Number Auto-Mapper

Automatic resolution between LID (Limited ID) & regular phone numbers to prevent mention errors in groups.


11 Group Admin Guard

Automatic verification of user admin privileges before executing sensitive commands.

const isAdmin = await sock.checkGroupAdmin(groupJid, userJid);
if (!isAdmin) return sock.sendMessage(groupJid, { text: 'Access Denied!' });

12 Auto Decryption Retry Protocol

Transparently reconstruct damaged encrypted sessions in the background.


13 Custom Pairing Code Generator

Generate custom 8-character pairing codes with macOS/Windows Browser Spoofing to prevent Error 405.

const code = await sock.requestPairingCode('6285702711107', 'AURUM777');
console.log('Pairing Code:', code);

14 Latex & Code UX Primitive Renderer

Render LaTeX mathematical equations & syntax-highlighted code blocks natively.


15 Business Catalog & Product Card

Business catalog product cards with prices, discounts, brands, & checkout links.


16 Poll Snapshot & Event Message Builder

Interactive polls with voter snapshot counts.


Generate high-resolution link previews without startup delay.


18 Multi-Format Contact Card VCard V4

Professional vCard contact cards with avatar photos & verified badges.


19 Anti-Crash View Once V3 Handler

Parse View Once V3 messages without triggering socket crashes.


20 Aurum Auth State Persistence

Multi-file session storage with ultra-fast memory caching.


21 Fast Buffer Media Cache

Local media caching for super-fast re-sending.


Horizontal image carousel cards with custom per-slide action buttons.


23 Community & Linked Sub-Group Manager

WhatsApp community manager, sub-group creation, & group linking.


24 Enterprise Socket Health Monitor

Real-time socket health statistics, memory usage, & latency monitoring.

const health = sock.getSocketHealth();
console.log('Uptime:', health.uptime, 'RAM:', health.memoryUsage.rss);

License

Copyright 2026 ZetaGo-Aurum.
Licensed under the MIT License.
Dedicated to building the finest WhatsApp automation experience.

Keywords