Skip to content

Instantly share code, notes, and snippets.

@RIFKIror
RIFKIror / am.js
Created April 1, 2026 11:07
Get Metadata from alight motion
import axios from "axios";
async function am(url) {
try {
if (!url) throw new Error("URL tidak ditemukan");
const match = url.match(/\/u\/([^\/]+)\/p\/([^\/\?#]+)/);
if (!match) throw new Error("URL tidak valid");
const uid = match[1];
@RIFKIror
RIFKIror / an1dl.js
Created March 27, 2026 10:57
AN1 APK DOWNLOADER | ESM MODOL
import axios from "axios";
import * as cheerio from "cheerio";
async function an1Download(link) {
try {
if (!link || !link.includes("an1.com")) {
throw new Error("Salah woylah url nya");
}
const first = await axios.get(link, {
@RIFKIror
RIFKIror / an1detail.js
Created March 27, 2026 10:34
Mengambil detail apk dari link an1.com
import axios from "axios";
import * as cheerio from "cheerio";
async function an1Detail(link) {
try {
if (!link || !link.includes("an1.com")) {
throw new Error("Link tidak valid");
}
const { data } = await axios.get(link, {
@RIFKIror
RIFKIror / appledl.js
Created March 27, 2026 09:39
Apple Music Downloader (Aplmate.com)
import axios from "axios";
import * as cheerio from "cheerio";
import FormData from "form-data";
async function appledl(link) {
try {
if (!link || !link.includes("music.apple.com")) {
throw new Error("Link Apple Music tidak valid");
}
@RIFKIror
RIFKIror / repost-stalk.js
Created March 23, 2026 12:57
Mencari informasi akun tiktok dan repost (postingan ulang)
import axios from "axios";
async function tiktokStalk({ user, limit = 10 } = {}) {
try {
if (!user) throw new Error("Username tidak boleh kosong");
if (isNaN(limit)) throw new Error("Limit harus angka");
const profileReq = await axios.post("https://tokviewer.net/api/check-profile",
{ username: user },
{
@RIFKIror
RIFKIror / ssweb.js
Created March 17, 2026 06:17
Screenshot Website (Fitur Bot WhatsApp)
/*
Fitur Screenshot Website
Base : api.lexcode.biz.id
Type : Case
Note : Sesuaikan script dengan bot kamu
*/
case "ssweb": {
if (!text) {
return m.reply("*Masukin link!*\nContoh: .ssweb https://example.com")
}
@RIFKIror
RIFKIror / savetube.js
Created March 16, 2026 22:58
Download Vidio YouTube With Savetube
import axios from "axios"
import crypto from "crypto"
async function savetube(link, quality = "720") {
try {
if (!link) throw new Error("Link nya mana?")
const match = link.match(/(?:youtube\.com\/(?:watch\?v=|embed\/|shorts\/|v\/)|youtu\.be\/)([a-zA-Z0-9_-]{11})/)
if (!match) throw new Error("URL YouTube tidak valid")
@RIFKIror
RIFKIror / tthastagtrend.js
Created February 28, 2026 09:07
Tiktok Hastag Search (Trending)
import axios from "axios";
import * as cheerio from "cheerio";
async function tthastag(query) {
try {
if (!query) throw new Error("Query wajib diisi");
const cleanQuery = query.replace(/[^a-zA-Z0-9]/g, "").toLowerCase();
const response = await axios.get(`https://tiktokhashtags.com/hashtag/${cleanQuery}/`, {
headers: {
@RIFKIror
RIFKIror / happymod.js
Created February 22, 2026 09:46
Happy Mod Search (Mod Apk)
import axios from "axios";
import * as cheerio from "cheerio";
async function happyModSearch(keyword) {
try {
if (!keyword) throw new Error("Keyword wajib diisi");
const { data: html } = await axios.post("https://id.happymod.cloud/search.html",
new URLSearchParams({ q: keyword }).toString(),
{
@RIFKIror
RIFKIror / spotifydl.js
Created February 18, 2026 09:28
Spotify Downloader
import axios from "axios";
import * as cheerio from "cheerio";
async function spotifydl(url) {
try {
if (!url) throw new Error("Link nya mana?");
if (!/open\.spotify\.com/i.test(url)) throw new Error("URL Spotify tidak valid");
const home = await axios.get("https://spotmate.online/", {
headers: {