Skip to content

Instantly share code, notes, and snippets.

@ONLym22
ONLym22 / chatgpt.js
Created January 2, 2026 04:09
Uploaded via ONLym Bot
const fs = require("fs");
const path = require("path");
function getBaseHeaders(extra = {}) {
return {
"User-Agent":
"Mozilla/5.0 (Linux; Android 13; Mobile) AppleWebKit/537.36 Chrome/120.0.0.0 Safari/537.36",
"Origin": "https://chatgpt4online.org",
"Referer": "https://chatgpt4online.org/",
"Accept": "*/*",
@ONLym22
ONLym22 / aio-ssvid.js
Created January 2, 2026 04:01
Uploaded via ONLym Bot
/*
* AIO Downloader
* Base Url: https://ssvid.net
* Creator: krsna_081
** https://whatsapp.com/channel/0029Vb72biW0QeasfexABN3H **
*/
import axios from "axios";
@ONLym22
ONLym22 / doutindl.js
Created January 1, 2026 19:14
Uploaded via ONLym Bot
case 'douyindl':
case 'douyin':
case 'ttcn': {
const axios = require('axios');
const cheerio = require('cheerio');
const qs = require('qs');
const vm = require('vm');
const [subcmd, ...args] = text.split(' ');
const query = args.join(' ').trim();
@ONLym22
ONLym22 / aio-ssvid.js
Created January 1, 2026 11:11
Uploaded via ONLym Bot
/*
* AIO Downloader
* Base Url: https://ssvid.net
* Creator: krsna_081
** https://whatsapp.com/channel/0029Vb72biW0QeasfexABN3H **
*/
import axios from "axios";
@ONLym22
ONLym22 / soundcloud-play.js
Created January 1, 2026 09:26
Uploaded via ONLym Bot
const axios = require('axios');
/**
* SoundCloud Search & Downloader
* @author AgungDevX
*/
const soundcloud = {
// fungsina keur neangan lagu
search: async (query) => {
try {
@ONLym22
ONLym22 / savetube.js
Created January 1, 2026 09:18
Uploaded via ONLym Bot
const axios = require('axios')
const crypto = require('crypto')
const anu = Buffer.from('C5D58EF67A7584E4A29F6C35BBC4EB12', 'hex')
function decrypt(enc){
const b = Buffer.from(enc.replace(/\s/g, ''), 'base64')
const iv = b.subarray(0, 16)
const data = b.subarray(16)
const d = crypto.createDecipheriv('aes-128-cbc', anu, iv)
@ONLym22
ONLym22 / qkontak.js
Created January 1, 2026 09:15
Uploaded via ONLym Bot
const qkontak = {
key: {
participant: `[email protected]`,
...(botNumber ? {
remoteJid: `status@broadcast`
} : {})
},
message: {
'contactMessage': {
'displayName': `${pushname}`,
@ONLym22
ONLym22 / ai-scrape.js
Created January 1, 2026 09:09
Uploaded via ONLym Bot
// πŸ“‚ Source: JavaScript
case "scrape": {
if (!isPremium && !isOwner) return onlyPrem();
if (!text) return xreply(`Format salah!\n\nContoh: ${prefix + command} https://example.com | ambil semua link gambar`);
xreact("πŸ”");
try {
let [url, ...promptArray] = text.split("|");
let targetUrl = url.trim();
@ONLym22
ONLym22 / gemini.js
Created January 1, 2026 06:23
Uploaded via ONLym Bot
// πŸ“‚ Source: JavaScript
case "gemini":
case "gemini-flash":
{
if (!text && !quoted) return xreply(`Contoh:\n${p_c}${command} Tanggal berapa hari ini?\n\nAtau kirim/reply file dengan caption ${p_c}${command} analisis file ini`);
let q = quoted ? quoted : m;
let mime = (q.msg || q).mimetype || "";
let catBoxUrl = "";
@ONLym22
ONLym22 / scrape.js
Created January 1, 2026 05:00
Uploaded via ONLym Bot
const axios = require('axios');
const cheerio = require('cheerio');
/**
* @returns {Promise<Object>} Scraped data object
*/
async function scrapeNekoLabsBuildsParser() {
try {
const { data: html } = await axios.get('https://builds.nekolabs.web.id/parser', {
headers: { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36' }