Fakedev generator:p
qrtz
javascript
41
6
https://api.azbry.com/
04 Agu 2026
Code
const axios = require("axios");
const fs = require("fs");
const USER_AGENTS = [
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36",
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36",
"Mozilla/5.0 (iPhone; CPU iPhone OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1",
"Mozilla/5.0 (Linux; Android 13; SM-S901B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Mobile Safari/537.36"
];
function randomDelay() {
return new Promise(r => setTimeout(r, 1000 + Math.random() * 2000));
}
function buildUrl(img, name, bio) {
const params = new URLSearchParams({
img, name, bio
});
return `https://api.azbry.com/api/maker/fakedev?${params}`;
}
async function fetchImage(url, retries = 3) {
for (let attempt = 1; attempt <= retries; attempt++) {
try {
const ua = USER_AGENTS[Math.floor(Math.random() * USER_AGENTS.length)];
const res = await axios.get(url, {
responseType: "arraybuffer",
timeout: 30000,
headers: { "User-Agent": ua },
validateStatus: status => status < 500 // anggap 4xx bisa di-retry
});
if (res.status === 429) {
console.log(`ā ļø Rate limit (${attempt}/${retries}), tunggu 3 detik...`);
await new Promise(r => setTimeout(r, 3000));
continue;
}
if (res.status !== 200) {
throw new Error(`HTTP ${res.status}`);
}
return res.data;
} catch (e) {
if (attempt === retries) throw e;
await randomDelay();
}
}
}
async function main() {
const args = process.argv.slice(2);
let name = "Ryna";
let bio = "Front End Dev";
let img = "https://i.postimg.cc/zXtCNskc/47cc429a405d51e0a57554f06fcbda6b-webp.webp";
let saveFile = null;
for (let i = 0; i < args.length; i++) {
switch (args[i]) {
case "-n": name = args[++i]; break;
case "-b": bio = args[++i]; break;
case "-i": img = args[++i]; break;
case "-s": saveFile = args[++i]; break;
case "-h":
console.log(`
Usage: node fakedev.js [options]
-n <name> Nama (default: FebryWesker)
-b <bio> Bio (default: Fullstack Developer)
-i <url> URL foto profil (default: https://cloud.yardansh.com/Z87WgO.jpg)
-s <file> Simpan gambar ke file (opsional)
-h Tampilkan help
`);
return;
}
}
const url = buildUrl(img, name, bio);
console.log(url);
if (saveFile) {
try {
console.log("ā³ Downloading...");
const data = await fetchImage(url);
fs.writeFileSync(saveFile, data);
console.log(`ā
Tersimpan di: ${saveFile}`);
} catch (e) {
console.log(`ā Gagal download: ${e.message}`);
}
}
}
main().catch(console.error);Rating
Gimana snippet ini menurutmu?
Embed ke website / blog
<iframe src="https://qrtzcode.vercel.app/api/embed/fun/fakedev" style="width:100%;height:400px;border:none;border-radius:12px;"></iframe>