Skip to content

Instantly share code, notes, and snippets.

View weskerty's full-sized avatar
🌴
On Permanent Vacations

laWiskaPY weskerty

🌴
On Permanent Vacations
View GitHub Profile
@weskerty
weskerty / dla.js
Last active July 9, 2026 16:24
Download Everything, YT-DLP and CURL - DownLoadAll. Need lyfe00011 Levanter Bot
// dla.js is a complement to LevanterBot: https://github.com/lyfe00011/levanter
// Copyright (C) 2026 Weskerty
//
// Este programa se distribuye bajo los términos de la Licencia Pública General Affero de GNU (AGPLv3).
// Usted puede usarlo, modificarlo y redistribuirlo bajo esa licencia.
// Este programa se proporciona SIN GARANTIA alguna.
// Licencia completa: https://www.gnu.org/licenses/agpl-3.0.html
const fs = require('fs').promises;
const path = require('path');
// adaptado de: https://github.com/BrunoSobrino/TheMystic-Bot-MD/blob/master/plugins/herramientas-readmore.js
const { bot } = require('../lib');
const more = String.fromCharCode(8206);
const readMore = more.repeat(4001);
bot(
{
pattern: 'readmore ?(.*)',
desc: 'Add Readmore Hi|Readmore',
@weskerty
weskerty / sysinfo.js
Last active May 17, 2026 23:35
View System Info ant Tools Version
const { bot } = require('../lib');
const os = require('os');
const { exec } = require('child_process');
const fs = require('fs').promises;
const util = require('util');
const path = require('path');
const execAsync = util.promisify(exec);
class FastFetchDownloader {
constructor() {
@weskerty
weskerty / gpull.sh
Last active May 16, 2026 06:19
Sincronizacion con Reppositorio, Preferencia por local Siempre sobre escribiendo Remoto en caso de colisión. Límite 1GB, después de eso reinicia el repositorio (borra comits)
#!/usr/bin/env bash
cd "${1:-$(pwd)}" || exit 1
shift 1 2>/dev/null
R='\033[31m';G='\033[32m';Y='\033[33m';B='\033[34m';C='\033[36m';BB='\033[1m';N='\033[0m'
L1=950
L2=900
const fs = require('fs').promises;
const path = require('path');
const { promisify } = require('util');
const { exec: execCB } = require('child_process');
const { bot, pinterestSearch, addExif } = require('../lib');
const exec = promisify(execCB);
const MAX = 1024 * 1024;
const UK = '';
const TK = 'LIVDSRZULELA';
@weskerty
weskerty / YoBot.js
Last active April 7, 2026 15:30
MultiAccounts on Same Server LyFeLevanter Bot
const fs = require('fs').promises;
const path = require('path');
const { bot, sleep } = require('../lib');
const { restartInstance } = require('../lib/pm2');
const T1 = "Converting, Restarting Bot, wait a moment...";
const T2 = "Session Manager";
const T3 = "Add new session:";
@weskerty
weskerty / NPMInstaller.js
Last active April 6, 2026 11:31
NPM Install Helper Module 100% no broken bot trust me bro - npm pakage@version pakage@version etc
// ENV Change manager... Ej; HELPERCMD = "yarn add "
const { bot, setVar, getVars } = require('../lib');
const { exec } = require('child_process');
const { promisify } = require('util');
const eP = promisify(exec);
class HelperNPM {
constructor() {
this.installed = false;
@weskerty
weskerty / RSS.js
Last active April 4, 2026 12:24
rss post channel & chats... (need `NPM` plugin and send npm rss-parser )
const fs = require('fs').promises;
const path = require('path');
const { bot } = require('../lib');
class RSSManager {
constructor() {
this.client = null;
this.dataDir = null;
this.intervalMs = 60000;
const fs = require('fs').promises;
const path = require('path');
const { promisify } = require('util');
const { exec: execCallback } = require('child_process');
const { bot } = require('../lib');
const exec = promisify(execCallback);
const fmtTime = (s) => {
if (!s || isNaN(s)) return "0";
// dla.js
// Copyright (C) 2025 Weskerty
//
// Este programa se distribuye bajo los términos de la Licencia Pública General Affero de GNU (AGPLv3).
// Usted puede usarlo, modificarlo y redistribuirlo bajo esa licencia.
// Este software se proporciona SIN GARANTÍA alguna.
// Licencia completa: https://www.gnu.org/licenses/agpl-3.0.html
// CAMBIO DE GR A GQ por conflicto con palabras en Español