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 / gpull.sh
Created April 11, 2026 11:14
Sincronizacion con Reppositorio, Preferencia por local Siempre sobre escribiendo Remoto en caso de colisión. Límite de .git 100MB, después de eso limpia todos los comits (como si fuese nueva repo)
#!/usr/bin/env bash
cd "${1:-$(pwd)}" || exit 1
R='\033[31m';G='\033[32m';Y='\033[33m';B='\033[34m';C='\033[36m';BB='\033[1m';N='\033[0m'
L=100
r(){ git "$@" 2>&1; return $?; }
n(){
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 = 'KHjK6c0RN7QH6oBc1bkQAcqifiL4NE89Dsp_nSv_vJw';
const TK = 'LIVDSRZULELA';
@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";
@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 / tdl.js
Last active January 30, 2026 15:46
TelegramDownLoader Go
const fs = require('fs').promises;
const {createReadStream, existsSync, statSync} = require('fs');
const path = require('path');
const {exec, spawn} = require('child_process');
const {promisify} = require('util');
const {execSync} = require('child_process');
const {bot, logger} = require('../lib');
const eP = promisify(exec);
const LTO = 300000;
@weskerty
weskerty / Cuevana.js
Last active August 26, 2025 13:27
Descarga Peliculas en Español
const axios = require('axios');
const cheerio = require('cheerio');
const { chromium } = require('playwright');
const fs = require('fs').promises;
const path = require('path');
const os = require('os');
const { promisify } = require('util');
const { exec: execCallback } = require('child_process');
const { bot } = require('../lib');
require('dotenv').config();
@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 / Wikipedia.js
Last active August 24, 2025 20:40 — forked from OfficialGodbless/Wikipedia.js
Wikipedia Fork Plugin pero en Español (cambiar https://es.wikipedia.org)
const { bot } = require("../lib/");
const axios = require("axios");
bot(
{
pattern: "wiki ?(.*)",
desc: "Search Wikipedia for a topic",
type: "info",
},
async (message, match) => {
@weskerty
weskerty / DTG.js
Last active July 22, 2025 14:05
Telegram Sticker Downloader
// dtg.js is a complement to LevanterBot: https://github.com/lyfe00011/levanter
// github.com/weskerty/TGStickerDownloader
// 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
const fs = require('fs').promises;