THEMONEYHOLLIC commited on
Commit
9ef211a
·
verified ·
1 Parent(s): 31e937d

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +441 -19
  3. prompts.txt +3 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Ai Web Search
3
- emoji: 🔥
4
- colorFrom: green
5
- colorTo: red
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: ai-web-search
3
+ emoji: 🐳
4
+ colorFrom: purple
5
+ colorTo: purple
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,441 @@
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>Beiizetu - AI-Powered Search Engine</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
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Inter', sans-serif;
14
+ color: #1a1a1a;
15
+ }
16
+
17
+ .search-box {
18
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
19
+ transition: all 0.2s ease;
20
+ }
21
+
22
+ .search-box:hover {
23
+ box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
24
+ }
25
+
26
+ .result-card {
27
+ transition: all 0.2s ease;
28
+ }
29
+
30
+ .result-card:hover {
31
+ background-color: #f8fafc;
32
+ }
33
+
34
+ .ai-response {
35
+ background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
36
+ border-radius: 0.5rem;
37
+ border-left: 4px solid #6366f1;
38
+ }
39
+
40
+ .nav-link:hover {
41
+ text-decoration: underline;
42
+ }
43
+
44
+ .footer-link:hover {
45
+ text-decoration: underline;
46
+ }
47
+
48
+ .search-tab {
49
+ border-bottom: 3px solid transparent;
50
+ transition: all 0.2s ease;
51
+ }
52
+
53
+ .search-tab.active {
54
+ border-bottom: 3px solid #6366f1;
55
+ color: #6366f1;
56
+ }
57
+
58
+ .search-tab:hover:not(.active) {
59
+ border-bottom: 3px solid #e2e8f0;
60
+ }
61
+
62
+ @keyframes pulse {
63
+ 0%, 100% { opacity: 1; }
64
+ 50% { opacity: 0.5; }
65
+ }
66
+
67
+ .loading-pulse {
68
+ animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
69
+ }
70
+
71
+ .gradient-text {
72
+ background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
73
+ -webkit-background-clip: text;
74
+ background-clip: text;
75
+ color: transparent;
76
+ }
77
+ </style>
78
+ </head>
79
+ <body class="min-h-screen flex flex-col bg-white">
80
+ <!-- Header -->
81
+ <header class="py-3 px-4">
82
+ <div class="container mx-auto flex justify-between items-center">
83
+ <div class="flex items-center space-x-6">
84
+ <a href="#" class="text-lg font-bold gradient-text">Beiizetu</a>
85
+ <nav class="hidden md:flex space-x-6">
86
+ <a href="#" class="text-sm text-gray-700 hover:text-indigo-600 nav-link">Discover</a>
87
+ <a href="#" class="text-sm text-gray-700 hover:text-indigo-600 nav-link">Images</a>
88
+ <a href="#" class="text-sm text-gray-700 hover:text-indigo-600 nav-link">Videos</a>
89
+ <a href="#" class="text-sm text-gray-700 hover:text-indigo-600 nav-link">News</a>
90
+ </nav>
91
+ </div>
92
+ <div class="flex items-center space-x-4">
93
+ <button class="p-2 rounded-full hover:bg-gray-100">
94
+ <i class="fas fa-cog text-gray-600"></i>
95
+ </button>
96
+ <button class="px-4 py-2 bg-gradient-to-r from-indigo-500 to-purple-600 text-white rounded-md hover:opacity-90 transition-opacity">
97
+ Sign in
98
+ </button>
99
+ </div>
100
+ </div>
101
+ </header>
102
+
103
+ <!-- Main Content -->
104
+ <main class="flex-grow flex flex-col items-center pt-12 px-4">
105
+ <!-- Logo -->
106
+ <div class="mb-8 text-center">
107
+ <h1 class="text-6xl font-bold mb-2 gradient-text">Beiizetu</h1>
108
+ <p class="text-gray-500">Intelligent search powered by AI</p>
109
+ </div>
110
+
111
+ <!-- Search Box -->
112
+ <div class="w-full max-w-2xl mb-8">
113
+ <div class="relative search-box rounded-full border border-gray-200 bg-white">
114
+ <div class="absolute left-4 top-1/2 transform -translate-y-1/2 text-gray-500">
115
+ <i class="fas fa-search"></i>
116
+ </div>
117
+ <input type="text" id="search-input"
118
+ class="w-full py-4 px-12 rounded-full focus:outline-none text-lg"
119
+ placeholder="Ask anything... Beiizetu understands natural language">
120
+ <div class="absolute right-3 top-1/2 transform -translate-y-1/2 flex space-x-2">
121
+ <button class="p-2 text-gray-500 hover:bg-gray-100 rounded-full">
122
+ <i class="fas fa-microphone"></i>
123
+ </button>
124
+ <button class="p-2 text-gray-500 hover:bg-gray-100 rounded-full">
125
+ <i class="fas fa-camera"></i>
126
+ </button>
127
+ <button id="search-button" class="p-2 text-indigo-600 hover:bg-indigo-50 rounded-full">
128
+ <i class="fas fa-bolt"></i>
129
+ </button>
130
+ </div>
131
+ </div>
132
+
133
+ <div class="flex justify-center mt-6 space-x-3">
134
+ <button class="px-5 py-2.5 bg-gray-100 text-sm text-gray-800 rounded-full hover:shadow transition-shadow flex items-center">
135
+ <i class="fas fa-brain mr-2 text-indigo-600"></i> AI Search
136
+ </button>
137
+ <button class="px-5 py-2.5 bg-gray-100 text-sm text-gray-800 rounded-full hover:shadow transition-shadow flex items-center">
138
+ <i class="fas fa-chart-line mr-2 text-indigo-600"></i> Trends
139
+ </button>
140
+ <button class="px-5 py-2.5 bg-gray-100 text-sm text-gray-800 rounded-full hover:shadow transition-shadow flex items-center">
141
+ <i class="fas fa-history mr-2 text-indigo-600"></i> History
142
+ </button>
143
+ </div>
144
+ </div>
145
+
146
+ <!-- Search Results -->
147
+ <div id="search-results" class="w-full max-w-3xl hidden">
148
+ <!-- Search Tabs -->
149
+ <div class="flex border-b border-gray-200 mb-4">
150
+ <button class="px-4 py-3 text-sm font-medium search-tab active">
151
+ <i class="fas fa-globe mr-1"></i> Web
152
+ </button>
153
+ <button class="px-4 py-3 text-sm font-medium search-tab">
154
+ <i class="fas fa-image mr-1"></i> Images
155
+ </button>
156
+ <button class="px-4 py-3 text-sm font-medium search-tab">
157
+ <i class="fas fa-newspaper mr-1"></i> News
158
+ </button>
159
+ <button class="px-4 py-3 text-sm font-medium search-tab">
160
+ <i class="fas fa-play-circle mr-1"></i> Videos
161
+ </button>
162
+ <button class="px-4 py-3 text-sm font-medium search-tab">
163
+ <i class="fas fa-shopping-bag mr-1"></i> Shopping
164
+ </button>
165
+ <button class="px-4 py-3 text-sm font-medium search-tab">
166
+ <i class="fas fa-ellipsis-h mr-1"></i> More
167
+ </button>
168
+ </div>
169
+
170
+ <div class="flex justify-between items-center mb-4">
171
+ <div class="text-sm text-gray-600">
172
+ About <span id="result-count">1,240,000,000</span> results (<span id="search-time">0.42</span> seconds)
173
+ </div>
174
+ <div class="text-sm text-indigo-600 flex items-center">
175
+ <i class="fas fa-shield-alt mr-1"></i> Private & Secure
176
+ </div>
177
+ </div>
178
+
179
+ <div id="results-container" class="space-y-6">
180
+ <!-- AI Generated Answer -->
181
+ <div class="result-card p-4 rounded-lg border border-gray-100">
182
+ <div class="flex items-center mb-3">
183
+ <div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-2">
184
+ <i class="fas fa-robot text-indigo-600"></i>
185
+ </div>
186
+ <div class="text-sm font-medium text-gray-700">AI Summary</div>
187
+ </div>
188
+ <div class="ai-response p-4 mb-4">
189
+ <div id="ai-answer" class="text-gray-800">
190
+ <div class="loading-pulse h-4 bg-gray-200 rounded w-3/4 mb-2"></div>
191
+ <div class="loading-pulse h-4 bg-gray-200 rounded w-full mb-2"></div>
192
+ <div class="loading-pulse h-4 bg-gray-200 rounded w-5/6 mb-2"></div>
193
+ <div class="loading-pulse h-4 bg-gray-200 rounded w-2/3"></div>
194
+ </div>
195
+ </div>
196
+ <div class="text-xs text-gray-500 flex items-center">
197
+ <i class="fas fa-info-circle mr-1.5"></i> AI responses may contain inaccuracies. Always verify critical information.
198
+ </div>
199
+ </div>
200
+
201
+ <!-- Regular Results will be inserted here by JavaScript -->
202
+ </div>
203
+
204
+ <!-- People Also Ask -->
205
+ <div class="mt-8 border-t border-gray-200 pt-6">
206
+ <h3 class="text-xl font-medium mb-4 text-gray-800">Related questions</h3>
207
+ <div class="space-y-2">
208
+ <div class="border border-gray-200 rounded-lg p-3 hover:bg-gray-50 cursor-pointer transition-colors">
209
+ <div class="flex justify-between items-center">
210
+ <span class="font-medium text-gray-800">What makes Beiizetu different from other search engines?</span>
211
+ <i class="fas fa-chevron-down text-gray-500"></i>
212
+ </div>
213
+ </div>
214
+ <div class="border border-gray-200 rounded-lg p-3 hover:bg-gray-50 cursor-pointer transition-colors">
215
+ <div class="flex justify-between items-center">
216
+ <span class="font-medium text-gray-800">How does Beiizetu's AI understand complex queries?</span>
217
+ <i class="fas fa-chevron-down text-gray-500"></i>
218
+ </div>
219
+ </div>
220
+ <div class="border border-gray-200 rounded-lg p-3 hover:bg-gray-50 cursor-pointer transition-colors">
221
+ <div class="flex justify-between items-center">
222
+ <span class="font-medium text-gray-800">Is Beiizetu better for research than traditional search?</span>
223
+ <i class="fas fa-chevron-down text-gray-500"></i>
224
+ </div>
225
+ </div>
226
+ </div>
227
+ </div>
228
+
229
+ <!-- Related Searches -->
230
+ <div class="mt-8">
231
+ <h3 class="text-xl font-medium mb-4 text-gray-800">Related searches</h3>
232
+ <div class="grid grid-cols-2 gap-4">
233
+ <div class="flex items-center">
234
+ <i class="fas fa-search text-gray-400 mr-2"></i>
235
+ <a href="#" class="text-indigo-600 hover:underline">beiizetu vs traditional search</a>
236
+ </div>
237
+ <div class="flex items-center">
238
+ <i class="fas fa-search text-gray-400 mr-2"></i>
239
+ <a href="#" class="text-indigo-600 hover:underline">beiizetu advanced search operators</a>
240
+ </div>
241
+ <div class="flex items-center">
242
+ <i class="fas fa-search text-gray-400 mr-2"></i>
243
+ <a href="#" class="text-indigo-600 hover:underline">how to use beiizetu for research</a>
244
+ </div>
245
+ <div class="flex items-center">
246
+ <i class="fas fa-search text-gray-400 mr-2"></i>
247
+ <a href="#" class="text-indigo-600 hover:underline">beiizetu privacy features</a>
248
+ </div>
249
+ </div>
250
+ </div>
251
+
252
+ <!-- Pagination -->
253
+ <div class="flex justify-center mt-8">
254
+ <nav class="flex space-x-1">
255
+ <button class="px-4 py-2 text-indigo-600 font-medium rounded-l-lg hover:bg-indigo-50 transition-colors">
256
+ <i class="fas fa-arrow-left mr-1"></i> Previous
257
+ </button>
258
+ <button class="px-4 py-2 text-white font-medium bg-indigo-600 rounded">1</button>
259
+ <button class="px-4 py-2 text-indigo-600 font-medium hover:bg-indigo-50 transition-colors">2</button>
260
+ <button class="px-4 py-2 text-indigo-600 font-medium hover:bg-indigo-50 transition-colors">3</button>
261
+ <button class="px-4 py-2 text-indigo-600 font-medium hover:bg-indigo-50 transition-colors">4</button>
262
+ <button class="px-4 py-2 text-indigo-600 font-medium hover:bg-indigo-50 transition-colors">5</button>
263
+ <button class="px-4 py-2 text-indigo-600 font-medium rounded-r-lg hover:bg-indigo-50 transition-colors">
264
+ Next <i class="fas fa-arrow-right ml-1"></i>
265
+ </button>
266
+ </nav>
267
+ </div>
268
+ </div>
269
+ </main>
270
+
271
+ <!-- Footer -->
272
+ <footer class="bg-gray-50 border-t border-gray-200 py-4 px-4">
273
+ <div class="container mx-auto">
274
+ <div class="px-4 py-3 text-sm text-gray-600">
275
+ <span class="font-medium">United States</span>
276
+ </div>
277
+ <div class="border-t border-gray-300 pt-4">
278
+ <div class="flex flex-col md:flex-row justify-between">
279
+ <div class="flex flex-wrap gap-x-4 gap-y-2 mb-3 md:mb-0">
280
+ <a href="#" class="text-sm text-gray-600 footer-link">About Beiizetu</a>
281
+ <a href="#" class="text-sm text-gray-600 footer-link">Privacy Policy</a>
282
+ <a href="#" class="text-sm text-gray-600 footer-link">Terms of Service</a>
283
+ <a href="#" class="text-sm text-gray-600 footer-link">How Search Works</a>
284
+ </div>
285
+ <div class="flex flex-wrap gap-x-4 gap-y-2">
286
+ <a href="#" class="text-sm text-gray-600 footer-link">Help Center</a>
287
+ <a href="#" class="text-sm text-gray-600 footer-link">Feedback</a>
288
+ <a href="#" class="text-sm text-gray-600 footer-link">Settings</a>
289
+ </div>
290
+ </div>
291
+ </div>
292
+ </div>
293
+ </footer>
294
+
295
+ <script>
296
+ // Sample search results data
297
+ const sampleResults = [
298
+ {
299
+ title: "Beiizetu - The Future of AI-Powered Search",
300
+ url: "https://www.beiizetu.com",
301
+ description: "Beiizetu is revolutionizing search with advanced natural language understanding and contextual AI that delivers precise answers to complex questions.",
302
+ isSponsored: false
303
+ },
304
+ {
305
+ title: "How Beiizetu's AI Understands Your Intent - Tech Insights",
306
+ url: "https://techinsights.com/beiizetu-ai",
307
+ description: "A technical deep dive into Beiizetu's proprietary neural network architecture that enables it to interpret search intent with unprecedented accuracy.",
308
+ isSponsored: false
309
+ },
310
+ {
311
+ title: "Beiizetu Pro - Enhanced AI Search Experience",
312
+ url: "https://pro.beiizetu.com",
313
+ description: "Upgrade to Beiizetu Pro for advanced AI features, unlimited follow-up questions, and enterprise-grade security. Start your free trial today.",
314
+ isSponsored: true
315
+ },
316
+ {
317
+ title: "Independent Study: Beiizetu Outperforms in Complex Queries",
318
+ url: "https://searchstudies.org/beiizetu-performance",
319
+ description: "Recent research shows Beiizetu provides more accurate results for multi-faceted questions compared to traditional search engines.",
320
+ isSponsored: false
321
+ },
322
+ {
323
+ title: "The Ethics of AI Search: Beiizetu's Transparent Approach",
324
+ url: "https://airethics.org/beiizetu",
325
+ description: "How Beiizetu balances powerful AI capabilities with ethical considerations around bias, transparency, and user privacy.",
326
+ isSponsored: false
327
+ }
328
+ ];
329
+
330
+ // AI generated answers
331
+ const aiAnswers = [
332
+ "Beiizetu is an AI-powered search engine that goes beyond keyword matching to understand the context and intent behind your questions. Using advanced natural language processing and machine learning, Beiizetu can interpret complex queries, synthesize information from multiple sources, and provide direct answers when appropriate. Unlike traditional search engines that primarily return lists of links, Beiizetu aims to deliver comprehensive, contextual responses that save you time and effort.",
333
+ "Beiizetu's AI works by analyzing your query using state-of-the-art language models that understand semantics, context, and user intent. The system searches across billions of documents while evaluating source credibility, freshness, and relevance. For factual queries, Beiizetu cross-references multiple authoritative sources. For subjective questions, it provides balanced perspectives. The AI continuously learns from user interactions to improve its understanding and response quality.",
334
+ "The key advantages of Beiizetu include its ability to handle conversational, multi-part questions that would require multiple searches on traditional engines. Beiizetu remembers context within a search session, allows natural language follow-ups, and can explain its reasoning. The AI also personalizes results based on demonstrated interests (with user consent) while maintaining strict privacy standards that differentiate it from ad-driven platforms."
335
+ ];
336
+
337
+ // Handle search
338
+ document.getElementById('search-button').addEventListener('click', performSearch);
339
+ document.getElementById('search-input').addEventListener('keypress', function(e) {
340
+ if (e.key === 'Enter') {
341
+ performSearch();
342
+ }
343
+ });
344
+
345
+ function performSearch() {
346
+ const query = document.getElementById('search-input').value.trim();
347
+ if (query === '') return;
348
+
349
+ // Show loading state
350
+ document.getElementById('search-results').classList.remove('hidden');
351
+ const resultsContainer = document.getElementById('results-container');
352
+
353
+ // Clear previous results (except the AI answer card which is static)
354
+ const aiCard = resultsContainer.querySelector('.result-card');
355
+ resultsContainer.innerHTML = '';
356
+ resultsContainer.appendChild(aiCard);
357
+
358
+ // Show loading in AI answer
359
+ const aiAnswer = document.getElementById('ai-answer');
360
+ aiAnswer.innerHTML = `
361
+ <div class="loading-pulse h-4 bg-gray-200 rounded w-3/4 mb-2"></div>
362
+ <div class="loading-pulse h-4 bg-gray-200 rounded w-full mb-2"></div>
363
+ <div class="loading-pulse h-4 bg-gray-200 rounded w-5/6 mb-2"></div>
364
+ <div class="loading-pulse h-4 bg-gray-200 rounded w-2/3"></div>
365
+ `;
366
+
367
+ // Simulate search delay
368
+ setTimeout(() => {
369
+ displayResults(query);
370
+ }, 800 + Math.random() * 700);
371
+ }
372
+
373
+ function displayResults(query) {
374
+ const resultsContainer = document.getElementById('results-container');
375
+
376
+ // Update result stats
377
+ const resultCount = Math.floor(Math.random() * 500000000) + 1000000;
378
+ document.getElementById('result-count').textContent = resultCount.toLocaleString();
379
+ document.getElementById('search-time').textContent = (Math.random() * 0.5 + 0.2).toFixed(2);
380
+
381
+ // Display AI answer
382
+ const aiAnswer = document.getElementById('ai-answer');
383
+ const randomAnswer = aiAnswers[Math.floor(Math.random() * aiAnswers.length)];
384
+ aiAnswer.innerHTML = randomAnswer;
385
+
386
+ // Display regular results
387
+ sampleResults.forEach((result, index) => {
388
+ const resultElement = document.createElement('div');
389
+ resultElement.className = 'result-card p-4 rounded-lg border border-gray-100';
390
+
391
+ if (result.isSponsored) {
392
+ resultElement.innerHTML = `
393
+ <div class="flex items-center mb-1">
394
+ <div class="w-4 h-4 rounded-full bg-green-100 flex items-center justify-center mr-2">
395
+ <i class="fas fa-check text-green-500 text-xs"></i>
396
+ </div>
397
+ <div class="text-xs text-gray-500">Sponsored</div>
398
+ </div>
399
+ <h3 class="text-xl font-medium text-indigo-600 mb-1"><a href="#" class="hover:underline">${highlightQuery(result.title, query)}</a></h3>
400
+ <div class="text-green-700 text-sm mb-1 flex items-center">
401
+ <span>${result.url}</span>
402
+ <i class="fas fa-caret-down text-gray-500 ml-2 text-xs"></i>
403
+ </div>
404
+ <p class="text-gray-700">${highlightQuery(result.description, query)}</p>
405
+ `;
406
+ } else {
407
+ resultElement.innerHTML = `
408
+ <h3 class="text-xl font-medium text-indigo-600 mb-1"><a href="#" class="hover:underline">${highlightQuery(result.title, query)}</a></h3>
409
+ <div class="text-green-700 text-sm mb-1 flex items-center">
410
+ <span>${result.url}</span>
411
+ <i class="fas fa-caret-down text-gray-500 ml-2 text-xs"></i>
412
+ </div>
413
+ <p class="text-gray-700">${highlightQuery(result.description, query)}</p>
414
+ `;
415
+ }
416
+
417
+ resultsContainer.appendChild(resultElement);
418
+ });
419
+
420
+ // Scroll to results
421
+ document.getElementById('search-results').scrollIntoView({ behavior: 'smooth' });
422
+ }
423
+
424
+ function highlightQuery(text, query) {
425
+ if (!query) return text;
426
+ const regex = new RegExp(query.split(' ').join('|'), 'gi');
427
+ return text.replace(regex, match => `<span class="font-medium bg-indigo-50 text-indigo-700">${match}</span>`);
428
+ }
429
+
430
+ // Initialize with a sample search if the page loads without a query
431
+ window.addEventListener('load', function() {
432
+ const urlParams = new URLSearchParams(window.location.search);
433
+ const query = urlParams.get('q');
434
+ if (query) {
435
+ document.getElementById('search-input').value = query;
436
+ performSearch();
437
+ }
438
+ });
439
+ </script>
440
+ <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=THEMONEYHOLLIC/ai-web-search" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
441
+ </html>
prompts.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ rebuild ui into a morden on call it ai seach , just memec /clone what google results are including ai generated one, rember nothing should be broken
2
+ ai web seacrh should be a name, without google colours
3
+ change the name to "Beiizetu search" make sure nothing is broken