Skip to content

DAV-EX/XYLO-MD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

757 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

XYLO-MD Logo

โšก XYLO-MD โšก

The Next-Generation WhatsApp Multi-Device Bot

349+ Commands | 28 Categories | Built with TypeScript


Stars Forks Issues
WhatsApp Channel Maintained Version


๐ŸŒŸ Why XYLO-MD?

XYLO-MD isn't just another WhatsApp bot โ€” it's a full-featured ecosystem built on the Baileys library with modern AI, a deep economy system, group security, and more. Designed for speed, stability, and style.

๐Ÿค– AI Powered

LLaMA 3.3, GPT, Groq & Pollinations for smart conversations, web search, and image generation

๐Ÿ›ก๏ธ Group Security

Anti-link, anti-spam, anti-raid, anti-delete, warnings system & full moderation suite

โšก High Performance

Smart caching, debounced writes, TTL-based group metadata & minimal downtime

๐ŸŽฎ Economy & Games

Full RPG economy with 60+ commands, 13-level perks, gambling, fishing, hunting & more

๐Ÿ“ฅ Media Suite

Download from YouTube, TikTok, Instagram, Snapchat, Pinterest & more instantly

๐ŸŽญ Unique Features

Anonymous confessions, native polls, audio editing, sticker creation & custom commands


๐Ÿ“Š Command Categories

Category Commands Highlights
๐Ÿ’ฐ Economy 60+ Coins, banking, shop, gambling, fishing, hunting, robbing, level perks
๐Ÿ›ก๏ธ Group 56+ Moderation, anti-link, anti-raid, welcome cards, warnings, mute/kick/ban
๐Ÿ”ง Owner 25+ Bot management, broadcast, block/unblock, eval, shell, settings
๐Ÿ› ๏ธ Tools 22+ Calculator, translate, weather, QR code, URL shortener, base64
๐ŸŽ‰ Fun 20+ Ship, roast, compliment, 8ball, truth/dare, memes, confessions
๐Ÿ“ฅ Download 15+ YouTube, TikTok, Instagram, Snapchat, Facebook, Pinterest, Spotify
๐Ÿ” Search 13+ Google, Wikipedia, GitHub, Lyrics, PlayStore, weather
๐ŸŽฎ Games 13+ Trivia, hangman, tic-tac-toe, word chain, math challenge, riddles
๐Ÿ“ฑ WhatsApp 12+ Presence, profile edits, privacy settings, group management
๐Ÿค– AI 12+ Chat, image gen, vision, web search, AI tools, chatbot toggle
โœ๏ธ Creator 11+ Sticker packs, custom commands, canvas tools, logos
๐Ÿ”ฎ Misc 9+ Fake ID, religion, AFK, reminders, schedule, analytics
๐ŸŽต Media 6+ Audio effects, image editing, video conversion, sticker tools
๐Ÿ–ผ๏ธ Anime 5+ Anime search, waifu, character lookup, neko, wallpapers
โ„น๏ธ Info 5+ Bot stats, ping, runtime, system info, speed test

๐Ÿ† Standout Features

๐ŸŽญ Anonymous Confessions

Send anonymous messages to any group โ€” no prefix needed in DMs!

  • Groups get a short code (e.g., gr1, gr2) when confessions are enabled
  • Users DM the bot: confess gr1 I have a secret to share
  • Message appears anonymously in the group
  • Rate limited: 5 min cooldown, 10/day max
  • Admin toggle per group: .confession on/off
  • Lists available groups with names when you just type confess
๐Ÿ’ฐ Economy & Level Perks

A deep virtual economy with 60+ commands:

  • Earning: Daily rewards, work, crime, fishing, hunting, begging, robbing
  • Banking: Deposit, withdraw, transfer, interest
  • Shop & Assets: Buy items, buffs, collectibles
  • Gambling: Coinflip, slots, blackjack, dice, roulette, crash
  • Social: Marriage, leaderboards, achievements, profiles
  • 13 Level Perks (Lv.5 to Lv.100):
    • Earning multipliers (1.1x to 2.0x)
    • Cooldown reductions (up to 35% off)
    • Special abilities: rob shield, crime boost, legendary title
    • All perks stack and apply automatically
๐Ÿ›ก๏ธ Group Moderation

Comprehensive group management and security:

  • Anti-Link โ€” Auto-delete links with warnings
  • Anti-Spam โ€” Detect and handle spam behavior
  • Anti-Raid โ€” Automatic protection against mass joins
  • Anti-Bad-Words โ€” Customizable word filter
  • Anti-Sticker โ€” Block sticker flooding
  • Anti-Delete โ€” Forward deleted messages to admins
  • Warning System โ€” Configurable thresholds with auto-actions
  • Welcome/Goodbye โ€” Canvas-generated cards with custom messages
  • Slowmode โ€” Queue commands with delays to avoid rate limits
๐Ÿค– AI Integration

Multiple AI backends for smart conversations:

  • Groq โ€” LLaMA 3.3 70B with web search augmentation
  • OpenRouter โ€” GPT model fallback
  • Pollinations โ€” Text generation for AI tools
  • Image Generation โ€” Flux, SeaArt, and more
  • Vision โ€” Analyze images sent to the bot
  • Conversation Memory โ€” Persistent chat history per user
  • Web Search โ€” DuckDuckGo-augmented AI responses
๐Ÿ“ฅ Media Downloaders

Download content from popular platforms:

  • YouTube (video + audio)
  • TikTok (no watermark)
  • Instagram (posts, reels, stories)
  • Snapchat Spotlight
  • Facebook videos
  • Pinterest images
  • Spotify tracks
  • GitHub repositories
๐ŸŽฎ Interactive Games

Play games right in WhatsApp:

  • Word Connection
  • Trivia (multiple categories)
  • Hangman
  • Tic-Tac-Toe
  • Math Challenge
  • Emoji Quiz
  • Riddles
  • Party Games
  • All integrated with the economy system for betting

๐Ÿ”‘ Step 1: Get Your Session

You need a SESSION_ID to authenticate the bot with WhatsApp.

ย ย ย 

๐Ÿš€ Step 2: Deploy

One-click deploy to your favorite cloud platform:

Platform Status Deploy
Heroku Best Choice Deploy
Render Stable Deploy
Railway Fast Deploy
Replit Easy Run on Replit
Koyeb Free Tier Deploy to Koyeb

๐Ÿ’ป Manual Installation

Click to expand

Prerequisites

Setup

# Clone the repository
git clone https://github.com/DAV-EX/XYLO-MD.git

# Enter the directory
cd XYLO-MD

# Install dependencies
npm install

Configure

Create a .env file in the root directory:

SESSION_ID=YOUR_SESSION_ID_HERE
PREFIX=.
OWNER_NUMBER=YOUR_NUMBER
MODE=public
MONGO_URI=mongodb+srv://your-connection-string

Run

# Development
npm run dev

# Production (with PM2)
npm start

๐Ÿ“‚ Project Structure

XYLO-MD/
โ”œโ”€โ”€ ๐Ÿ“„ index.ts              # Main entry point โ€” WhatsApp socket, events, routing
โ”œโ”€โ”€ ๐Ÿ“„ config.ts              # Configuration management with MongoDB sync
โ”œโ”€โ”€ ๐Ÿ“ plugins/               # 62 command plugin files
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ economy/           # Economy subsystem (core, shop, bank, assets, market, betting, admin)
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ai.ts              # AI chat commands
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ confess.ts         # Anonymous confession system
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ games.ts           # Interactive games
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ group.ts           # Group moderation commands
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ downloader.ts      # Media downloaders
โ”‚   โ””โ”€โ”€ ...                   # 50+ more plugin files
โ”œโ”€โ”€ ๐Ÿ“ lib/                   # Core libraries
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ economy.ts         # Economy engine, leveling, perks, achievements
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ groupMeta.ts       # Group metadata caching
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ antiRaid.ts        # Anti-raid protection
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ welcomeHandler.ts  # Welcome/goodbye canvas cards
โ”‚   โ””โ”€โ”€ ...                   # Moderation, utilities, game logic
โ”œโ”€โ”€ ๐Ÿ“ data/                  # Data utilities (audio editor, text styles)
โ”œโ”€โ”€ ๐Ÿ“ store/                 # Runtime data storage
โ”œโ”€โ”€ ๐Ÿ“ session/               # WhatsApp auth credentials
โ””โ”€โ”€ ๐Ÿ“ tmp/                   # Temporary media processing files

โš™๏ธ Tech Stack

Technology Purpose
TypeScript Primary language with tsx for direct execution
Baileys WhatsApp Web API (multi-device protocol)
MongoDB Configuration persistence & economy data
Express Keep-alive server for cloud hosting
PM2 Production process management
FFmpeg Audio/video processing & conversion
Sharp Image manipulation & optimization
Canvas Welcome card generation
Groq / OpenRouter AI chat backends
Node Cache In-memory caching with TTL

๐Ÿ”’ Environment Variables

Variable Required Description
SESSION_ID Yes WhatsApp session authentication key
PREFIX No Command prefix (default: .)
OWNER_NUMBER No Bot owner's phone number
MODE No public or private (default: public)
MONGO_URI No MongoDB connection string
GROQ_API_KEY No Groq API key for AI features
OPENROUTER_API_KEY No OpenRouter API key for AI fallback

๐Ÿค Contributing

Contributions are welcome! Feel free to:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“œ License

This project is open source. Please give credit if you fork or modify it.


Created & Maintained by DavidXTech


If you found XYLO-MD useful, leave a star!

Star


XYLO-MD v3.0.3 โ€” Powered by DavidXTech

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published