docto41 commited on
Commit
271ca06
·
verified ·
1 Parent(s): c1d025f

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +381 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Ultimate Ai Generator
3
- emoji: 📈
4
- colorFrom: red
5
- colorTo: purple
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: ultimate-ai-generator
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: green
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,381 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Ultimate Website Generator</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .gradient-bg {
11
+ background: linear-gradient(135deg, #6e8efb, #a777e3);
12
+ }
13
+ .preview-frame {
14
+ border: 2px solid #e2e8f0;
15
+ border-radius: 0.5rem;
16
+ height: 500px;
17
+ background: white;
18
+ }
19
+ .typing-cursor {
20
+ display: inline-block;
21
+ width: 10px;
22
+ height: 20px;
23
+ background: #4f46e5;
24
+ animation: blink 1s infinite;
25
+ }
26
+ @keyframes blink {
27
+ 0%, 100% { opacity: 1; }
28
+ 50% { opacity: 0; }
29
+ }
30
+ .glow {
31
+ box-shadow: 0 0 15px rgba(167, 119, 227, 0.7);
32
+ }
33
+ .code-editor {
34
+ font-family: 'Courier New', Courier, monospace;
35
+ background: #1e293b;
36
+ color: #f8fafc;
37
+ }
38
+ .ai-thinking {
39
+ background: linear-gradient(90deg, #6e8efb, #a777e3, #6e8efb);
40
+ background-size: 200% auto;
41
+ animation: shimmer 2s linear infinite;
42
+ }
43
+ @keyframes shimmer {
44
+ 0% { background-position: 0% center; }
45
+ 100% { background-position: 200% center; }
46
+ }
47
+ </style>
48
+ </head>
49
+ <body class="bg-gray-100 min-h-screen">
50
+ <div class="gradient-bg text-white py-6">
51
+ <div class="container mx-auto px-4">
52
+ <div class="flex justify-between items-center">
53
+ <h1 class="text-4xl font-bold">ULTIMATE <span class="text-yellow-300">AI</span> WEBSITE GENERATOR</h1>
54
+ <div class="flex space-x-4">
55
+ <button class="bg-white text-purple-700 px-4 py-2 rounded-lg font-semibold hover:bg-purple-100 transition">
56
+ <i class="fas fa-save mr-2"></i>Save Project
57
+ </button>
58
+ <button class="bg-yellow-400 text-gray-900 px-4 py-2 rounded-lg font-semibold hover:bg-yellow-300 transition">
59
+ <i class="fas fa-bolt mr-2"></i>Turbo Mode
60
+ </button>
61
+ </div>
62
+ </div>
63
+ <p class="mt-2 text-lg opacity-90">Combine all AI powers in one place to create stunning websites instantly</p>
64
+ </div>
65
+ </div>
66
+
67
+ <div class="container mx-auto px-4 py-8">
68
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
69
+ <!-- Left Panel - Description Input -->
70
+ <div class="lg:col-span-1 bg-white rounded-xl shadow-lg p-6">
71
+ <h2 class="text-2xl font-bold text-gray-800 mb-4 flex items-center">
72
+ <i class="fas fa-magic mr-2 text-purple-600"></i> Describe Your Website
73
+ </h2>
74
+
75
+ <div class="mb-6">
76
+ <label class="block text-gray-700 font-medium mb-2">Website Type</label>
77
+ <select class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-purple-500">
78
+ <option>Business Website</option>
79
+ <option>E-commerce Store</option>
80
+ <option>Portfolio</option>
81
+ <option>Blog</option>
82
+ <option>Landing Page</option>
83
+ <option>Web Application</option>
84
+ <option>Custom</option>
85
+ </select>
86
+ </div>
87
+
88
+ <div class="mb-6">
89
+ <label class="block text-gray-700 font-medium mb-2">Style Preferences</label>
90
+ <div class="grid grid-cols-3 gap-2">
91
+ <button class="p-2 border rounded-lg hover:bg-gray-100">Modern</button>
92
+ <button class="p-2 border rounded-lg hover:bg-gray-100">Minimal</button>
93
+ <button class="p-2 border rounded-lg hover:bg-gray-100">Vibrant</button>
94
+ <button class="p-2 border rounded-lg hover:bg-gray-100">Elegant</button>
95
+ <button class="p-2 border rounded-lg hover:bg-gray-100">Dark</button>
96
+ <button class="p-2 border rounded-lg hover:bg-gray-100">Custom</button>
97
+ </div>
98
+ </div>
99
+
100
+ <div class="mb-6">
101
+ <label class="block text-gray-700 font-medium mb-2">Step-by-Step Description</label>
102
+ <div class="space-y-4" id="description-steps">
103
+ <div class="flex items-start">
104
+ <span class="bg-purple-600 text-white rounded-full w-6 h-6 flex items-center justify-center mt-1 mr-2 text-sm">1</span>
105
+ <textarea class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-purple-500" placeholder="First, I want a hero section with..." rows="2"></textarea>
106
+ </div>
107
+ <div class="flex items-start">
108
+ <span class="bg-purple-600 text-white rounded-full w-6 h-6 flex items-center justify-center mt-1 mr-2 text-sm">2</span>
109
+ <textarea class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-purple-500" placeholder="Then add a features section that..." rows="2"></textarea>
110
+ </div>
111
+ </div>
112
+ <button id="add-step" class="mt-2 text-purple-600 hover:text-purple-800 font-medium flex items-center">
113
+ <i class="fas fa-plus-circle mr-2"></i> Add Another Step
114
+ </button>
115
+ </div>
116
+
117
+ <div class="mb-6">
118
+ <label class="block text-gray-700 font-medium mb-2">Advanced Options</label>
119
+ <div class="space-y-3">
120
+ <label class="flex items-center">
121
+ <input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600">
122
+ <span class="ml-2">Include Animations</span>
123
+ </label>
124
+ <label class="flex items-center">
125
+ <input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600">
126
+ <span class="ml-2">Make Responsive</span>
127
+ </label>
128
+ <label class="flex items-center">
129
+ <input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600">
130
+ <span class="ml-2">SEO Optimized</span>
131
+ </label>
132
+ <label class="flex items-center">
133
+ <input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600">
134
+ <span class="ml-2">Dark Mode Toggle</span>
135
+ </label>
136
+ </div>
137
+ </div>
138
+
139
+ <button id="generate-btn" class="w-full bg-purple-600 hover:bg-purple-700 text-white py-3 px-4 rounded-lg font-bold text-lg transition-all duration-300 transform hover:scale-105 glow">
140
+ <i class="fas fa-bolt mr-2"></i> GENERATE WEBSITE
141
+ </button>
142
+ </div>
143
+
144
+ <!-- Middle Panel - Real-Time Preview -->
145
+ <div class="lg:col-span-2">
146
+ <div class="bg-white rounded-xl shadow-lg overflow-hidden">
147
+ <div class="flex justify-between items-center bg-gray-800 text-white px-4 py-3">
148
+ <div class="flex items-center">
149
+ <div class="w-3 h-3 rounded-full bg-red-500 mr-2"></div>
150
+ <div class="w-3 h-3 rounded-full bg-yellow-500 mr-2"></div>
151
+ <div class="w-3 h-3 rounded-full bg-green-500"></div>
152
+ </div>
153
+ <div class="text-sm">Live Preview</div>
154
+ <div class="flex space-x-2">
155
+ <button class="text-gray-300 hover:text-white">
156
+ <i class="fas fa-desktop"></i>
157
+ </button>
158
+ <button class="text-gray-300 hover:text-white">
159
+ <i class="fas fa-tablet-alt"></i>
160
+ </button>
161
+ <button class="text-gray-300 hover:text-white">
162
+ <i class="fas fa-mobile-alt"></i>
163
+ </button>
164
+ </div>
165
+ </div>
166
+ <div class="preview-frame" id="preview-frame">
167
+ <iframe src="about:blank" class="w-full h-full" id="live-preview"></iframe>
168
+ </div>
169
+ </div>
170
+
171
+ <div class="mt-6 bg-white rounded-xl shadow-lg overflow-hidden">
172
+ <div class="flex justify-between items-center bg-gray-800 text-white px-4 py-3">
173
+ <div class="flex items-center">
174
+ <i class="fas fa-code mr-2"></i>
175
+ <span>Generated Code</span>
176
+ </div>
177
+ <div class="flex space-x-2">
178
+ <button class="text-gray-300 hover:text-white">
179
+ <i class="fas fa-copy"></i> Copy
180
+ </button>
181
+ <button class="text-gray-300 hover:text-white">
182
+ <i class="fas fa-download"></i> Download
183
+ </button>
184
+ </div>
185
+ </div>
186
+ <div class="code-editor p-4 overflow-auto" style="height: 300px;">
187
+ <pre id="generated-code"><code class="language-html">// Your generated website code will appear here</code></pre>
188
+ </div>
189
+ </div>
190
+ </div>
191
+ </div>
192
+
193
+ <!-- AI Processing Section -->
194
+ <div id="ai-processing" class="hidden mt-8 bg-white rounded-xl shadow-lg overflow-hidden">
195
+ <div class="ai-thinking text-white px-6 py-4 flex items-center">
196
+ <i class="fas fa-brain text-2xl mr-4"></i>
197
+ <div class="flex-1">
198
+ <div class="font-bold text-lg">AI is processing your request</div>
199
+ <div class="text-sm opacity-90">Combining multiple AI models for the best results...</div>
200
+ </div>
201
+ <div class="flex space-x-2">
202
+ <div class="w-2 h-2 rounded-full bg-white opacity-75 animate-bounce" style="animation-delay: 0s;"></div>
203
+ <div class="w-2 h-2 rounded-full bg-white opacity-75 animate-bounce" style="animation-delay: 0.2s;"></div>
204
+ <div class="w-2 h-2 rounded-full bg-white opacity-75 animate-bounce" style="animation-delay: 0.4s;"></div>
205
+ </div>
206
+ </div>
207
+ <div class="p-6">
208
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-4">
209
+ <div class="bg-gray-50 p-4 rounded-lg border border-gray-200">
210
+ <div class="flex items-center mb-2">
211
+ <div class="w-3 h-3 rounded-full bg-blue-500 mr-2"></div>
212
+ <span class="font-medium">GPT-5</span>
213
+ </div>
214
+ <div class="text-sm text-gray-600" id="gpt-status">Analyzing content structure...</div>
215
+ </div>
216
+ <div class="bg-gray-50 p-4 rounded-lg border border-gray-200">
217
+ <div class="flex items-center mb-2">
218
+ <div class="w-3 h-3 rounded-full bg-green-500 mr-2"></div>
219
+ <span class="font-medium">DALL-E 3</span>
220
+ </div>
221
+ <div class="text-sm text-gray-600" id="dalle-status">Generating visual assets...</div>
222
+ </div>
223
+ <div class="bg-gray-50 p-4 rounded-lg border border-gray-200">
224
+ <div class="flex items-center mb-2">
225
+ <div class="w-3 h-3 rounded-full bg-purple-500 mr-2"></div>
226
+ <span class="font-medium">Claude 3</span>
227
+ </div>
228
+ <div class="text-sm text-gray-600" id="claude-status">Optimizing UX flow...</div>
229
+ </div>
230
+ <div class="bg-gray-50 p-4 rounded-lg border border-gray-200">
231
+ <div class="flex items-center mb-2">
232
+ <div class="w-3 h-3 rounded-full bg-red-500 mr-2"></div>
233
+ <span class="font-medium">Gemini 2</span>
234
+ </div>
235
+ <div class="text-sm text-gray-600" id="gemini-status">Enhancing interactivity...</div>
236
+ </div>
237
+ </div>
238
+ </div>
239
+ </div>
240
+ </div>
241
+
242
+ <script>
243
+ document.addEventListener('DOMContentLoaded', function() {
244
+ // Add new step
245
+ document.getElementById('add-step').addEventListener('click', function() {
246
+ const stepsContainer = document.getElementById('description-steps');
247
+ const stepCount = stepsContainer.children.length + 1;
248
+
249
+ const newStep = document.createElement('div');
250
+ newStep.className = 'flex items-start';
251
+ newStep.innerHTML = `
252
+ <span class="bg-purple-600 text-white rounded-full w-6 h-6 flex items-center justify-center mt-1 mr-2 text-sm">${stepCount}</span>
253
+ <textarea class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-purple-500" placeholder="Then I want..." rows="2"></textarea>
254
+ `;
255
+
256
+ stepsContainer.appendChild(newStep);
257
+ });
258
+
259
+ // Generate website
260
+ document.getElementById('generate-btn').addEventListener('click', function() {
261
+ const generateBtn = this;
262
+ const aiProcessing = document.getElementById('ai-processing');
263
+
264
+ // Show AI processing
265
+ aiProcessing.classList.remove('hidden');
266
+ generateBtn.disabled = true;
267
+ generateBtn.innerHTML = '<i class="fas fa-cog fa-spin mr-2"></i> GENERATING...';
268
+
269
+ // Simulate AI processing
270
+ const statuses = [
271
+ "Analyzing your requirements...",
272
+ "Designing layout structure...",
273
+ "Generating color scheme...",
274
+ "Creating responsive components...",
275
+ "Optimizing for performance...",
276
+ "Finalizing design elements..."
277
+ ];
278
+
279
+ let currentStatus = 0;
280
+ const statusInterval = setInterval(() => {
281
+ document.getElementById('gpt-status').textContent = statuses[currentStatus % statuses.length];
282
+ document.getElementById('dalle-status').textContent = statuses[(currentStatus + 1) % statuses.length];
283
+ document.getElementById('claude-status').textContent = statuses[(currentStatus + 2) % statuses.length];
284
+ document.getElementById('gemini-status').textContent = statuses[(currentStatus + 3) % statuses.length];
285
+ currentStatus++;
286
+ }, 1500);
287
+
288
+ // After delay, show the result
289
+ setTimeout(() => {
290
+ clearInterval(statusInterval);
291
+
292
+ // Generate sample website based on inputs
293
+ const sampleHTML = `
294
+ <!DOCTYPE html>
295
+ <html lang="en">
296
+ <head>
297
+ <meta charset="UTF-8">
298
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
299
+ <title>Generated Website</title>
300
+ <script src="https://cdn.tailwindcss.com"><\/script>
301
+ <style>
302
+ .hero-gradient {
303
+ background: linear-gradient(135deg, #6e8efb, #a777e3);
304
+ }
305
+ .feature-card:hover {
306
+ transform: translateY(-5px);
307
+ box-shadow: 0 10px 20px rgba(0,0,0,0.1);
308
+ }
309
+ @keyframes fadeIn {
310
+ from { opacity: 0; transform: translateY(20px); }
311
+ to { opacity: 1; transform: translateY(0); }
312
+ }
313
+ .animate-fade-in {
314
+ animation: fadeIn 0.6s ease-out forwards;
315
+ }
316
+ </style>
317
+ </head>
318
+ <body class="font-sans">
319
+ <!-- Hero Section -->
320
+ <section class="hero-gradient text-white py-20">
321
+ <div class="container mx-auto px-6 text-center">
322
+ <h1 class="text-5xl font-bold mb-6 animate-fade-in" style="animation-delay: 0.2s;">Welcome to Your New Website</h1>
323
+ <p class="text-xl mb-8 max-w-2xl mx-auto animate-fade-in" style="animation-delay: 0.4s;">Created with the most powerful AI website generator in the world</p>
324
+ <div class="animate-fade-in" style="animation-delay: 0.6s;">
325
+ <button class="bg-white text-purple-700 font-bold py-3 px-8 rounded-full mr-4 hover:bg-gray-100 transition">
326
+ Get Started
327
+ </button>
328
+ <button class="border-2 border-white text-white font-bold py-3 px-8 rounded-full hover:bg-white hover:text-purple-700 transition">
329
+ Learn More
330
+ </button>
331
+ </div>
332
+ </div>
333
+ </section>
334
+
335
+ <!-- Features Section -->
336
+ <section class="py-20 bg-gray-50">
337
+ <div class="container mx-auto px-6">
338
+ <h2 class="text-3xl font-bold text-center mb-16">Amazing Features</h2>
339
+
340
+ <div class="grid md:grid-cols-3 gap-8">
341
+ <div class="feature-card bg-white p-8 rounded-xl shadow-md transition duration-300">
342
+ <div class="text-purple-600 text-4xl mb-4">
343
+ <i class="fas fa-bolt"></i>
344
+ </div>
345
+ <h3 class="text-xl font-bold mb-3">Lightning Fast</h3>
346
+ <p class="text-gray-600">Optimized for performance with instant loading times and smooth animations.</p>
347
+ </div>
348
+
349
+ <div class="feature-card bg-white p-8 rounded-xl shadow-md transition duration-300">
350
+ <div class="text-purple-600 text-4xl mb-4">
351
+ <i class="fas fa-mobile-alt"></i>
352
+ </div>
353
+ <h3 class="text-xl font-bold mb-3">Fully Responsive</h3>
354
+ <p class="text-gray-600">Looks perfect on all devices from mobile phones to large desktop screens.</p>
355
+ </div>
356
+
357
+ <div class="feature-card bg-white p-8 rounded-xl shadow-md transition duration-300">
358
+ <div class="text-purple-600 text-4xl mb-4">
359
+ <i class="fas fa-robot"></i>
360
+ </div>
361
+ <h3 class="text-xl font-bold mb-3">AI Powered</h3>
362
+ <p class="text-gray-600">Combines multiple AI models to create the perfect website for your needs.</p>
363
+ </div>
364
+ </div>
365
+ </div>
366
+ </section>
367
+
368
+ <!-- CTA Section -->
369
+ <section class="py-20 bg-gray-800 text-white">
370
+ <div class="container mx-auto px-6 text-center">
371
+ <h2 class="text-3xl font-bold mb-6">Ready to Transform Your Online Presence?</h2>
372
+ <p class="text-xl mb-8 max-w-2xl mx-auto">Our AI-powered generator creates websites that outperform competitors and captivate visitors.</p>
373
+ <button class="bg-purple-600 hover:bg-purple-700 text-white font-bold py-4 px-10 rounded-full transition">
374
+ Generate Your Website Now
375
+ </button>
376
+ </div>
377
+ </section>
378
+
379
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/js/all.min.js"><\/script>
380
+ <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/ultimate-ai-generator" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
381
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ je veux le plus immense de générator de site web pro , par description en direct étape par étape je veux que le site est plus puissant 100000 fois que deep site , bolt.new.lovable ai toutes les imemense IA regrouper en une seul