Skip to content

Instantly share code, notes, and snippets.

View siputzx's full-sized avatar

siputzx siputzx

View GitHub Profile
@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',