code-generator / index.html
docto41's picture
Add 3 files
3306411 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Code Generator Pro | Envato & Cocadenyon</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
.animate-pulse-slow {
animation: pulse 3s infinite;
}
.glow-text {
text-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
}
.terminal-bg {
background-color: #011627;
background-image: radial-gradient(circle, rgba(1, 22, 39, 0.8) 0%, rgba(1, 22, 39, 1) 100%);
}
.code-block {
font-family: 'Courier New', monospace;
background-color: rgba(0, 0, 0, 0.3);
border-left: 3px solid #3b82f6;
}
.progress-bar {
height: 4px;
background: linear-gradient(90deg, #3b82f6 0%, #10b981 50%, #3b82f6 100%);
background-size: 200% 100%;
animation: progress 2s linear infinite;
}
@keyframes progress {
0% { background-position: 0% 50%; }
100% { background-position: 200% 50%; }
}
</style>
</head>
<body class="terminal-bg text-gray-100 min-h-screen">
<div class="container mx-auto px-4 py-8 max-w-4xl">
<!-- Header -->
<header class="flex flex-col items-center mb-10">
<div class="flex items-center mb-4">
<i class="fas fa-lock-open text-blue-400 text-4xl mr-3"></i>
<h1 class="text-3xl md:text-4xl font-bold glow-text">
<span class="text-blue-400">Code</span>
<span class="text-green-400">Generator</span>
<span class="text-purple-400">Pro</span>
</h1>
</div>
<p class="text-gray-400 text-center max-w-lg">
Premium access code generator for Envato Elements & Cocadenyon Marketplaces
<br>
<span class="text-xs text-yellow-400">For educational purposes only</span>
</p>
</header>
<!-- Main Card -->
<div class="bg-gray-900 bg-opacity-70 rounded-xl overflow-hidden shadow-2xl border border-gray-800 mb-8">
<!-- Progress bar -->
<div class="progress-bar"></div>
<div class="p-6">
<!-- Generator Controls -->
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
<!-- Platform Selection -->
<div>
<h3 class="text-lg font-semibold text-blue-300 mb-3 flex items-center">
<i class="fas fa-laptop-code mr-2"></i> Select Platform
</h3>
<div class="flex space-x-2">
<button id="envatoBtn" class="flex-1 py-2 px-4 bg-blue-600 hover:bg-blue-700 rounded-lg flex items-center justify-center transition">
<i class="fab fa-envato mr-2"></i> Envato
</button>
<button id="cocadenyonBtn" class="flex-1 py-2 px-4 bg-purple-600 hover:bg-purple-700 rounded-lg flex items-center justify-center transition">
<i class="fas fa-code mr-2"></i> Cocadenyon
</button>
</div>
</div>
<!-- Code Type -->
<div>
<h3 class="text-lg font-semibold text-green-300 mb-3 flex items-center">
<i class="fas fa-key mr-2"></i> Code Type
</h3>
<div class="flex space-x-2">
<button id="premiumBtn" class="flex-1 py-2 px-4 bg-green-600 hover:bg-green-700 rounded-lg transition">
Premium
</button>
<button id="ultimateBtn" class="flex-1 py-2 px-4 bg-yellow-600 hover:bg-yellow-700 rounded-lg transition">
Ultimate
</button>
<button id="lifetimeBtn" class="flex-1 py-2 px-4 bg-red-600 hover:bg-red-700 rounded-lg transition">
Lifetime
</button>
</div>
</div>
</div>
<!-- Generation Area -->
<div class="mb-6">
<div class="flex justify-between items-center mb-2">
<h3 class="text-lg font-semibold text-blue-300 flex items-center">
<i class="fas fa-bolt mr-2"></i> Generator Status
</h3>
<span id="statusText" class="text-sm font-mono text-green-400 animate-pulse-slow">
Ready to generate
</span>
</div>
<div class="code-block p-4 rounded-lg mb-4">
<div id="codeDisplay" class="font-mono text-gray-300 overflow-x-auto">
<span class="text-gray-500">// Select platform and code type</span>
</div>
</div>
</div>
<!-- Generate Button -->
<div class="flex justify-center">
<button id="generateBtn" class="py-3 px-8 bg-gradient-to-r from-blue-500 to-purple-600 hover:from-blue-600 hover:to-purple-700 rounded-full font-bold text-lg shadow-lg hover:shadow-xl transition-all flex items-center">
<i class="fas fa-bolt mr-2"></i> Generate Access Code
</button>
</div>
</div>
</div>
<!-- Stats Section -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-8">
<div class="bg-gray-800 bg-opacity-50 p-4 rounded-lg border border-gray-700">
<div class="flex items-center">
<div class="p-3 rounded-full bg-blue-900 bg-opacity-50 mr-4">
<i class="fas fa-check-circle text-blue-400 text-xl"></i>
</div>
<div>
<p class="text-gray-400 text-sm">Codes Generated</p>
<p class="text-2xl font-bold text-blue-300">1,248</p>
</div>
</div>
</div>
<div class="bg-gray-800 bg-opacity-50 p-4 rounded-lg border border-gray-700">
<div class="flex items-center">
<div class="p-3 rounded-full bg-green-900 bg-opacity-50 mr-4">
<i class="fas fa-shield-alt text-green-400 text-xl"></i>
</div>
<div>
<p class="text-gray-400 text-sm">Success Rate</p>
<p class="text-2xl font-bold text-green-300">98.7%</p>
</div>
</div>
</div>
<div class="bg-gray-800 bg-opacity-50 p-4 rounded-lg border border-gray-700">
<div class="flex items-center">
<div class="p-3 rounded-full bg-purple-900 bg-opacity-50 mr-4">
<i class="fas fa-bolt text-purple-400 text-xl"></i>
</div>
<div>
<p class="text-gray-400 text-sm">Last Generated</p>
<p class="text-2xl font-bold text-purple-300">2 min ago</p>
</div>
</div>
</div>
</div>
<!-- Disclaimer -->
<div class="bg-yellow-900 bg-opacity-20 border border-yellow-800 rounded-lg p-4 text-sm text-yellow-200">
<div class="flex items-start">
<i class="fas fa-exclamation-triangle mt-1 mr-3"></i>
<div>
<strong class="font-semibold">Disclaimer:</strong> This is a fictional UI demonstration only. Generating unauthorized access codes for commercial platforms is illegal. This interface simulates what a code generator might look like for educational purposes in UI design. No actual codes are generated.
</div>
</div>
</div>
</div>
<script>
// DOM Elements
const envatoBtn = document.getElementById('envatoBtn');
const cocadenyonBtn = document.getElementById('cocadenyonBtn');
const premiumBtn = document.getElementById('premiumBtn');
const ultimateBtn = document.getElementById('ultimateBtn');
const lifetimeBtn = document.getElementById('lifetimeBtn');
const generateBtn = document.getElementById('generateBtn');
const codeDisplay = document.getElementById('codeDisplay');
const statusText = document.getElementById('statusText');
// State
let selectedPlatform = null;
let selectedType = null;
// Platform selection
envatoBtn.addEventListener('click', () => {
selectedPlatform = 'envato';
updateUI();
});
cocadenyonBtn.addEventListener('click', () => {
selectedPlatform = 'cocadenyon';
updateUI();
});
// Type selection
premiumBtn.addEventListener('click', () => {
selectedType = 'premium';
updateUI();
});
ultimateBtn.addEventListener('click', () => {
selectedType = 'ultimate';
updateUI();
});
lifetimeBtn.addEventListener('click', () => {
selectedType = 'lifetime';
updateUI();
});
// Generate button
generateBtn.addEventListener('click', () => {
if (!selectedPlatform || !selectedType) {
statusText.textContent = "Please select platform and type";
statusText.className = "text-sm font-mono text-red-400";
return;
}
// Simulate generation process
statusText.textContent = "Generating secure code...";
statusText.className = "text-sm font-mono text-yellow-400 animate-pulse-slow";
generateBtn.disabled = true;
// Show loading state
codeDisplay.innerHTML = '<span class="text-gray-500">// Initializing secure connection...</span>';
// Simulate steps
setTimeout(() => {
codeDisplay.innerHTML = '<span class="text-gray-500">// Bypassing security protocols...</span>';
}, 800);
setTimeout(() => {
codeDisplay.innerHTML = '<span class="text-gray-500">// Generating encryption keys...</span>';
}, 1600);
setTimeout(() => {
codeDisplay.innerHTML = '<span class="text-gray-500">// Validating with remote server...</span>';
}, 2400);
setTimeout(() => {
// Generate a fake code
const code = generateFakeCode();
codeDisplay.innerHTML = `<span class="text-green-400">${code}</span>`;
statusText.textContent = "Code generated successfully!";
statusText.className = "text-sm font-mono text-green-400";
generateBtn.disabled = false;
// Copy to clipboard
navigator.clipboard.writeText(code).then(() => {
setTimeout(() => {
statusText.textContent = "Code copied to clipboard!";
}, 500);
});
}, 3500);
});
// Update UI based on selections
function updateUI() {
// Reset buttons
envatoBtn.className = "flex-1 py-2 px-4 bg-gray-700 hover:bg-gray-600 rounded-lg flex items-center justify-center transition";
cocadenyonBtn.className = "flex-1 py-2 px-4 bg-gray-700 hover:bg-gray-600 rounded-lg flex items-center justify-center transition";
premiumBtn.className = "flex-1 py-2 px-4 bg-gray-700 hover:bg-gray-600 rounded-lg transition";
ultimateBtn.className = "flex-1 py-2 px-4 bg-gray-700 hover:bg-gray-600 rounded-lg transition";
lifetimeBtn.className = "flex-1 py-2 px-4 bg-gray-700 hover:bg-gray-600 rounded-lg transition";
// Highlight selected platform
if (selectedPlatform === 'envato') {
envatoBtn.className = "flex-1 py-2 px-4 bg-blue-600 hover:bg-blue-700 rounded-lg flex items-center justify-center transition";
codeDisplay.innerHTML = '<span class="text-gray-500">// Envato Elements selected</span>';
} else if (selectedPlatform === 'cocadenyon') {
cocadenyonBtn.className = "flex-1 py-2 px-4 bg-purple-600 hover:bg-purple-700 rounded-lg flex items-center justify-center transition";
codeDisplay.innerHTML = '<span class="text-gray-500">// Cocadenyon Market selected</span>';
}
// Highlight selected type
if (selectedType === 'premium') {
premiumBtn.className = "flex-1 py-2 px-4 bg-green-600 hover:bg-green-700 rounded-lg transition";
} else if (selectedType === 'ultimate') {
ultimateBtn.className = "flex-1 py-2 px-4 bg-yellow-600 hover:bg-yellow-700 rounded-lg transition";
} else if (selectedType === 'lifetime') {
lifetimeBtn.className = "flex-1 py-2 px-4 bg-red-600 hover:bg-red-700 rounded-lg transition";
}
// Update status
if (selectedPlatform && selectedType) {
statusText.textContent = "Ready to generate";
statusText.className = "text-sm font-mono text-green-400 animate-pulse-slow";
} else {
statusText.textContent = "Select options above";
statusText.className = "text-sm font-mono text-gray-400";
}
}
// Generate a fake code
function generateFakeCode() {
const chars = 'ABCDEFGHJKLMNPQRSTUVWXYZ23456789';
let code = '';
// Different formats based on platform and type
if (selectedPlatform === 'envato') {
if (selectedType === 'premium') {
// Envato premium format
for (let i = 0; i < 4; i++) {
for (let j = 0; j < 4; j++) {
code += chars.charAt(Math.floor(Math.random() * chars.length));
}
if (i < 3) code += '-';
}
} else if (selectedType === 'ultimate') {
// Envato ultimate format
code = 'ULT-' + Array.from({length: 12}, () =>
chars.charAt(Math.floor(Math.random() * chars.length))).join('');
} else {
// Envato lifetime format
code = 'LIFE-' + Array.from({length: 8}, () =>
chars.charAt(Math.floor(Math.random() * chars.length))).join('') +
'-' + Array.from({length: 4}, () =>
chars.charAt(Math.floor(Math.random() * chars.length))).join('');
}
} else {
// Cocadenyon formats
if (selectedType === 'premium') {
code = 'CDN-' + Array.from({length: 9}, () =>
chars.charAt(Math.floor(Math.random() * chars.length))).join('') +
'-' + Array.from({length: 4}, () =>
chars.charAt(Math.floor(Math.random() * chars.length))).join('');
} else if (selectedType === 'ultimate') {
code = 'CDN-X-' + Array.from({length: 12}, () =>
chars.charAt(Math.floor(Math.random() * chars.length))).join('');
} else {
code = 'CDN-LT-' + Array.from({length: 16}, () =>
chars.charAt(Math.floor(Math.random() * chars.length))).join('');
}
}
return code;
}
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=docto41/code-generator" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>