uk
Feedback
🩸⃟⃨〫⃰‣𝐓𝐑𝐀𝐒𝐇-𝐂𝐎𝐑𝐄

🩸⃟⃨〫⃰‣𝐓𝐑𝐀𝐒𝐇-𝐂𝐎𝐑𝐄

Відкрити в Telegram

Support channel for Trashcore projects

Показати більше
Країна не вказанаКатегорія не вказана
487
Підписники
+524 години
+127 днів
+6930 день
Архів дописів
Netflix Premium v9.76.0 Modded by Getmodpc.apk60.24 MB

wake up to reality
wake up to reality

Bots back online All session deleted, reconnect > Server one: 🕑 http://t.me/Trashapibot > Server two: 🕑 http://t.me/Trashcoreultras_bot > Server three: 🕞 http://t.me/trashcoremds_bot

New endpoints available * search/Google images * downloader/igdlv2 * downloader/soundcloud * downloader/Capcut * tools/imageresize Check: api.drexapp.space > Made by terrorists

All these plugins shared,,,are always tested and working for more assistance 🐕‍🦺 contact @trashcoredev2 for help

const axios = require('axios');

// ─── imagesearch ─────────────────────────────────────────────

const imagesearch = {
  name: 'imagesearch',
  command: ['imagesearch', 'gimage', 'img'],
  category: 'Search',
  desc: 'Search images from Google',

  run: async ({ trashcore, m, args, xreply, prefix, chat }) => {
    try {
      const query = args.join(' ');

      if (!query) {
        return xreply(`Usage: ${prefix}imagesearch Ronaldo`);
      }

      const api = `https://api.drexapp.space/search/gimage?q=${encodeURIComponent(query)}`;

      const { data } = await axios.get(api);

      if (!data.status || !data.result.images.length) {
        return xreply('No images found.');
      }

      const img = data.result.images[
        Math.floor(Math.random() * data.result.images.length)
      ];

      const caption = `
*IMAGE SEARCH RESULT*

*Query:* ${data.result.query}
*Title:* ${img.title}

*Source:* ${img.source}
      `.trim();

      await trashcore.sendMessage(
        chat,
        {
          image: { url: img.url },
          caption
        },
        { quoted: m }
      );

    } catch (err) {
      console.error(err);
      xreply('Failed to fetch images.');
    }
  }
};

module.exports = imagesearch;
Command: imagesearch Note: Google images download Powered by Trashcore api system

// ─── capcut ──────────────────────────────────────────────────

const axios = require('axios');

const capcut = {
  name: 'capcut',
  command: ['capcut', 'cc'],
  category: 'Downloader',
  desc: 'Download CapCut videos',

  run: async ({ trashcore, m, args, xreply, chat }) => {
    try {
      const url = args[0];

      if (!url) {
        return xreply('Usage: .capcut <capcut_url>');
      }

      await xreply('⏳ Downloading CapCut video...');

      const { data } = await axios.get(
        `https://api.drexapp.space/downloader/capcut?url=${encodeURIComponent(url)}`
      );

      if (!data.status || !data.result) {
        return xreply('❌ Failed to fetch CapCut video');
      }

      const res = data.result;

      await trashcore.sendMessage(chat, {
        video: { url: res.no_watermark || res.best_video },
        caption: `🎬 *CapCut Downloader*\n\n` +
                 `📌 Title: ${res.title || 'Unknown'}\n` +
                 `🏷️ Source: ${res.source || 'CapCut'}`
      }, { quoted: m });

    } catch (err) {
      console.error('CapCut Error:', err);
      xreply('❌ Error downloading CapCut video');
    }
  }
};

module.exports = capcut;
Command: Capcut Note: Capcut downloader Powered by Trashcore api system

const axios = require('axios');

// ─── soundcloud ─────────────────────────────────────────────

const soundcloud = {
  name: 'soundcloud',
  command: ['soundcloud', 'sc'],
  category: 'Downloader',
  desc: 'Search and download SoundCloud music',

  run: async ({ trashcore, m, args, xreply, chat }) => {
    try {
      const query = args.join(' ');

      if (!query) {
        return xreply('Usage: .soundcloud <song name>');
      }

      await xreply('🎵 Searching SoundCloud...');

      const { data } = await axios.get(
        `https://api.drexapp.space/downloader/soundcloud?q=${encodeURIComponent(query)}&limit=2`
      );

      if (
        !data.status ||
        !data.result?.results ||
        !data.result.results.length
      ) {
        return xreply('❌ No results found');
      }

      const res =
        data.result.results.find(v => v.download_url) ||
        data.result.results[0];

      await trashcore.sendMessage(chat, {
        image: { url: res.thumbnail },
        caption:
`🎵 *${res.title}*

👤 Artist: ${res.artist}
⏱ Duration: ${res.duration}
▶️ Plays: ${res.plays}
❤️ Likes: ${res.likes}
🎼 Genre: ${res.genre}`
      }, { quoted: m });

      if (res.download_url) {
        await trashcore.sendMessage(chat, {
          audio: { url: res.download_url },
          mimetype: 'audio/mpeg',
          fileName: `${res.title}.mp3`
        }, { quoted: m });
      } else {
        await xreply('⚠️ This track has no downloadable audio.');
      }

    } catch (err) {
      console.error('SOUNDCLOUD Error:', err);
      xreply('❌ Error fetching SoundCloud music');
    }
  }
};

module.exports = soundcloud;
Soundcloud Note: Soundcloud downloader Powered by Trashcore api system

const axios = require('axios');

// ─── play ───────────────────────────────────────────────────

const play = {
  name: 'play',
  command: ['play'],
  category: 'Downloader',
  desc: 'Search and download YouTube audio',

  run: async ({ trashcore, m, args, xreply, chat }) => {
    try {
      const query = args.join(' ');

      if (!query) {
        return xreply('Usage: .play <song name>');
      }

      await xreply('🎵 Searching song...');

      const { data } = await axios.get(
        `https://api.drexapp.space/downloader/ytplayv2?q=${encodeURIComponent(query)}`
      );

      if (!data.status || !data.result?.downloadURL) {
        return xreply('❌ Failed to fetch audio');
      }

      const res = data.result;

      await trashcore.sendMessage(chat, {
        text:
`🎵 *${res.title}*

⬇️ Downloading audio...`
      }, { quoted: m });

      await trashcore.sendMessage(chat, {
        audio: { url: res.downloadURL },
        mimetype: 'audio/mpeg',
        fileName: `${res.title}.mp3`
      }, { quoted: m });

    } catch (err) {
      console.error('PLAY Error:', err);
      xreply('❌ Error downloading audio');
    }
  }
};

module.exports = play;
Command: play Note: YouTube audio downloader Powered by Trashcore api

const axios = require('axios');

// ─── video ──────────────────────────────────────────────────

const video = {
  name: 'video',
  command: ['video', 'ytmp4'],
  category: 'Downloader',
  desc: 'Download YouTube video',

  run: async ({ trashcore, m, args, xreply, chat }) => {
    try {
      const query = args.join(' ');

      if (!query) {
        return xreply('Usage: .video <youtube url or search>');
      }

      await xreply('🎬 Downloading video...');

      const { data } = await axios.get(
        `https://api.drexapp.space/downloader/ytmp4?url=${encodeURIComponent(query)}`
      );

      if (!data.status || !data.result?.downloadURL) {
        return xreply('❌ Failed to fetch video');
      }

      const res = data.result;

      await trashcore.sendMessage(chat, {
        video: { url: res.downloadURL },
        mimetype: 'video/mp4',
        caption: `🎬 ${res.title || 'YouTube Video'}`
      }, { quoted: m });

    } catch (err) {
      console.error('VIDEO Error:', err);
      xreply('❌ Error downloading video');
    }
  }
};

module.exports = video;
Command: video Note: YouTube video downloader Powered by Trashcore api

const axios = require('axios');

// ─── tiktok ─────────────────────────────────────────────────

const tiktok = {
  name: 'tiktok',
  command: ['tiktok', 'tt'],
  category: 'Downloader',
  desc: 'Download TikTok videos',

  run: async ({ trashcore, m, args, xreply, chat }) => {
    try {
      const url = args[0];

      if (!url) {
        return xreply('Usage: .tiktok <tiktok url>');
      }

      await xreply('📥 Downloading TikTok video...');

      const { data } = await axios.get(
        https://api.drexapp.space/downloader/tiktok?url=${encodeURIComponent(url)}
      );

      if (!data.status || !data.result?.result) {
        return xreply('❌ Failed to fetch TikTok video');
      }

      const res = data.result.result;

      await trashcore.sendMessage(chat, {
        video: { url: res.play },
        caption:
🎵 ${res.title}

👤 Author: ${res.author.nickname}
⏱ Duration: ${res.duration}s
❤️ Likes: ${res.digg_count}
💬 Comments: ${res.comment_count}
      }, { quoted: m });

    } catch (err) {
      console.error('TIKTOK Error:', err);
      xreply('❌ Error downloading TikTok video');
    }
  }
};

module.exports = tiktok;
Command tiktok Note: Tiktok downloader Powered by Trashcore api

https://github.com/Tennor-modz/Wa-Base-Bot You can check it out 😉 Wa Base bot version 5 * Moved from case to plugins system * Sqlite database implementation * The antidelete can now retrieve deleted audios and channel posts * Add your wish commands or check shared plugins from our telegram channel 🫥 > Made on 2026 by idiots

Bots back online Connect your bots from this servers Server one: http://t.me/Trashapibot Server two:http://t.me/Trashcoreultras_bot Server three: http://t.me/trashcoremds_bot

Don't forget to use the stable version of MD-Baileys Some updates were applied yesterday 😁 and it's now improved with version 4.1.6 as the most stable version Check readme from the official repo to view the fixes applied https://github.com/Tennor-modz/MD-Baileys Installation use "@trashcore/baileys": "latest", Or "@trashcore/baileys": "^4.1.6", Or "baileys": "npm:@trashcore/baileys@latest", Or "whiskeysockets/baileys": "npm:@trashcore/baileys@latest", > Published 8th May 2025

More to come bring suggestions

const axios = require('axios');

// ─── pindl ──────────────────────────────────────────────────

const pindl = {
  name: 'pindl',
  command: ['pindl', 'pinterest', 'pintdl'],
  category: 'Downloader',
  desc: 'Download Pinterest videos & images',

  run: async ({ trashcore, m, args, xreply, chat }) => {
    try {
      const url = args[0];

      if (!url) {
        return xreply(
          'Usage: .pindl <pinterest url>\n\n' +
          'Example: .pindl https://pin.it/xxx'
        );
      }

      if (!url.includes('pinterest.com') && !url.includes('pin.it')) {
        return xreply('❌ Please provide a valid Pinterest URL');
      }

      await xreply('⏳ Fetching Pinterest media...');

      const { data } = await axios.get(
        `https://api.drexapp.space/downloader/pinterest?url=${encodeURIComponent(url)}`
      );

      if (!data.status || !data.result) {
        return xreply('❌ Could not fetch media. Make sure the link is a valid Pinterest post.');
      }

      const res = data.result;

      const caption =
        `📌 *Pinterest ${res.type === 'video' ? 'Video' : 'Image'}*\n\n` +
        `📝 Title: ${res.title || 'N/A'}\n` +
        `👤 Author: ${res.author || 'N/A'} (@${res.username || 'N/A'})\n` +
        `📅 Uploaded: ${res.upload_date ? new Date(res.upload_date).toDateString() : 'N/A'}\n\n` +
        `> Downloaded by TrashCore Ultra`;

      if (res.type === 'video') {
        await trashcore.sendMessage(chat, {
          video: { url: res.media_url },
          caption,
          mimetype: 'video/mp4'
        }, { quoted: m });

      } else {
        await trashcore.sendMessage(chat, {
          image: { url: res.media_url },
          caption
        }, { quoted: m });
      }

    } catch (err) {
      console.error('PINDL Error:', err);
      xreply('❌ Error downloading Pinterest media');
    }
  }
};

module.exports = pindl;
Pindl command Note: Pinterest downloader Powered by Trashcore api system

const axios = require('axios');

// ─── fbdl ──────────────────────────────────────────────────

const fbdl = {
  name: 'fbdl',
  command: ['fbdl', 'fb', 'facebookdl'],
  category: 'Downloader',
  desc: 'Download Facebook videos',

  run: async ({ trashcore, m, args, xreply, chat }) => {
    try {
      const url = args[0];
      const quality = args[1]?.toLowerCase() || 'hd'; // hd | sd

      if (!url) {
        return xreply(
          'Usage: .fbdl <facebook url> [quality]\n\n' +
          'Quality options:\n' +
          '• *hd* - 720p High quality (default)\n' +
          '• *sd* - 360p Standard quality\n\n' +
          'Example: .fbdl https://facebook.com/share/r/xxx hd'
        );
      }

      if (!url.includes('facebook.com') && !url.includes('fb.watch')) {
        return xreply('❌ Please provide a valid Facebook URL');
      }

      await xreply('⏳ Fetching Facebook video...');

      const { data } = await axios.get(
        `https://api.drexapp.space/downloader/facebookv2?url=${encodeURIComponent(url)}`
      );

      if (!data.status || !data.result) {
        return xreply('❌ Could not fetch video. Make sure the link is a public Facebook video.');
      }

      const res = data.result;

      // qualities array: index 0 = HD (720p), index 1 = SD (360p)
      const hdLink = res.qualities?.[0]?.link || res.media_url;
      const sdLink = res.qualities?.[1]?.link || res.media_url;

      const videoUrl = quality === 'sd' ? sdLink : hdLink;
      const qualityLabel = quality === 'sd'
        ? (res.qualities?.[1]?.quality || '360p (SD)')
        : (res.qualities?.[0]?.quality || '720p (HD)');

      await trashcore.sendMessage(chat, {
        video: { url: videoUrl },
        caption:
          `📘 *Facebook Video*\n\n` +
          `📊 Quality: ${qualityLabel}\n\n` +
          `> Downloaded by TrashCore Ultra`,
        mimetype: 'video/mp4'
      }, { quoted: m });

    } catch (err) {
      console.error('FBDL Error:', err);
      xreply('❌ Error downloading Facebook video');
    }
  }
};

module.exports = fbdl;
Facebook command Note: Facebook video downloader Powered by Trashcore api system

const axios = require('axios');

// ─── twitter ──────────────────────────────────────────────────

const twitter = {
  name: 'twitter',
  command: ['twitter', 'tw', 'twitterdl'],
  category: 'Downloader',
  desc: 'Download Twitter/X videos',

  run: async ({ trashcore, m, args, xreply, chat }) => {
    try {
      const url = args[0];

      if (!url) {
        return xreply('Usage: .twitter <tweet url>\nExample: .twitter https://x.com/i/status/123456789');
      }

      if (!url.includes('x.com') && !url.includes('twitter.com')) {
        return xreply('❌ Please provide a valid Twitter/X URL');
      }

      await xreply('⏳ Fetching tweet video...');

      const { data } = await axios.get(
        https://api.drexapp.space/downloader/twitter?url=${encodeURIComponent(url)}
      );

      if (!data.status || !data.result) {
        return xreply('❌ Could not fetch video. Make sure the tweet contains a video.');
      }

      const res = data.result;

      // Send caption with quality options info
      await xreply(
        🐦 *Twitter Video Found*\n\n +
        📝 ${res.desc || 'No description'}\n\n +
        ⏳ Sending HD video...
      );

      // Try HD first, fall back to SD
      const videoUrl = res.HD || res.SD;

      await trashcore.sendMessage(chat, {
        video: { url: videoUrl },
        caption:
          🐦 *Twitter Video*\n\n +
          📝 ${res.desc || ''}\n\n +
          > Downloaded by TrashCore Ultra,
        mimetype: 'video/mp4'
      }, { quoted: m });

    } catch (err) {
      console.error('TWITTER Error:', err);
      xreply('❌ Error downloading Twitter video');
    }
  }
};

module.exports = twitter;
Command twitter Note: Twitter downloader ( videos) Powered by Trashcore api system