uk
Feedback
JAVA SCRIPT GRENTZY <\0>

JAVA SCRIPT GRENTZY <\0>

Відкрити в Telegram

Bagi bagi case dll by @GrenTzy

Показати більше
Країна не вказанаКатегорія не вказана
229
Підписники
+124 години
+67 днів
+2230 днів
Архів дописів
case deploy.js
case deploy html ke vercel app versi bot.on text create @GrenTzy1 Udah gue try ya work intinya akun vercel app lu harus gak ada proteknya dan jangan pilih yang team tapi yang profesional work tag gua

mp3.py
buat conversi audio to video dan video to audio
Pertama lu tarok file py nya di folder download di folder download buat folder baru bebas namanya apa samain namanya dengan nama file di dalam folder itu contoh di dalamnya misalnya Gren.py folder nya juga Gren.py Abis itu pergi ke termux Perintah ini cd /storage/emulated/0/Download/Nama bot lu Nama bot itu nama folder yang isinya file py lu Setelah itu install module pip install ffmpeg pip install aiofiles pip install aiohttp pip install pillow Urutannya itu Credits: @GrenTzy

Blank X force close

Gwlo gwlo gw pake loop 45
+1
Gwlo gwlo gw pake loop 45

Wa gw masih berhenti anj

Dan yaps stuck logo wkwk 😎

Liat dari awal ampe habis new function gue blank X Frezee chat + delay invis

bot.command('mp4', async (ctx) => {
    try {
        const chatId = ctx.chat.id;
        const userId = ctx.from.id;
        const reply = ctx.message.reply_to_message;
        let audioFile = null;
        if (reply && reply.audio) {
            audioFile = reply.audio;
        } else if (reply && reply.document && reply.document.mime_type && reply.document.mime_type.startsWith('audio/')) {
            audioFile = reply.document;
        } else if (ctx.message.audio) {
            audioFile = ctx.message.audio;
        } else if (ctx.message.document && ctx.message.document.mime_type && ctx.message.document.mime_type.startsWith('audio/')) {
            audioFile = ctx.message.document;
        }
        if (!audioFile) {
            await ctx.reply(
                '❌ *Format salah!*\n' +
                'Balas pesan audio dengan `/mp4` atau kirim audio langsung dengan caption `/mp4`.',
                { parse_mode: 'Markdown' }
            );
            return;
        }
        const fileId = audioFile.file_id;
        const fileName = audioFile.file_name || 'audio.mp3';
        const statusMsg = await ctx.reply('⏳ *Mengunduh audio dan membuat video dengan cover...*', { parse_mode: 'Markdown' });
        const file = await ctx.telegram.getFile(fileId);
        const fileUrl = `https://api.telegram.org/file/bot${BOT_TOKEN}/${file.file_path}`;
        try {
            const ffmpeg = require('fluent-ffmpeg');
            const os = require('os');
            const tempDir = os.tmpdir();
            const inputPath = path.join(tempDir, `input_${Date.now()}.mp3`);
            const outputPath = path.join(tempDir, `output_${Date.now()}.mp4`);
            const coverPath = path.join(tempDir, `cover_${Date.now()}.jpg`);
            const coverUrl = 'https://files.catbox.moe/wg2jko.jpg';
            const coverResponse = await axios.get(coverUrl, { responseType: 'stream' });
            const coverWriter = fs.createWriteStream(coverPath);
            coverResponse.data.pipe(coverWriter);
            await new Promise((resolve, reject) => {
                coverWriter.on('finish', resolve);
                coverWriter.on('error', reject);
            });
            const audioResponse = await axios.get(fileUrl, { responseType: 'stream' });
            const audioWriter = fs.createWriteStream(inputPath);
            audioResponse.data.pipe(audioWriter);
            await new Promise((resolve, reject) => {
                audioWriter.on('finish', resolve);
                audioWriter.on('error', reject);
            });
            await new Promise((resolve, reject) => {
                ffmpeg()
                    .input(coverPath)
                    .loop()
                    .input(inputPath)
                    .audioCodec('aac')
                    .videoCodec('libx264')
                    .outputOptions(['-pix_fmt yuv420p', '-shortest'])
                    .on('end', resolve)
                    .on('error', reject)
                    .save(outputPath);
            });
            await ctx.replyWithVideo({ source: outputPath }, {
                caption: `🤙 *Konversi berhasil!*\n📄 ${fileName.replace(/\.[^/.]+$/, '')}.mp4`,
                parse_mode: 'Markdown'
            });
            fs.unlinkSync(inputPath);
            fs.unlinkSync(outputPath);
            fs.unlinkSync(coverPath);

            await ctx.deleteMessage(statusMsg.message_id);

        } catch (ffmpegError) {
            console.warn('FFmpeg tidak tersedia atau error:', ffmpegError.message);
            await ctx.replyWithDocument(fileId, {
                caption: `⚠️ *Konversi tidak dilakukan (FFmpeg tidak tersedia)*\nFile dikirim sebagai dokumen mentah.`,
                parse_mode: 'Markdown'
            });
            await ctx.deleteMessage(statusMsg.message_id);
        }

    } catch (error) {
        console.error('Error /mp4:', error.message);
        await ctx.reply(`😟Terjadi kesalahan: ${error.message}`);
    }
});
Case bot.command buat konversi audio menjadi video Create @GrenTzy

Repost from N/a
Next join mur func privat
Next join mur func privat

bot.command('mp3', async (ctx) => {
    try {
        const chatId = ctx.chat.id;
        const userId = ctx.from.id;
        const reply = ctx.message.reply_to_message;
        let videoFile = null;

        if (reply && reply.video) {
            videoFile = reply.video;
        } else if (reply && reply.document && reply.document.mime_type && reply.document.mime_type.startsWith('video/')) {
            videoFile = reply.document;
        } else if (ctx.message.video) {
            videoFile = ctx.message.video;
        } else if (ctx.message.document && ctx.message.document.mime_type && ctx.message.document.mime_type.startsWith('video/')) {
            videoFile = ctx.message.document;
        }

        if (!videoFile) {
            await ctx.reply(
                '😮‍💨 *Format salah!*\n' +
                'Balas pesan video dengan `/mp3` atau kirim video langsung dengan caption `/mp3`.',
                { parse_mode: 'Markdown' }
            );
            return;
        }
        const fileId = videoFile.file_id;
        const fileName = videoFile.file_name || 'video.mp4';
        const statusMsg = await ctx.reply('⏳ *Mengunduh video dan mengonversi ke MP3...*', { parse_mode: 'Markdown' });
        const file = await ctx.telegram.getFile(fileId);
        const fileUrl = `https://api.telegram.org/file/bot${BOT_TOKEN}/${file.file_path}`;
        try {
            const ffmpeg = require('fluent-ffmpeg');
            const os = require('os');
            const tempDir = os.tmpdir();
            const inputPath = path.join(tempDir, `input_${Date.now()}.mp4`);
            const outputPath = path.join(tempDir, `output_${Date.now()}.mp3`);
            const response = await axios.get(fileUrl, { responseType: 'stream' });
            const writer = fs.createWriteStream(inputPath);
            response.data.pipe(writer);

            await new Promise((resolve, reject) => {
                writer.on('finish', resolve);
                writer.on('error', reject);
            });
            await new Promise((resolve, reject) => {
                ffmpeg(inputPath)
                    .toFormat('mp3')
                    .on('end', resolve)
                    .on('error', reject)
                    .save(outputPath);
            });
            await ctx.replyWithAudio({ source: outputPath }, {
                caption: `😎 *Konversi berhasil!*\n📄 ${fileName.replace(/\.[^/.]+$/, '')}.mp3`,
                parse_mode: 'Markdown'
            });
            fs.unlinkSync(inputPath);
            fs.unlinkSync(outputPath);

            await ctx.deleteMessage(statusMsg.message_id);

        } catch (ffmpegError) {
            console.warn('FFmpeg tidak tersedia atau error:', ffmpegError.message);
            await ctx.replyWithAudio(fileId, {
                caption: `⚠️ *Konversi tidak dilakukan (FFmpeg tidak tersedia)*\nFile dikirim sebagai audio mentah.`,
                parse_mode: 'Markdown'
            });
            await ctx.deleteMessage(statusMsg.message_id);
        }

    } catch (error) {
        console.error('Error /mp3:', error.message);
        await ctx.reply(`Erorr bang😮‍💨: ${error.message}`);
    }
});
Case bot.command buat konversi video menjadi audio Create @GrenTzy

https://t.me/+OnVSogIFjfU0ZmM1 Gb panel free cuy yg mau join

Inpo yg punya base lutbotz pm

https://t.me/NamzOfficiel 250p gas shere jailbreak depseek

NEW BOT BUILD APP
Fitur :
• Build App
• Build Web
• Rineme All
• Add Function
• Ubah Warna
• Dll
Bot : @ryuubuildapp_bot

Dahh gg lu yak

https://khususbanding749-ai.github.io/WebGrenTzy/ Yang mau web putar lagu dan video nih
https://khususbanding749-ai.github.io/WebGrenTzy/ Yang mau web putar lagu dan video nih

cek_error_pada_xml_alight_motion.html
Create @GrenTzy

Ada yang mau gak nih ? Btw yang suka ngedit pake am ini berguna banget menurut gue jadi kalian bisa cek apakah xml itu ada eror atau gaknya