Skip to content

Instantly share code, notes, and snippets.

View siputzx's full-sized avatar

siputzx siputzx

View GitHub Profile
@siputzx
siputzx / piscart.js
Created December 22, 2025 15:13
piscart upscale
class PicsartEnhancer {
constructor() {
this.uploadUrl = 'https://upload.picsart.com/files';
this.aiUrl = 'https://ai.picsart.com';
this.jsUrl = 'https://picsart.com/-/landings/4.310.0/static/index-C3-HwnoW-GZgP7cLS.js';
this.token = null;
this.headers = {
'origin': 'https://picsart.com',
'referer': 'https://picsart.com/',
'user-agent': 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Mobile Safari/537.36',
@siputzx
siputzx / gemini.js
Last active December 24, 2025 23:55
class GeminiClient {
constructor() {
this.s = null;
this.r = 1;
}
async init() {
const res = await fetch('https://gemini.google.com/', {
headers: {'user-agent': 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Mobile Safari/537.36'}
});
@siputzx
siputzx / siputzx-api.json
Last active October 25, 2025 03:12
openapi of siputzx service
{
"openapi": "3.0.0",
"info": {
"title": "Siputzx API",
"version": "1.0.0",
"description": "A versatile API server with a wide range of endpoints, including AI-powered services, anime content scraping, file downloads, and Cloudflare AI integrations."
},
"tags": [
{
"name": "AI",
@siputzx
siputzx / ytdown.js
Created March 31, 2025 15:35
scraper from ytdown.siputzx.my.id
const axios = require('axios');
const FormData = require('form-data');
const getVideoData = async (url, format = 'mp4') => {
try {
const formDataInfo = new FormData();
formDataInfo.append('url', url);
const { data: info } = await axios.post('https://ytdown.siputzx.my.id/api/get-info', formDataInfo, {
headers: { ...formDataInfo.getHeaders() }
@siputzx
siputzx / youtubedl.js
Created December 21, 2024 10:01
buang skrep jir 😹
const axios = require('axios');
const cheerio = require('cheerio');
const url = require('url');
class YoutubeConverter {
constructor() {
this.headers = {
'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'accept-language': 'id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7',
'user-agent': 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Mobile Safari/537.36',