Ajtrax commited on
Commit
c15b8b7
·
verified ·
1 Parent(s): b19809e

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +665 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Multitools
3
- emoji: 🏃
4
- colorFrom: blue
5
- colorTo: yellow
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: multitools
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,665 @@
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>MultiTools - All-in-One Online Tools</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
+ .tool-card:hover {
11
+ transform: translateY(-5px);
12
+ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
13
+ }
14
+ .category-btn.active {
15
+ background-color: #3b82f6;
16
+ color: white;
17
+ }
18
+ .file-drop-area {
19
+ border: 2px dashed #cbd5e0;
20
+ transition: all 0.3s;
21
+ }
22
+ .file-drop-area.active {
23
+ border-color: #3b82f6;
24
+ background-color: #f0f7ff;
25
+ }
26
+ .progress-bar {
27
+ transition: width 0.3s ease;
28
+ }
29
+ .tool-section {
30
+ display: none;
31
+ }
32
+ .tool-section.active {
33
+ display: block;
34
+ animation: fadeIn 0.3s ease;
35
+ }
36
+ @keyframes fadeIn {
37
+ from { opacity: 0; }
38
+ to { opacity: 1; }
39
+ }
40
+ </style>
41
+ </head>
42
+ <body class="bg-gray-50 min-h-screen">
43
+ <!-- Header -->
44
+ <header class="bg-white shadow-sm">
45
+ <div class="container mx-auto px-4 py-4 flex justify-between items-center">
46
+ <div class="flex items-center">
47
+ <i class="fas fa-tools text-blue-500 text-2xl mr-2"></i>
48
+ <h1 class="text-xl font-bold text-gray-800">Multi<span class="text-blue-500">Tools</span></h1>
49
+ </div>
50
+ <nav class="hidden md:flex space-x-6">
51
+ <a href="#" class="text-gray-600 hover:text-blue-500">Home</a>
52
+ <a href="#" class="text-gray-600 hover:text-blue-500">Tools</a>
53
+ <a href="#" class="text-gray-600 hover:text-blue-500">About</a>
54
+ <a href="#" class="text-gray-600 hover:text-blue-500">Contact</a>
55
+ </nav>
56
+ <div class="flex items-center space-x-4">
57
+ <button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-md transition">
58
+ Sign In
59
+ </button>
60
+ <button class="md:hidden text-gray-600">
61
+ <i class="fas fa-bars text-xl"></i>
62
+ </button>
63
+ </div>
64
+ </div>
65
+ </header>
66
+
67
+ <!-- Hero Section -->
68
+ <section class="bg-gradient-to-r from-blue-500 to-indigo-600 text-white py-16">
69
+ <div class="container mx-auto px-4 text-center">
70
+ <h2 class="text-4xl font-bold mb-4">All Your Online Tools in One Place</h2>
71
+ <p class="text-xl mb-8 max-w-2xl mx-auto">Convert, edit, compress, and more - completely free and no registration required!</p>
72
+ <div class="relative max-w-xl mx-auto">
73
+ <input type="text" placeholder="Search for tools..." class="w-full py-3 px-4 rounded-full text-gray-800 focus:outline-none focus:ring-2 focus:ring-blue-300">
74
+ <button class="absolute right-2 top-1/2 transform -translate-y-1/2 bg-blue-600 hover:bg-blue-700 text-white p-2 rounded-full">
75
+ <i class="fas fa-search"></i>
76
+ </button>
77
+ </div>
78
+ </div>
79
+ </section>
80
+
81
+ <!-- Categories -->
82
+ <section class="py-8 bg-white">
83
+ <div class="container mx-auto px-4">
84
+ <div class="flex overflow-x-auto space-x-2 pb-2 scrollbar-hide">
85
+ <button class="category-btn active px-4 py-2 rounded-full bg-blue-100 text-blue-600 whitespace-nowrap" data-category="all">
86
+ All Tools
87
+ </button>
88
+ <button class="category-btn px-4 py-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200 whitespace-nowrap" data-category="pdf">
89
+ PDF Tools
90
+ </button>
91
+ <button class="category-btn px-4 py-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200 whitespace-nowrap" data-category="image">
92
+ Image Tools
93
+ </button>
94
+ <button class="category-btn px-4 py-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200 whitespace-nowrap" data-category="video">
95
+ Video Tools
96
+ </button>
97
+ <button class="category-btn px-4 py-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200 whitespace-nowrap" data-category="document">
98
+ Document Tools
99
+ </button>
100
+ <button class="category-btn px-4 py-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200 whitespace-nowrap" data-category="other">
101
+ Other Tools
102
+ </button>
103
+ </div>
104
+ </div>
105
+ </section>
106
+
107
+ <!-- Tools Grid -->
108
+ <section class="py-12 bg-gray-50">
109
+ <div class="container mx-auto px-4">
110
+ <h3 class="text-2xl font-bold mb-8 text-gray-800">Popular Tools</h3>
111
+ <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6">
112
+ <!-- PDF Tools -->
113
+ <div class="tool-card bg-white rounded-lg shadow-md p-6 transition cursor-pointer" data-category="pdf" data-tool="pdf-to-word">
114
+ <div class="flex items-center mb-4">
115
+ <div class="bg-blue-100 p-3 rounded-full mr-4">
116
+ <i class="fas fa-file-pdf text-blue-500 text-xl"></i>
117
+ </div>
118
+ <h4 class="font-semibold text-gray-800">PDF to Word</h4>
119
+ </div>
120
+ <p class="text-gray-600 text-sm">Convert your PDF documents to editable Word files.</p>
121
+ </div>
122
+
123
+ <div class="tool-card bg-white rounded-lg shadow-md p-6 transition cursor-pointer" data-category="pdf" data-tool="compress-pdf">
124
+ <div class="flex items-center mb-4">
125
+ <div class="bg-blue-100 p-3 rounded-full mr-4">
126
+ <i class="fas fa-file-export text-blue-500 text-xl"></i>
127
+ </div>
128
+ <h4 class="font-semibold text-gray-800">Compress PDF</h4>
129
+ </div>
130
+ <p class="text-gray-600 text-sm">Reduce PDF file size while keeping quality.</p>
131
+ </div>
132
+
133
+ <!-- Image Tools -->
134
+ <div class="tool-card bg-white rounded-lg shadow-md p-6 transition cursor-pointer" data-category="image" data-tool="image-compressor">
135
+ <div class="flex items-center mb-4">
136
+ <div class="bg-green-100 p-3 rounded-full mr-4">
137
+ <i class="fas fa-image text-green-500 text-xl"></i>
138
+ </div>
139
+ <h4 class="font-semibold text-gray-800">Image Compressor</h4>
140
+ </div>
141
+ <p class="text-gray-600 text-sm">Compress JPG, PNG, SVG or GIF files.</p>
142
+ </div>
143
+
144
+ <div class="tool-card bg-white rounded-lg shadow-md p-6 transition cursor-pointer" data-category="image" data-tool="image-converter">
145
+ <div class="flex items-center mb-4">
146
+ <div class="bg-green-100 p-3 rounded-full mr-4">
147
+ <i class="fas fa-exchange-alt text-green-500 text-xl"></i>
148
+ </div>
149
+ <h4 class="font-semibold text-gray-800">Image Converter</h4>
150
+ </div>
151
+ <p class="text-gray-600 text-sm">Convert between JPG, PNG, SVG, and more.</p>
152
+ </div>
153
+
154
+ <!-- Video Tools -->
155
+ <div class="tool-card bg-white rounded-lg shadow-md p-6 transition cursor-pointer" data-category="video" data-tool="video-compressor">
156
+ <div class="flex items-center mb-4">
157
+ <div class="bg-purple-100 p-3 rounded-full mr-4">
158
+ <i class="fas fa-video text-purple-500 text-xl"></i>
159
+ </div>
160
+ <h4 class="font-semibold text-gray-800">Video Compressor</h4>
161
+ </div>
162
+ <p class="text-gray-600 text-sm">Reduce video file size without losing quality.</p>
163
+ </div>
164
+
165
+ <div class="tool-card bg-white rounded-lg shadow-md p-6 transition cursor-pointer" data-category="video" data-tool="video-converter">
166
+ <div class="flex items-center mb-4">
167
+ <div class="bg-purple-100 p-3 rounded-full mr-4">
168
+ <i class="fas fa-exchange-alt text-purple-500 text-xl"></i>
169
+ </div>
170
+ <h4 class="font-semibold text-gray-800">Video Converter</h4>
171
+ </div>
172
+ <p class="text-gray-600 text-sm">Convert between MP4, AVI, MOV, and more.</p>
173
+ </div>
174
+
175
+ <!-- Document Tools -->
176
+ <div class="tool-card bg-white rounded-lg shadow-md p-6 transition cursor-pointer" data-category="document" data-tool="word-to-pdf">
177
+ <div class="flex items-center mb-4">
178
+ <div class="bg-red-100 p-3 rounded-full mr-4">
179
+ <i class="fas fa-file-word text-red-500 text-xl"></i>
180
+ </div>
181
+ <h4 class="font-semibold text-gray-800">Word to PDF</h4>
182
+ </div>
183
+ <p class="text-gray-600 text-sm">Convert Word documents to PDF files.</p>
184
+ </div>
185
+
186
+ <div class="tool-card bg-white rounded-lg shadow-md p-6 transition cursor-pointer" data-category="document" data-tool="excel-to-pdf">
187
+ <div class="flex items-center mb-4">
188
+ <div class="bg-red-100 p-3 rounded-full mr-4">
189
+ <i class="fas fa-file-excel text-red-500 text-xl"></i>
190
+ </div>
191
+ <h4 class="font-semibold text-gray-800">Excel to PDF</h4>
192
+ </div>
193
+ <p class="text-gray-600 text-sm">Convert Excel spreadsheets to PDF files.</p>
194
+ </div>
195
+
196
+ <!-- Other Tools -->
197
+ <div class="tool-card bg-white rounded-lg shadow-md p-6 transition cursor-pointer" data-category="other" data-tool="qr-generator">
198
+ <div class="flex items-center mb-4">
199
+ <div class="bg-yellow-100 p-3 rounded-full mr-4">
200
+ <i class="fas fa-qrcode text-yellow-500 text-xl"></i>
201
+ </div>
202
+ <h4 class="font-semibold text-gray-800">QR Generator</h4>
203
+ </div>
204
+ <p class="text-gray-600 text-sm">Create QR codes for URLs, text, and more.</p>
205
+ </div>
206
+
207
+ <div class="tool-card bg-white rounded-lg shadow-md p-6 transition cursor-pointer" data-category="other" data-tool="password-generator">
208
+ <div class="flex items-center mb-4">
209
+ <div class="bg-yellow-100 p-3 rounded-full mr-4">
210
+ <i class="fas fa-key text-yellow-500 text-xl"></i>
211
+ </div>
212
+ <h4 class="font-semibold text-gray-800">Password Generator</h4>
213
+ </div>
214
+ <p class="text-gray-600 text-sm">Generate strong, secure passwords.</p>
215
+ </div>
216
+ </div>
217
+ </div>
218
+ </section>
219
+
220
+ <!-- Tool Sections (Hidden by default) -->
221
+ <div class="container mx-auto px-4 py-12">
222
+ <!-- PDF to Word Tool -->
223
+ <div id="pdf-to-word-tool" class="tool-section bg-white rounded-xl shadow-lg p-6 max-w-4xl mx-auto">
224
+ <div class="flex justify-between items-center mb-6">
225
+ <h3 class="text-2xl font-bold text-gray-800">PDF to Word Converter</h3>
226
+ <button class="close-tool text-gray-500 hover:text-gray-700">
227
+ <i class="fas fa-times text-xl"></i>
228
+ </button>
229
+ </div>
230
+
231
+ <div class="file-drop-area p-8 text-center rounded-lg mb-6" id="pdf-drop-area">
232
+ <i class="fas fa-file-pdf text-4xl text-blue-500 mb-4"></i>
233
+ <h4 class="text-xl font-semibold mb-2">Drag & Drop your PDF here</h4>
234
+ <p class="text-gray-500 mb-4">or</p>
235
+ <label for="pdf-upload" class="bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-md cursor-pointer transition">
236
+ Select PDF File
237
+ </label>
238
+ <input type="file" id="pdf-upload" class="hidden" accept=".pdf">
239
+ </div>
240
+
241
+ <div class="options mb-6">
242
+ <h4 class="font-semibold mb-3">Conversion Options</h4>
243
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
244
+ <div class="flex items-center">
245
+ <input type="checkbox" id="ocr-option" class="mr-2">
246
+ <label for="ocr-option">Use OCR (for scanned PDFs)</label>
247
+ </div>
248
+ <div class="flex items-center">
249
+ <input type="checkbox" id="keep-layout" class="mr-2" checked>
250
+ <label for="keep-layout">Keep original layout</label>
251
+ </div>
252
+ </div>
253
+ </div>
254
+
255
+ <button id="convert-btn" class="w-full bg-blue-500 hover:bg-blue-600 text-white py-3 px-4 rounded-md font-medium transition">
256
+ Convert to Word
257
+ </button>
258
+
259
+ <div id="progress-container" class="mt-6 hidden">
260
+ <div class="flex justify-between mb-1">
261
+ <span class="text-sm font-medium">Conversion Progress</span>
262
+ <span id="progress-percent" class="text-sm font-medium">0%</span>
263
+ </div>
264
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
265
+ <div id="progress-bar" class="progress-bar bg-blue-600 h-2.5 rounded-full" style="width: 0%"></div>
266
+ </div>
267
+ </div>
268
+
269
+ <div id="result-container" class="mt-6 hidden">
270
+ <div class="bg-green-50 border border-green-200 rounded-lg p-4 flex justify-between items-center">
271
+ <div class="flex items-center">
272
+ <i class="fas fa-file-word text-green-500 text-2xl mr-3"></i>
273
+ <div>
274
+ <h4 class="font-medium">converted-file.docx</h4>
275
+ <p class="text-sm text-gray-500">1.2 MB • Ready to download</p>
276
+ </div>
277
+ </div>
278
+ <button class="bg-green-500 hover:bg-green-600 text-white px-4 py-2 rounded-md transition">
279
+ <i class="fas fa-download mr-2"></i> Download
280
+ </button>
281
+ </div>
282
+ </div>
283
+ </div>
284
+
285
+ <!-- Image Compressor Tool -->
286
+ <div id="image-compressor-tool" class="tool-section bg-white rounded-xl shadow-lg p-6 max-w-4xl mx-auto">
287
+ <div class="flex justify-between items-center mb-6">
288
+ <h3 class="text-2xl font-bold text-gray-800">Image Compressor</h3>
289
+ <button class="close-tool text-gray-500 hover:text-gray-700">
290
+ <i class="fas fa-times text-xl"></i>
291
+ </button>
292
+ </div>
293
+
294
+ <div class="file-drop-area p-8 text-center rounded-lg mb-6" id="image-drop-area">
295
+ <i class="fas fa-image text-4xl text-green-500 mb-4"></i>
296
+ <h4 class="text-xl font-semibold mb-2">Drag & Drop your images here</h4>
297
+ <p class="text-gray-500 mb-4">or</p>
298
+ <label for="image-upload" class="bg-green-500 hover:bg-green-600 text-white px-6 py-2 rounded-md cursor-pointer transition">
299
+ Select Image Files
300
+ </label>
301
+ <input type="file" id="image-upload" class="hidden" accept="image/*" multiple>
302
+ </div>
303
+
304
+ <div class="options mb-6">
305
+ <h4 class="font-semibold mb-3">Compression Settings</h4>
306
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
307
+ <div>
308
+ <label class="block mb-1">Quality</label>
309
+ <input type="range" id="quality-slider" min="10" max="100" value="80" class="w-full">
310
+ <div class="flex justify-between text-xs text-gray-500">
311
+ <span>Low</span>
312
+ <span id="quality-value">80%</span>
313
+ <span>High</span>
314
+ </div>
315
+ </div>
316
+ <div>
317
+ <label class="block mb-1">Resize</label>
318
+ <div class="flex">
319
+ <input type="number" id="width-input" placeholder="Width" class="w-1/2 border rounded-l px-2 py-1">
320
+ <input type="number" id="height-input" placeholder="Height" class="w-1/2 border rounded-r px-2 py-1 border-l-0">
321
+ </div>
322
+ </div>
323
+ <div>
324
+ <label class="block mb-1">Format</label>
325
+ <select id="format-select" class="w-full border rounded px-2 py-1">
326
+ <option value="original">Original</option>
327
+ <option value="jpeg">JPEG</option>
328
+ <option value="png">PNG</option>
329
+ <option value="webp">WebP</option>
330
+ </select>
331
+ </div>
332
+ </div>
333
+ </div>
334
+
335
+ <button id="compress-btn" class="w-full bg-green-500 hover:bg-green-600 text-white py-3 px-4 rounded-md font-medium transition">
336
+ Compress Images
337
+ </button>
338
+
339
+ <div id="image-results" class="mt-6 space-y-4 hidden">
340
+ <div class="border rounded-lg p-4">
341
+ <div class="flex flex-col md:flex-row md:items-center">
342
+ <div class="flex-1">
343
+ <div class="flex items-center mb-2">
344
+ <i class="fas fa-image text-gray-500 mr-2"></i>
345
+ <span class="font-medium">example.jpg</span>
346
+ </div>
347
+ <div class="flex justify-between text-sm text-gray-500">
348
+ <span>Original: 1.5 MB</span>
349
+ <span>Compressed: 0.4 MB</span>
350
+ <span>73% smaller</span>
351
+ </div>
352
+ </div>
353
+ <button class="mt-2 md:mt-0 bg-green-500 hover:bg-green-600 text-white px-4 py-2 rounded-md transition">
354
+ <i class="fas fa-download mr-2"></i> Download
355
+ </button>
356
+ </div>
357
+ </div>
358
+ </div>
359
+ </div>
360
+ </div>
361
+
362
+ <!-- Features Section -->
363
+ <section class="py-16 bg-white">
364
+ <div class="container mx-auto px-4">
365
+ <h3 class="text-3xl font-bold text-center mb-12 text-gray-800">Why Choose MultiTools?</h3>
366
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
367
+ <div class="text-center p-6">
368
+ <div class="bg-blue-100 p-4 rounded-full inline-block mb-4">
369
+ <i class="fas fa-bolt text-blue-500 text-3xl"></i>
370
+ </div>
371
+ <h4 class="text-xl font-semibold mb-3">Fast Processing</h4>
372
+ <p class="text-gray-600">Our tools work in your browser for instant results without waiting in queues.</p>
373
+ </div>
374
+ <div class="text-center p-6">
375
+ <div class="bg-green-100 p-4 rounded-full inline-block mb-4">
376
+ <i class="fas fa-lock text-green-500 text-3xl"></i>
377
+ </div>
378
+ <h4 class="text-xl font-semibold mb-3">Secure & Private</h4>
379
+ <p class="text-gray-600">Files stay on your device and are never uploaded to our servers.</p>
380
+ </div>
381
+ <div class="text-center p-6">
382
+ <div class="bg-purple-100 p-4 rounded-full inline-block mb-4">
383
+ <i class="fas fa-dollar-sign text-purple-500 text-3xl"></i>
384
+ </div>
385
+ <h4 class="text-xl font-semibold mb-3">100% Free</h4>
386
+ <p class="text-gray-600">All tools are completely free with no hidden charges or watermarks.</p>
387
+ </div>
388
+ </div>
389
+ </div>
390
+ </section>
391
+
392
+ <!-- Footer -->
393
+ <footer class="bg-gray-800 text-white py-12">
394
+ <div class="container mx-auto px-4">
395
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
396
+ <div>
397
+ <h4 class="text-xl font-bold mb-4 flex items-center">
398
+ <i class="fas fa-tools text-blue-400 mr-2"></i>
399
+ MultiTools
400
+ </h4>
401
+ <p class="text-gray-400">Your all-in-one solution for online file conversion, compression, and editing.</p>
402
+ </div>
403
+ <div>
404
+ <h5 class="font-semibold text-lg mb-4">Tools</h5>
405
+ <ul class="space-y-2">
406
+ <li><a href="#" class="text-gray-400 hover:text-white transition">PDF Tools</a></li>
407
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Image Tools</a></li>
408
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Video Tools</a></li>
409
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Document Tools</a></li>
410
+ </ul>
411
+ </div>
412
+ <div>
413
+ <h5 class="font-semibold text-lg mb-4">Company</h5>
414
+ <ul class="space-y-2">
415
+ <li><a href="#" class="text-gray-400 hover:text-white transition">About Us</a></li>
416
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
417
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Careers</a></li>
418
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li>
419
+ </ul>
420
+ </div>
421
+ <div>
422
+ <h5 class="font-semibold text-lg mb-4">Legal</h5>
423
+ <ul class="space-y-2">
424
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Terms of Service</a></li>
425
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Privacy Policy</a></li>
426
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Cookie Policy</a></li>
427
+ </ul>
428
+ </div>
429
+ </div>
430
+ <div class="border-t border-gray-700 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center">
431
+ <p class="text-gray-400 mb-4 md:mb-0">© 2023 MultiTools. All rights reserved.</p>
432
+ <div class="flex space-x-4">
433
+ <a href="#" class="text-gray-400 hover:text-white transition">
434
+ <i class="fab fa-facebook-f"></i>
435
+ </a>
436
+ <a href="#" class="text-gray-400 hover:text-white transition">
437
+ <i class="fab fa-twitter"></i>
438
+ </a>
439
+ <a href="#" class="text-gray-400 hover:text-white transition">
440
+ <i class="fab fa-instagram"></i>
441
+ </a>
442
+ <a href="#" class="text-gray-400 hover:text-white transition">
443
+ <i class="fab fa-github"></i>
444
+ </a>
445
+ </div>
446
+ </div>
447
+ </div>
448
+ </footer>
449
+
450
+ <script>
451
+ // Category filtering
452
+ const categoryBtns = document.querySelectorAll('.category-btn');
453
+ const toolCards = document.querySelectorAll('.tool-card');
454
+
455
+ categoryBtns.forEach(btn => {
456
+ btn.addEventListener('click', () => {
457
+ // Update active state
458
+ categoryBtns.forEach(b => b.classList.remove('active'));
459
+ btn.classList.add('active');
460
+
461
+ const category = btn.dataset.category;
462
+
463
+ // Filter tools
464
+ toolCards.forEach(card => {
465
+ if (category === 'all' || card.dataset.category === category) {
466
+ card.style.display = 'block';
467
+ } else {
468
+ card.style.display = 'none';
469
+ }
470
+ });
471
+ });
472
+ });
473
+
474
+ // Tool selection
475
+ const toolSections = document.querySelectorAll('.tool-section');
476
+
477
+ toolCards.forEach(card => {
478
+ card.addEventListener('click', () => {
479
+ const toolId = card.dataset.tool;
480
+
481
+ // Hide all tool sections
482
+ toolSections.forEach(section => {
483
+ section.classList.remove('active');
484
+ });
485
+
486
+ // Show selected tool
487
+ document.getElementById(`${toolId}-tool`).classList.add('active');
488
+
489
+ // Scroll to tool
490
+ document.getElementById(`${toolId}-tool`).scrollIntoView({
491
+ behavior: 'smooth'
492
+ });
493
+ });
494
+ });
495
+
496
+ // Close tool
497
+ const closeButtons = document.querySelectorAll('.close-tool');
498
+ closeButtons.forEach(btn => {
499
+ btn.addEventListener('click', () => {
500
+ toolSections.forEach(section => {
501
+ section.classList.remove('active');
502
+ });
503
+ });
504
+ });
505
+
506
+ // File drop areas
507
+ const setupFileDropArea = (dropAreaId, inputId) => {
508
+ const dropArea = document.getElementById(dropAreaId);
509
+ const fileInput = document.getElementById(inputId);
510
+
511
+ ['dragenter', 'dragover', 'dragleave', 'drop'].forEach(eventName => {
512
+ dropArea.addEventListener(eventName, preventDefaults, false);
513
+ });
514
+
515
+ function preventDefaults(e) {
516
+ e.preventDefault();
517
+ e.stopPropagation();
518
+ }
519
+
520
+ ['dragenter', 'dragover'].forEach(eventName => {
521
+ dropArea.addEventListener(eventName, highlight, false);
522
+ });
523
+
524
+ ['dragleave', 'drop'].forEach(eventName => {
525
+ dropArea.addEventListener(eventName, unhighlight, false);
526
+ });
527
+
528
+ function highlight() {
529
+ dropArea.classList.add('active');
530
+ }
531
+
532
+ function unhighlight() {
533
+ dropArea.classList.remove('active');
534
+ }
535
+
536
+ dropArea.addEventListener('drop', handleDrop, false);
537
+ fileInput.addEventListener('change', handleFiles, false);
538
+
539
+ function handleDrop(e) {
540
+ const dt = e.dataTransfer;
541
+ const files = dt.files;
542
+ fileInput.files = files;
543
+ handleFiles();
544
+ }
545
+
546
+ function handleFiles() {
547
+ if (fileInput.files.length) {
548
+ const fileName = fileInput.files[0].name;
549
+ dropArea.querySelector('h4').textContent = fileName;
550
+ }
551
+ }
552
+ };
553
+
554
+ setupFileDropArea('pdf-drop-area', 'pdf-upload');
555
+ setupFileDropArea('image-drop-area', 'image-upload');
556
+
557
+ // PDF to Word conversion simulation
558
+ document.getElementById('convert-btn').addEventListener('click', () => {
559
+ const progressContainer = document.getElementById('progress-container');
560
+ const progressBar = document.getElementById('progress-bar');
561
+ const progressPercent = document.getElementById('progress-percent');
562
+ const resultContainer = document.getElementById('result-container');
563
+
564
+ progressContainer.classList.remove('hidden');
565
+
566
+ let progress = 0;
567
+ const interval = setInterval(() => {
568
+ progress += Math.random() * 10;
569
+ if (progress > 100) progress = 100;
570
+
571
+ progressBar.style.width = `${progress}%`;
572
+ progressPercent.textContent = `${Math.floor(progress)}%`;
573
+
574
+ if (progress === 100) {
575
+ clearInterval(interval);
576
+ setTimeout(() => {
577
+ resultContainer.classList.remove('hidden');
578
+ }, 500);
579
+ }
580
+ }, 200);
581
+ });
582
+
583
+ // Image quality slider
584
+ const qualitySlider = document.getElementById('quality-slider');
585
+ const qualityValue = document.getElementById('quality-value');
586
+
587
+ qualitySlider.addEventListener('input', () => {
588
+ qualityValue.textContent = `${qualitySlider.value}%`;
589
+ });
590
+
591
+ // Image compression simulation
592
+ document.getElementById('compress-btn').addEventListener('click', () => {
593
+ const imageResults = document.getElementById('image-results');
594
+ imageResults.classList.remove('hidden');
595
+
596
+ // Simulate multiple image results
597
+ const resultsContainer = document.getElementById('image-results');
598
+ resultsContainer.innerHTML = '';
599
+
600
+ const files = document.getElementById('image-upload').files;
601
+ if (files.length === 0) {
602
+ // Demo content if no files selected
603
+ const demoFiles = [
604
+ { name: 'example1.jpg', original: '1.5 MB', compressed: '0.4 MB', reduction: '73%' },
605
+ { name: 'vacation.png', original: '3.2 MB', compressed: '1.1 MB', reduction: '66%' },
606
+ { name: 'screenshot.png', original: '0.8 MB', compressed: '0.3 MB', reduction: '63%' }
607
+ ];
608
+
609
+ demoFiles.forEach(file => {
610
+ const fileElement = document.createElement('div');
611
+ fileElement.className = 'border rounded-lg p-4';
612
+ fileElement.innerHTML = `
613
+ <div class="flex flex-col md:flex-row md:items-center">
614
+ <div class="flex-1">
615
+ <div class="flex items-center mb-2">
616
+ <i class="fas fa-image text-gray-500 mr-2"></i>
617
+ <span class="font-medium">${file.name}</span>
618
+ </div>
619
+ <div class="flex justify-between text-sm text-gray-500">
620
+ <span>Original: ${file.original}</span>
621
+ <span>Compressed: ${file.compressed}</span>
622
+ <span>${file.reduction} smaller</span>
623
+ </div>
624
+ </div>
625
+ <button class="mt-2 md:mt-0 bg-green-500 hover:bg-green-600 text-white px-4 py-2 rounded-md transition">
626
+ <i class="fas fa-download mr-2"></i> Download
627
+ </button>
628
+ </div>
629
+ `;
630
+ resultsContainer.appendChild(fileElement);
631
+ });
632
+ } else {
633
+ // Real files processing simulation
634
+ Array.from(files).forEach(file => {
635
+ const originalSize = (file.size / (1024 * 1024)).toFixed(1);
636
+ const compressedSize = (file.size * (Math.random() * 0.5 + 0.3) / (1024 * 1024)).toFixed(1);
637
+ const reduction = Math.floor((1 - compressedSize / originalSize) * 100);
638
+
639
+ const fileElement = document.createElement('div');
640
+ fileElement.className = 'border rounded-lg p-4';
641
+ fileElement.innerHTML = `
642
+ <div class="flex flex-col md:flex-row md:items-center">
643
+ <div class="flex-1">
644
+ <div class="flex items-center mb-2">
645
+ <i class="fas fa-image text-gray-500 mr-2"></i>
646
+ <span class="font-medium">${file.name}</span>
647
+ </div>
648
+ <div class="flex justify-between text-sm text-gray-500">
649
+ <span>Original: ${originalSize} MB</span>
650
+ <span>Compressed: ${compressedSize} MB</span>
651
+ <span>${reduction}% smaller</span>
652
+ </div>
653
+ </div>
654
+ <button class="mt-2 md:mt-0 bg-green-500 hover:bg-green-600 text-white px-4 py-2 rounded-md transition">
655
+ <i class="fas fa-download mr-2"></i> Download
656
+ </button>
657
+ </div>
658
+ `;
659
+ resultsContainer.appendChild(fileElement);
660
+ });
661
+ }
662
+ });
663
+ </script>
664
+ <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=Ajtrax/multitools" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
665
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ we want to create the multi tool website similar to https://tinywow.com/