Skip to content

xbitcode/music

Repository files navigation

Typing SVG

License  Python  Telegram  Status

Security  Updated  Stars  Forks



 ╔══════════════════════════════════╗
 ║   🎵  XBITCODE MUSIC BOT  🎵    ║
 ║──────────────────────────────────║
 ║  🟢  Status      →  Online       ║
 ║  ⚡  Latency     →  < 100ms      ║
 ║  🔒  Cookies     →  Zero         ║
 ║  🛡️  Security    →  Verified     ║
 ║  🔄  Version     →  Latest       ║
 ║  🎧  Streams     →  Audio + Video║
 ╚══════════════════════════════════╝
 ╔══════════════════════════════════╗
 ║    🚀  XBITCODE  API  🚀         ║
 ║──────────────────────────────────║
 ║  🔑  Auth        →  API Key      ║
 ║  📡  Endpoint    →  xbitcode.com ║
 ║  📦  Format      →  REST         ║
 ║  🌐  SDKs        →  Py/JS/C++    ║
 ║  📊  Plans       →  Free → Ultra ║
 ║  ⚙️  Docs        →  Available    ║
 ╚══════════════════════════════════╝


〔 🌟 Overview 〕


🎯 What is Xbitcode Music Bot?

Xbitcode Music Bot is a production-grade Telegram bot that streams crystal-clear audio & video into Telegram voice chats — built with zero-cookie architecture, smart error handling, and blazing performance at its core.

Whether you're running a small group or a massive community, this bot scales effortlessly — backed by the XBitcode Music API for maximum reliability and uptime.


Built for:

  • 🧑‍💻 Developers building custom Telegram music bots
  • 🎙️ Bot Owners needing stable, cookie-free streams
  • 🏢 Teams requiring scalable, API-driven music infrastructure



⭐ Star this Repo



〔 ✨ Features 〕


High-quality streaming
in Telegram voice chats

No cookies needed
Always stable & clean

Smart fallback handling
Robust & resilient API

Secure per-key access
Full control & isolation

Free to Enterprise tiers
Grow without limits

Python • Node.js • C++
Use your stack of choice

Repo is regularly audited, patched, and kept fully up to date — safe to fork and deploy



〔 🛒 XBitcode Music API 〕


╔══════════════════════════════════════════════════════════════════╗
║                                                                  ║
║    🚀  The engine powering this bot is available to YOU!         ║
║                                                                  ║
║    Buy the XBitcode Music API and supercharge your own           ║
║    Telegram music bot with cookie-free, high-uptime streams.     ║
║                                                                  ║
║    ✦  Free tier available   ✦  Instant API key delivery          ║
║    ✦  Flexible monthly plans  ✦  Full documentation              ║
║                                                                  ║
╚══════════════════════════════════════════════════════════════════╝

🚀 Get the API


📖 API Docs   💳 Pricing   🔑 Get Key


# ─────────────────────────────────────────
#   XBitcode Music API — Quick Reference
# ─────────────────────────────────────────

API_KEY   = "xbit_10000000xx0233"    # Your key from music.xbitcode.com
BASE_URL  = "https://music.xbitcode.com"
AUTH      = "Set API_KEY in config.py / .env"
DOCS      = "music.xbitcode.com/dashboard/docs"


〔 🔐 Security & Reliability 〕


  ┌─────────────────────────────────────────────────────────┐
  │                                                         │
  │   ✅  Fully verified — safe to clone, fork & deploy     │
  │   ✅  No hidden scripts, no malicious code              │
  │   ✅  Regularly patched and updated to latest           │
  │   ✅  Open for community review                         │
  │   ✅  Maintained actively by the XBITCODE team          │
  │                                                         │
  └─────────────────────────────────────────────────────────┘

🔐 Verified Safe  🔄 Up to Date  👁️ Open Review



〔 🚀 Deployment 〕


☁️   Deploy on Heroku


One click. No setup. Bot is live in minutes.


Deploy On Heroku



🖥️   Local / VPS Deployment

📋 sample.env  📚 Full Docs


Step 1 — Clone & Prepare System

# 📥 Clone the repository
git clone https://github.com/xbitcode/music && cd music

# 🔄 Update system packages
sudo apt-get update && sudo apt-get upgrade -y

# 🎬 Install ffmpeg
sudo apt-get install ffmpeg -y

Step 2 — Install Dependencies

# ⚡ Install uv (Python package manager)
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.local/bin/env

# 📦 Create virtual environment and install dependencies
uv venv && uv sync

Step 3 — Configure Environment

# ⚙️ Set up your environment variables
cp sample.env .env
vi .env

💡 Press I to enter insert mode → fill in your variables → press Esc → type :wq to save & exit.

Step 4 — Launch the Bot

# 🖥️ Install tmux (keeps bot alive after terminal closes)
sudo apt install tmux && tmux

# ▶️ Start the bot
bash start

💡 Detach from tmux without killing it: Press Ctrl+b then d


╔═══════════════════════════════════════╗
║   ✅  Bot is now running!             ║
║   📌  tmux keeps it alive 24/7        ║
║   🔑  Set your API key in .env        ║
╚═══════════════════════════════════════╝


〔 📡 Support & Community 〕


💬 Support Group

Get help from the community
Report bugs & ask questions

📢 Updates Channel

Stay in the loop
New features & announcements

🔑 Promo

Buy the API & promotions
Direct contact with team


🔗 Platform 📌 Link
🌐 Website music.xbitcode.com
💬 Support Group t.me/stranger_support
📢 Updates Channel t.me/Ace_networkop
🔑 Promotions t.me/Api_and_promotion
🏢 Company xbitcode.com


〔 🏆 Credits & Special Thanks 〕


  ┌───────────────────────────────────────────────────────────┐
  │   This project stands on the shoulders of giants. 💜      │
  │   Massive respect to everyone who contributed below.      │
  └───────────────────────────────────────────────────────────┘

🧑‍💻 Contributor 🔗 GitHub 🎯 Role 🏅 Badge
Sparrow @sparrow9616 Core Development
Rehanna @gr8rehanna YouTube Proxy
Ami @amjiddader Maintainer
Team Yukki Base Repository
Anon Base Repository
XBITCODE xbitcode.com Project Owner


⚠️ Disclaimer 〕

┌──────────────────────────────────────────────────────────────────┐
│                                                                  │
│  ⚠️  This software is intended for personal and educational use  │
│  📜  Users must comply with YouTube's Terms of Service.          │
│  🤖  Users must comply with Telegram's Bot Policy.               │
│  🚫  Developers are not liable for any misuse of this software.  │
│                                                                  │
└──────────────────────────────────────────────────────────────────┘


🌐 xbitcode.com


Views



About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages