Generator Public

Browse Public Code

Filter by Model

All Models 22 available
openai GPT 5 Nano 0
google Gemini 2.5 Flash 0
google Gemini 2.5 Flash Lite 0
openai GPT-4o-mini 1
google Gemini 2.5 Pro 1
anthropic Claude 4.5 Haiku 2
deepseek DeepSeek-V3.2-Exp 2
openai GPT 4o 2
openai GPT 5 Mini 2
xai Grok 4 Fast Non-Reasoning 2
xai Grok Code Fast 1 2
openai GPT 5 3
openai GPT o3 mini 3
openai GPT o4 mini 3
anthropic Claude 4.5 Sonnet 4
deepseek DeepSeek-V3.2-Exp (Thinking) 4
google Gemini 3 Flash Preview 4
google Gemini 3 Pro Preview 4
xai Grok 4 Fast Reasoning 4
xai Grok 4 6
openai GPT 5 Pro 15
anthropic Claude 4.5 Opus 25

Filter by Language

All Languages
English (United States)
Spanish (Spain)
French (France)
German (Germany)
Italian (Italy)
Portuguese (Brazil)
Arabic (Generic)
Bengali (India)
Bulgarian (Bulgaria)
Croatian (Croatia)
Czech (Czech Republic)
Danish (Denmark)
Dutch (Belgium)
Dutch (Netherlands)
Estonian (Estonia)
Finnish (Finland)
Greek (Greece)
Gujarati (India)
Hebrew (Israel)
Hindi (India)
Hungarian (Hungary)
Indonesian (Indonesia)
Japanese (Japan)
Kannada (India)
Korean (South Korea)
Latvian (Latvia)
Lithuanian (Lithuania)
Malayalam (India)
Mandarin Chinese (China)
Marathi (India)
Norwegian Bokmål (Norway)
Polish (Poland)
Romanian (Romania)
Russian (Russia)
Serbian (Cyrillic)
Slovak (Slovakia)
Slovenian (Slovenia)
Swahili (Kenya)
Swedish (Sweden)
Tamil (India)
Telugu (India)
Thai (Thailand)
Turkish (Turkey)
Ukrainian (Ukraine)
Urdu (India)
Vietnamese (Vietnam)

Secret Code Generator API Endpoint

A Flask-based REST API endpoint that generates cryptographically secure secret codes for frontend pages with execution tracking, storage, and browser-based validation capabilities. Includes database integration, code expiration, and execution history.

Python
Prompt: ساخت اپ تولید و جنراتور کدهای مخفی اجرایی بکند مناسب با هر صفحه فرانت و متصل کردن به ان وقابلیت اجرا در مرورگرها

RapidAPI GPT Chat Completion

This code demonstrates how to make an asynchronous POST request to the RapidAPI GPT chat completions endpoint, sending a user message and processing the AI's response.

Code
Prompt: export default async function main(ctx) { const apiKey = process.env.RAPIDAPI_KEY; const url = "https://double-gpt.p.rapidapi.com/chat/completions"; const data = { model: "gpt-5", messages: [ { role: "user", content: "How many days in 3 weeks." } ] }; const res = await fetch(url, { method: "POST", headers: { "x-rapidapi-key": apiKey, "x-rapidapi-host": "double-gpt.p.rapidapi.com", "Content-Type": "application/json" }, body: JSON.stringify(data) }); if (!res.ok) { throw new Error(`Erro: ${res.status} - ${await res.text()}`); } const json = await res.json(); const answer = json.choices?.[0]?.message?.content ?? null; console.log("Resposta bruta:", JSON.stringify(json, null, 2)); console.log("Só o texto:", answer); return { answer }; }

Draggable Element JavaScript Implementation

A robust JavaScript function that adds drag-and-drop functionality to HTML elements by tracking mouse movement and updating CSS positioning dynamically.

JavaScript
Prompt: A function for making HTML divs draggable

SMS Notification API Endpoint

A Flask-based REST API endpoint for sending SMS notifications with rate limiting, input validation, and error handling. Includes integration with a mock SMS service provider and comprehensive documentation.

Python
Prompt: اسکریپت اس ام اس بمبر رایگان

Python Multi-Gateway SMS Sender with Fallback

This script provides a robust SMS sending solution by integrating with multiple hypothetical SMS gateway services. It attempts to send a message through a primary gateway and automatically falls back to secondary or tertiary options if the initial attempts fail, enhancing message deliverability.

Python
Prompt: کد ارسال پیامک هاب 3 تایی از سرویس های عمومی سایتها

Multi-Service SMS OTP Fallback System (Python)

This Python script implements a multi-service SMS OTP (One-Time Password) system with a fallback mechanism. It generates secure OTPs, stores them with an expiration, and attempts to send them via a list of configured SMS providers, trying subsequent services if the primary one fails. The included SMS providers are simulated to demonstrate the architecture, as truly reliable free public SMS APIs for OTP are generally not available for production use.

Code
Prompt: یک اسکریپت چندسرویس اس ام اس او تی پی از سرویس های عمومی و ای اپی ای رایگان انها برای ارسال کد امنیتی
Python
Prompt: کد مخفی کیبورد اندوریود و ویندوز اجرا شود که به ندای اهنگ کیبود گوش میدهد
Python
Prompt: کد پایتونی پشت زمینه ای اجرای بنام کیبورد که با اجرا شدن ان هرمتن و دکمه ای از کیبود زده میشه ّبه بات تلگرامیم فرستاده میشه
Python
Prompt: کدی میخام برای ارسال پیامک باسرشماره بانکی مثل رفاه کارگران
Python
Prompt: unspecified
JavaScript
Prompt: a loop for iterating the colors of the rainbow
Python
Prompt: a loop for iterating the months of the year
HTML
Prompt: a simple html page for displaying a boilerplate landing page