tjksecurity commited on
Commit
9c5e453
·
verified ·
1 Parent(s): a0dfa1a

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +703 -18
  3. prompts.txt +0 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Webscraper
3
- emoji: 🔥
4
- colorFrom: indigo
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: webscraper
3
+ emoji: 🐳
4
+ colorFrom: purple
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,704 @@
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>WebScrape Pro - Scraping Tool</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
+ .sidebar {
11
+ transition: all 0.3s ease;
12
+ }
13
+ .tab-content {
14
+ display: none;
15
+ }
16
+ .tab-content.active {
17
+ display: block;
18
+ }
19
+ .progress-bar {
20
+ transition: width 0.3s ease;
21
+ }
22
+ #resultsTable {
23
+ font-size: 0.85rem;
24
+ }
25
+ #resultsTable th {
26
+ position: sticky;
27
+ top: 0;
28
+ background-color: #f8fafc;
29
+ }
30
+ .custom-scrollbar::-webkit-scrollbar {
31
+ width: 6px;
32
+ height: 6px;
33
+ }
34
+ .custom-scrollbar::-webkit-scrollbar-track {
35
+ background: #f1f1f1;
36
+ }
37
+ .custom-scrollbar::-webkit-scrollbar-thumb {
38
+ background: #888;
39
+ border-radius: 3px;
40
+ }
41
+ .custom-scrollbar::-webkit-scrollbar-thumb:hover {
42
+ background: #555;
43
+ }
44
+ </style>
45
+ </head>
46
+ <body class="bg-gray-50 text-gray-800 font-sans">
47
+ <div class="flex h-screen overflow-hidden">
48
+ <!-- Sidebar -->
49
+ <div class="sidebar w-64 bg-gray-800 text-gray-100 flex flex-col">
50
+ <div class="p-4 border-b border-gray-700">
51
+ <h1 class="text-xl font-bold flex items-center">
52
+ <i class="fas fa-spider mr-2"></i>
53
+ WebScrape Pro
54
+ </h1>
55
+ <p class="text-xs text-gray-400 mt-1">v1.0.0</p>
56
+ </div>
57
+
58
+ <div class="flex-1 overflow-y-auto custom-scrollbar">
59
+ <div class="p-4">
60
+ <div class="mb-6">
61
+ <h3 class="text-sm font-semibold text-gray-400 uppercase tracking-wider mb-2">Scraping Tools</h3>
62
+ <ul>
63
+ <li class="mb-1">
64
+ <a href="#" class="flex items-center px-3 py-2 rounded text-gray-200 hover:bg-gray-700 tab-link active" data-tab="harvester">
65
+ <i class="fas fa-search mr-2"></i> URL Harvester
66
+ </a>
67
+ </li>
68
+ <li class="mb-1">
69
+ <a href="#" class="flex items-center px-3 py-2 rounded text-gray-200 hover:bg-gray-700 tab-link" data-tab="checker">
70
+ <i class="fas fa-check-circle mr-2"></i> Link Checker
71
+ </a>
72
+ </li>
73
+ <li class="mb-1">
74
+ <a href="#" class="flex items-center px-3 py-2 rounded text-gray-200 hover:bg-gray-700 tab-link" data-tab="scraper">
75
+ <i class="fas fa-download mr-2"></i> Content Scraper
76
+ </a>
77
+ </li>
78
+ <li class="mb-1">
79
+ <a href="#" class="flex items-center px-3 py-2 rounded text-gray-200 hover:bg-gray-700 tab-link" data-tab="analyzer">
80
+ <i class="fas fa-chart-bar mr-2"></i> SEO Analyzer
81
+ </a>
82
+ </li>
83
+ </ul>
84
+ </div>
85
+
86
+ <div class="mb-6">
87
+ <h3 class="text-sm font-semibold text-gray-400 uppercase tracking-wider mb-2">Utilities</h3>
88
+ <ul>
89
+ <li class="mb-1">
90
+ <a href="#" class="flex items-center px-3 py-2 rounded text-gray-200 hover:bg-gray-700 tab-link" data-tab="proxy">
91
+ <i class="fas fa-globe mr-2"></i> Proxy Manager
92
+ </a>
93
+ </li>
94
+ <li class="mb-1">
95
+ <a href="#" class="flex items-center px-3 py-2 rounded text-gray-200 hover:bg-gray-700 tab-link" data-tab="tools">
96
+ <i class="fas fa-tools mr-2"></i> SEO Tools
97
+ </a>
98
+ </li>
99
+ </ul>
100
+ </div>
101
+ </div>
102
+ </div>
103
+
104
+ <div class="p-4 border-t border-gray-700">
105
+ <div class="text-xs text-gray-400 mb-2">System Status</div>
106
+ <div class="flex items-center mb-1">
107
+ <div class="w-2 h-2 rounded-full bg-green-500 mr-2"></div>
108
+ <span class="text-xs">Proxy: Active (12/50)</span>
109
+ </div>
110
+ <div class="flex items-center">
111
+ <div class="w-2 h-2 rounded-full bg-green-500 mr-2"></div>
112
+ <span class="text-xs">Threads: 10</span>
113
+ </div>
114
+ </div>
115
+ </div>
116
+
117
+ <!-- Main Content -->
118
+ <div class="flex-1 flex flex-col overflow-hidden">
119
+ <!-- Top Bar -->
120
+ <div class="bg-white border-b border-gray-200 p-4 flex items-center justify-between">
121
+ <div class="flex items-center">
122
+ <button id="sidebarToggle" class="mr-4 text-gray-600 hover:text-gray-900">
123
+ <i class="fas fa-bars"></i>
124
+ </button>
125
+ <h2 class="text-lg font-semibold">URL Harvester</h2>
126
+ </div>
127
+ <div class="flex items-center space-x-4">
128
+ <button class="px-3 py-1 bg-blue-600 text-white rounded hover:bg-blue-700 text-sm flex items-center">
129
+ <i class="fas fa-play mr-1"></i> Start
130
+ </button>
131
+ <button class="px-3 py-1 bg-gray-200 text-gray-700 rounded hover:bg-gray-300 text-sm flex items-center">
132
+ <i class="fas fa-stop mr-1"></i> Stop
133
+ </button>
134
+ <div class="relative">
135
+ <button class="px-3 py-1 bg-gray-200 text-gray-700 rounded hover:bg-gray-300 text-sm flex items-center">
136
+ <i class="fas fa-cog mr-1"></i> Settings
137
+ </button>
138
+ </div>
139
+ </div>
140
+ </div>
141
+
142
+ <!-- Tab Content -->
143
+ <div class="flex-1 overflow-auto p-6 bg-gray-100">
144
+ <!-- URL Harvester Tab -->
145
+ <div id="harvester" class="tab-content active">
146
+ <div class="bg-white rounded-lg shadow p-6 mb-6">
147
+ <h3 class="text-lg font-semibold mb-4">Search Parameters</h3>
148
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
149
+ <div>
150
+ <label class="block text-sm font-medium text-gray-700 mb-1">Keywords</label>
151
+ <textarea class="w-full border border-gray-300 rounded p-2 h-32" placeholder="Enter keywords, one per line"></textarea>
152
+ </div>
153
+ <div>
154
+ <label class="block text-sm font-medium text-gray-700 mb-1">Search Engines</label>
155
+ <div class="space-y-2">
156
+ <label class="flex items-center">
157
+ <input type="checkbox" class="form-checkbox" checked>
158
+ <span class="ml-2">Google</span>
159
+ </label>
160
+ <label class="flex items-center">
161
+ <input type="checkbox" class="form-checkbox">
162
+ <span class="ml-2">Bing</span>
163
+ </label>
164
+ <label class="flex items-center">
165
+ <input type="checkbox" class="form-checkbox">
166
+ <span class="ml-2">Yahoo</span>
167
+ </label>
168
+ <label class="flex items-center">
169
+ <input type="checkbox" class="form-checkbox">
170
+ <span class="ml-2">Yandex</span>
171
+ </label>
172
+ </div>
173
+
174
+ <div class="mt-4">
175
+ <label class="block text-sm font-medium text-gray-700 mb-1">Results per Keyword</label>
176
+ <input type="number" value="100" class="w-20 border border-gray-300 rounded p-2">
177
+ </div>
178
+ </div>
179
+ </div>
180
+
181
+ <div class="mt-6 grid grid-cols-1 md:grid-cols-3 gap-4">
182
+ <div>
183
+ <label class="block text-sm font-medium text-gray-700 mb-1">Country</label>
184
+ <select class="w-full border border-gray-300 rounded p-2">
185
+ <option>All Countries</option>
186
+ <option>United States</option>
187
+ <option>United Kingdom</option>
188
+ <option>Canada</option>
189
+ <option>Australia</option>
190
+ </select>
191
+ </div>
192
+ <div>
193
+ <label class="block text-sm font-medium text-gray-700 mb-1">Language</label>
194
+ <select class="w-full border border-gray-300 rounded p-2">
195
+ <option>English</option>
196
+ <option>Spanish</option>
197
+ <option>French</option>
198
+ <option>German</option>
199
+ </select>
200
+ </div>
201
+ <div>
202
+ <label class="block text-sm font-medium text-gray-700 mb-1">Threads</label>
203
+ <input type="range" min="1" max="20" value="10" class="w-full">
204
+ <div class="text-center text-sm">10 threads</div>
205
+ </div>
206
+ </div>
207
+ </div>
208
+
209
+ <div class="bg-white rounded-lg shadow p-6">
210
+ <div class="flex justify-between items-center mb-4">
211
+ <h3 class="text-lg font-semibold">Results</h3>
212
+ <div class="flex space-x-2">
213
+ <button class="px-3 py-1 bg-gray-200 text-gray-700 rounded hover:bg-gray-300 text-sm flex items-center">
214
+ <i class="fas fa-filter mr-1"></i> Filter
215
+ </button>
216
+ <button class="px-3 py-1 bg-gray-200 text-gray-700 rounded hover:bg-gray-300 text-sm flex items-center">
217
+ <i class="fas fa-save mr-1"></i> Export
218
+ </button>
219
+ </div>
220
+ </div>
221
+
222
+ <div class="mb-4">
223
+ <div class="flex justify-between text-sm text-gray-600 mb-1">
224
+ <span>Progress: 23%</span>
225
+ <span>Found: 1,245 URLs</span>
226
+ </div>
227
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
228
+ <div class="progress-bar bg-blue-600 h-2.5 rounded-full" style="width: 23%"></div>
229
+ </div>
230
+ </div>
231
+
232
+ <div class="overflow-x-auto custom-scrollbar" style="max-height: 400px;">
233
+ <table id="resultsTable" class="min-w-full divide-y divide-gray-200">
234
+ <thead>
235
+ <tr>
236
+ <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">URL</th>
237
+ <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Title</th>
238
+ <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">PR</th>
239
+ <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Backlinks</th>
240
+ <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Source</th>
241
+ </tr>
242
+ </thead>
243
+ <tbody class="bg-white divide-y divide-gray-200">
244
+ <!-- Sample data rows -->
245
+ <tr>
246
+ <td class="px-4 py-2 whitespace-nowrap text-sm text-blue-600">https://example.com</td>
247
+ <td class="px-4 py-2 whitespace-nowrap text-sm">Example Domain</td>
248
+ <td class="px-4 py-2 whitespace-nowrap text-sm text-center">3</td>
249
+ <td class="px-4 py-2 whitespace-nowrap text-sm text-center">1,245</td>
250
+ <td class="px-4 py-2 whitespace-nowrap text-sm">Google</td>
251
+ </tr>
252
+ <tr>
253
+ <td class="px-4 py-2 whitespace-nowrap text-sm text-blue-600">https://test.org</td>
254
+ <td class="px-4 py-2 whitespace-nowrap text-sm">Test Organization</td>
255
+ <td class="px-4 py-2 whitespace-nowrap text-sm text-center">2</td>
256
+ <td class="px-4 py-2 whitespace-nowrap text-sm text-center">876</td>
257
+ <td class="px-4 py-2 whitespace-nowrap text-sm">Bing</td>
258
+ </tr>
259
+ <!-- More rows would be added dynamically -->
260
+ </tbody>
261
+ </table>
262
+ </div>
263
+ </div>
264
+ </div>
265
+
266
+ <!-- Link Checker Tab -->
267
+ <div id="checker" class="tab-content">
268
+ <div class="bg-white rounded-lg shadow p-6">
269
+ <h3 class="text-lg font-semibold mb-4">Link Checker</h3>
270
+ <div class="mb-6">
271
+ <label class="block text-sm font-medium text-gray-700 mb-1">URLs to Check</label>
272
+ <textarea class="w-full border border-gray-300 rounded p-2 h-32" placeholder="Enter URLs to check, one per line"></textarea>
273
+ </div>
274
+
275
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6">
276
+ <div>
277
+ <label class="block text-sm font-medium text-gray-700 mb-1">Check Type</label>
278
+ <select class="w-full border border-gray-300 rounded p-2">
279
+ <option>HTTP Status</option>
280
+ <option>PageRank</option>
281
+ <option>Alexa Rank</option>
282
+ <option>All Metrics</option>
283
+ </select>
284
+ </div>
285
+ <div>
286
+ <label class="block text-sm font-medium text-gray-700 mb-1">Timeout (ms)</label>
287
+ <input type="number" value="5000" class="w-full border border-gray-300 rounded p-2">
288
+ </div>
289
+ <div>
290
+ <label class="block text-sm font-medium text-gray-700 mb-1">Threads</label>
291
+ <input type="range" min="1" max="20" value="5" class="w-full">
292
+ <div class="text-center text-sm">5 threads</div>
293
+ </div>
294
+ </div>
295
+
296
+ <div class="flex space-x-4">
297
+ <button class="px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700 flex items-center">
298
+ <i class="fas fa-play mr-2"></i> Start Checking
299
+ </button>
300
+ <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded hover:bg-gray-300 flex items-center">
301
+ <i class="fas fa-stop mr-2"></i> Stop
302
+ </button>
303
+ </div>
304
+ </div>
305
+ </div>
306
+
307
+ <!-- Content Scraper Tab -->
308
+ <div id="scraper" class="tab-content">
309
+ <div class="bg-white rounded-lg shadow p-6">
310
+ <h3 class="text-lg font-semibold mb-4">Content Scraper</h3>
311
+ <div class="mb-6">
312
+ <label class="block text-sm font-medium text-gray-700 mb-1">URLs to Scrape</label>
313
+ <textarea class="w-full border border-gray-300 rounded p-2 h-32" placeholder="Enter URLs to scrape, one per line"></textarea>
314
+ </div>
315
+
316
+ <div class="mb-6">
317
+ <label class="block text-sm font-medium text-gray-700 mb-2">Data to Extract</label>
318
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
319
+ <label class="flex items-center">
320
+ <input type="checkbox" class="form-checkbox" checked>
321
+ <span class="ml-2">Page Title</span>
322
+ </label>
323
+ <label class="flex items-center">
324
+ <input type="checkbox" class="form-checkbox" checked>
325
+ <span class="ml-2">Meta Description</span>
326
+ </label>
327
+ <label class="flex items-center">
328
+ <input type="checkbox" class="form-checkbox">
329
+ <span class="ml-2">H1 Tags</span>
330
+ </label>
331
+ <label class="flex items-center">
332
+ <input type="checkbox" class="form-checkbox">
333
+ <span class="ml-2">All Headers</span>
334
+ </label>
335
+ <label class="flex items-center">
336
+ <input type="checkbox" class="form-checkbox">
337
+ <span class="ml-2">Body Text</span>
338
+ </label>
339
+ <label class="flex items-center">
340
+ <input type="checkbox" class="form-checkbox">
341
+ <span class="ml-2">Images</span>
342
+ </label>
343
+ </div>
344
+ </div>
345
+
346
+ <div class="flex space-x-4">
347
+ <button class="px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700 flex items-center">
348
+ <i class="fas fa-play mr-2"></i> Start Scraping
349
+ </button>
350
+ <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded hover:bg-gray-300 flex items-center">
351
+ <i class="fas fa-stop mr-2"></i> Stop
352
+ </button>
353
+ </div>
354
+ </div>
355
+ </div>
356
+
357
+ <!-- Proxy Manager Tab -->
358
+ <div id="proxy" class="tab-content">
359
+ <div class="bg-white rounded-lg shadow p-6">
360
+ <h3 class="text-lg font-semibold mb-4">Proxy Manager</h3>
361
+
362
+ <div class="mb-6">
363
+ <label class="block text-sm font-medium text-gray-700 mb-1">Proxy List</label>
364
+ <textarea class="w-full border border-gray-300 rounded p-2 h-32" placeholder="Enter proxies in format IP:PORT:USERNAME:PASSWORD (one per line)"></textarea>
365
+ </div>
366
+
367
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
368
+ <div>
369
+ <label class="block text-sm font-medium text-gray-700 mb-1">Proxy Type</label>
370
+ <select class="w-full border border-gray-300 rounded p-2">
371
+ <option>HTTP</option>
372
+ <option>HTTPS</option>
373
+ <option>SOCKS4</option>
374
+ <option>SOCKS5</option>
375
+ </select>
376
+ </div>
377
+ <div>
378
+ <label class="block text-sm font-medium text-gray-700 mb-1">Test URL</label>
379
+ <input type="text" value="https://google.com" class="w-full border border-gray-300 rounded p-2">
380
+ </div>
381
+ </div>
382
+
383
+ <div class="flex space-x-4">
384
+ <button class="px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700 flex items-center">
385
+ <i class="fas fa-check mr-2"></i> Test Proxies
386
+ </button>
387
+ <button class="px-4 py-2 bg-green-600 text-white rounded hover:bg-green-700 flex items-center">
388
+ <i class="fas fa-plus mr-2"></i> Import
389
+ </button>
390
+ <button class="px-4 py-2 bg-red-600 text-white rounded hover:bg-red-700 flex items-center">
391
+ <i class="fas fa-trash mr-2"></i> Clear
392
+ </button>
393
+ </div>
394
+
395
+ <div class="mt-6">
396
+ <h4 class="text-md font-medium mb-2">Active Proxies</h4>
397
+ <div class="overflow-x-auto">
398
+ <table class="min-w-full divide-y divide-gray-200">
399
+ <thead>
400
+ <tr>
401
+ <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Proxy</th>
402
+ <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
403
+ <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Speed</th>
404
+ <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Last Used</th>
405
+ </tr>
406
+ </thead>
407
+ <tbody>
408
+ <tr>
409
+ <td class="px-4 py-2 whitespace-nowrap text-sm">192.168.1.1:8080</td>
410
+ <td class="px-4 py-2 whitespace-nowrap text-sm"><span class="px-2 py-1 bg-green-100 text-green-800 rounded-full text-xs">Working</span></td>
411
+ <td class="px-4 py-2 whitespace-nowrap text-sm">1.2s</td>
412
+ <td class="px-4 py-2 whitespace-nowrap text-sm">2 min ago</td>
413
+ </tr>
414
+ <tr>
415
+ <td class="px-4 py-2 whitespace-nowrap text-sm">10.0.0.1:3128</td>
416
+ <td class="px-4 py-2 whitespace-nowrap text-sm"><span class="px-2 py-1 bg-red-100 text-red-800 rounded-full text-xs">Failed</span></td>
417
+ <td class="px-4 py-2 whitespace-nowrap text-sm">Timeout</td>
418
+ <td class="px-4 py-2 whitespace-nowrap text-sm">5 min ago</td>
419
+ </tr>
420
+ </tbody>
421
+ </table>
422
+ </div>
423
+ </div>
424
+ </div>
425
+ </div>
426
+
427
+ <!-- SEO Tools Tab -->
428
+ <div id="tools" class="tab-content">
429
+ <div class="bg-white rounded-lg shadow p-6">
430
+ <h3 class="text-lg font-semibold mb-4">SEO Tools</h3>
431
+
432
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
433
+ <div class="border border-gray-200 rounded-lg p-4 hover:shadow-md transition-shadow">
434
+ <div class="flex items-center mb-3">
435
+ <div class="bg-blue-100 p-3 rounded-full mr-3">
436
+ <i class="fas fa-link text-blue-600"></i>
437
+ </div>
438
+ <h4 class="font-medium">Backlink Checker</h4>
439
+ </div>
440
+ <p class="text-sm text-gray-600 mb-3">Check backlinks for any URL and analyze referring domains.</p>
441
+ <button class="text-sm text-blue-600 hover:text-blue-800">Open Tool</button>
442
+ </div>
443
+
444
+ <div class="border border-gray-200 rounded-lg p-4 hover:shadow-md transition-shadow">
445
+ <div class="flex items-center mb-3">
446
+ <div class="bg-green-100 p-3 rounded-full mr-3">
447
+ <i class="fas fa-key text-green-600"></i>
448
+ </div>
449
+ <h4 class="font-medium">Keyword Research</h4>
450
+ </div>
451
+ <p class="text-sm text-gray-600 mb-3">Find related keywords and analyze search volume trends.</p>
452
+ <button class="text-sm text-blue-600 hover:text-blue-800">Open Tool</button>
453
+ </div>
454
+
455
+ <div class="border border-gray-200 rounded-lg p-4 hover:shadow-md transition-shadow">
456
+ <div class="flex items-center mb-3">
457
+ <div class="bg-purple-100 p-3 rounded-full mr-3">
458
+ <i class="fas fa-chart-line text-purple-600"></i>
459
+ </div>
460
+ <h4 class="font-medium">Rank Tracker</h4>
461
+ </div>
462
+ <p class="text-sm text-gray-600 mb-3">Track your keyword rankings across search engines.</p>
463
+ <button class="text-sm text-blue-600 hover:text-blue-800">Open Tool</button>
464
+ </div>
465
+
466
+ <div class="border border-gray-200 rounded-lg p-4 hover:shadow-md transition-shadow">
467
+ <div class="flex items-center mb-3">
468
+ <div class="bg-yellow-100 p-3 rounded-full mr-3">
469
+ <i class="fas fa-file-alt text-yellow-600"></i>
470
+ </div>
471
+ <h4 class="font-medium">Content Analyzer</h4>
472
+ </div>
473
+ <p class="text-sm text-gray-600 mb-3">Analyze content for SEO factors and readability.</p>
474
+ <button class="text-sm text-blue-600 hover:text-blue-800">Open Tool</button>
475
+ </div>
476
+
477
+ <div class="border border-gray-200 rounded-lg p-4 hover:shadow-md transition-shadow">
478
+ <div class="flex items-center mb-3">
479
+ <div class="bg-red-100 p-3 rounded-full mr-3">
480
+ <i class="fas fa-bug text-red-600"></i>
481
+ </div>
482
+ <h4 class="font-medium">Site Audit</h4>
483
+ </div>
484
+ <p class="text-sm text-gray-600 mb-3">Crawl your website and identify SEO issues.</p>
485
+ <button class="text-sm text-blue-600 hover:text-blue-800">Open Tool</button>
486
+ </div>
487
+
488
+ <div class="border border-gray-200 rounded-lg p-4 hover:shadow-md transition-shadow">
489
+ <div class="flex items-center mb-3">
490
+ <div class="bg-indigo-100 p-3 rounded-full mr-3">
491
+ <i class="fas fa-sitemap text-indigo-600"></i>
492
+ </div>
493
+ <h4 class="font-medium">Sitemap Generator</h4>
494
+ </div>
495
+ <p class="text-sm text-gray-600 mb-3">Generate XML sitemaps for your website.</p>
496
+ <button class="text-sm text-blue-600 hover:text-blue-800">Open Tool</button>
497
+ </div>
498
+ </div>
499
+ </div>
500
+ </div>
501
+
502
+ <!-- SEO Analyzer Tab -->
503
+ <div id="analyzer" class="tab-content">
504
+ <div class="bg-white rounded-lg shadow p-6">
505
+ <h3 class="text-lg font-semibold mb-4">SEO Analyzer</h3>
506
+
507
+ <div class="mb-6">
508
+ <label class="block text-sm font-medium text-gray-700 mb-1">URL to Analyze</label>
509
+ <div class="flex">
510
+ <input type="text" placeholder="https://example.com" class="flex-1 border border-gray-300 rounded-l p-2">
511
+ <button class="px-4 py-2 bg-blue-600 text-white rounded-r hover:bg-blue-700">
512
+ Analyze
513
+ </button>
514
+ </div>
515
+ </div>
516
+
517
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
518
+ <div class="border border-gray-200 rounded-lg p-4">
519
+ <h4 class="font-medium mb-3 text-center">On-Page SEO</h4>
520
+ <div class="space-y-3">
521
+ <div class="flex justify-between items-center">
522
+ <span class="text-sm">Title Tag</span>
523
+ <span class="px-2 py-1 bg-green-100 text-green-800 rounded-full text-xs">Good</span>
524
+ </div>
525
+ <div class="flex justify-between items-center">
526
+ <span class="text-sm">Meta Description</span>
527
+ <span class="px-2 py-1 bg-yellow-100 text-yellow-800 rounded-full text-xs">Fair</span>
528
+ </div>
529
+ <div class="flex justify-between items-center">
530
+ <span class="text-sm">Header Tags</span>
531
+ <span class="px-2 py-1 bg-green-100 text-green-800 rounded-full text-xs">Good</span>
532
+ </div>
533
+ <div class="flex justify-between items-center">
534
+ <span class="text-sm">Image Alt Text</span>
535
+ <span class="px-2 py-1 bg-red-100 text-red-800 rounded-full text-xs">Poor</span>
536
+ </div>
537
+ </div>
538
+ </div>
539
+
540
+ <div class="border border-gray-200 rounded-lg p-4">
541
+ <h4 class="font-medium mb-3 text-center">Performance</h4>
542
+ <div class="space-y-3">
543
+ <div class="flex justify-between items-center">
544
+ <span class="text-sm">Page Speed</span>
545
+ <span class="px-2 py-1 bg-yellow-100 text-yellow-800 rounded-full text-xs">2.8s</span>
546
+ </div>
547
+ <div class="flex justify-between items-center">
548
+ <span class="text-sm">Mobile Friendly</span>
549
+ <span class="px-2 py-1 bg-green-100 text-green-800 rounded-full text-xs">Yes</span>
550
+ </div>
551
+ <div class="flex justify-between items-center">
552
+ <span class="text-sm">SSL Certificate</span>
553
+ <span class="px-2 py-1 bg-green-100 text-green-800 rounded-full text-xs">Valid</span>
554
+ </div>
555
+ </div>
556
+ </div>
557
+
558
+ <div class="border border-gray-200 rounded-lg p-4">
559
+ <h4 class="font-medium mb-3 text-center">Content</h4>
560
+ <div class="space-y-3">
561
+ <div class="flex justify-between items-center">
562
+ <span class="text-sm">Word Count</span>
563
+ <span class="text-sm font-medium">1,245</span>
564
+ </div>
565
+ <div class="flex justify-between items-center">
566
+ <span class="text-sm">Readability</span>
567
+ <span class="px-2 py-1 bg-green-100 text-green-800 rounded-full text-xs">Easy</span>
568
+ </div>
569
+ <div class="flex justify-between items-center">
570
+ <span class="text-sm">Keyword Density</span>
571
+ <span class="px-2 py-1 bg-yellow-100 text-yellow-800 rounded-full text-xs">2.1%</span>
572
+ </div>
573
+ </div>
574
+ </div>
575
+ </div>
576
+ </div>
577
+ </div>
578
+ </div>
579
+
580
+ <!-- Status Bar -->
581
+ <div class="bg-gray-800 text-gray-200 p-2 text-sm flex justify-between items-center">
582
+ <div>
583
+ <span class="mr-4">Status: <span class="text-green-400">Ready</span></span>
584
+ <span>URLs Processed: <span class="font-medium">1,245</span></span>
585
+ </div>
586
+ <div>
587
+ <span class="mr-4">Memory: <span class="font-medium">1.2GB</span></span>
588
+ <span>Time: <span class="font-medium">00:12:45</span></span>
589
+ </div>
590
+ </div>
591
+ </div>
592
+ </div>
593
+
594
+ <script>
595
+ // Toggle sidebar
596
+ document.getElementById('sidebarToggle').addEventListener('click', function() {
597
+ document.querySelector('.sidebar').classList.toggle('w-64');
598
+ document.querySelector('.sidebar').classList.toggle('w-16');
599
+
600
+ // Hide text when sidebar is collapsed
601
+ const sidebarTexts = document.querySelectorAll('.sidebar span, .sidebar h3, .sidebar h1, .sidebar p');
602
+ sidebarTexts.forEach(el => {
603
+ el.classList.toggle('hidden');
604
+ });
605
+
606
+ // Center icons when sidebar is collapsed
607
+ const sidebarIcons = document.querySelectorAll('.sidebar i');
608
+ sidebarIcons.forEach(icon => {
609
+ icon.classList.toggle('mx-auto');
610
+ icon.classList.toggle('mr-2');
611
+ });
612
+
613
+ // Adjust links padding
614
+ const sidebarLinks = document.querySelectorAll('.sidebar a');
615
+ sidebarLinks.forEach(link => {
616
+ link.classList.toggle('px-3');
617
+ link.classList.toggle('px-4');
618
+ link.classList.toggle('justify-start');
619
+ link.classList.toggle('justify-center');
620
+ });
621
+ });
622
+
623
+ // Tab switching
624
+ const tabLinks = document.querySelectorAll('.tab-link');
625
+ const tabContents = document.querySelectorAll('.tab-content');
626
+
627
+ tabLinks.forEach(link => {
628
+ link.addEventListener('click', function(e) {
629
+ e.preventDefault();
630
+
631
+ // Remove active class from all tabs and contents
632
+ tabLinks.forEach(l => l.classList.remove('active'));
633
+ tabContents.forEach(c => c.classList.remove('active'));
634
+
635
+ // Add active class to clicked tab
636
+ this.classList.add('active');
637
+
638
+ // Show corresponding content
639
+ const tabId = this.getAttribute('data-tab');
640
+ document.getElementById(tabId).classList.add('active');
641
+
642
+ // Update main header text
643
+ const tabText = this.textContent.trim();
644
+ document.querySelector('.flex-1 h2').textContent = tabText;
645
+ });
646
+ });
647
+
648
+ // Simulate progress bar animation
649
+ function simulateProgress() {
650
+ const progressBar = document.querySelector('.progress-bar');
651
+ let width = 23;
652
+
653
+ const interval = setInterval(() => {
654
+ if (width >= 100) {
655
+ clearInterval(interval);
656
+ return;
657
+ }
658
+
659
+ width += Math.random() * 5;
660
+ if (width > 100) width = 100;
661
+ progressBar.style.width = width + '%';
662
+
663
+ // Update progress text
664
+ document.querySelector('.flex.justify-between.text-sm span:first-child').textContent = `Progress: ${Math.floor(width)}%`;
665
+ }, 1000);
666
+ }
667
+
668
+ // Start simulation when Start button is clicked
669
+ document.querySelector('.bg-blue-600').addEventListener('click', simulateProgress);
670
+
671
+ // Stop simulation when Stop button is clicked
672
+ document.querySelector('.bg-gray-200').addEventListener('click', function() {
673
+ // In a real app, this would stop the actual process
674
+ document.querySelector('.flex-1 h2').textContent = 'Process Stopped';
675
+ });
676
+
677
+ // Add sample data to table (simulating scraping results)
678
+ function addSampleData() {
679
+ const table = document.getElementById('resultsTable').getElementsByTagName('tbody')[0];
680
+ const sampleUrls = [
681
+ {url: "https://sample.org", title: "Sample Organization", pr: 4, backlinks: 3421, source: "Google"},
682
+ {url: "https://demo.net", title: "Demo Website", pr: 2, backlinks: 876, source: "Bing"},
683
+ {url: "https://test-site.com", title: "Test Site", pr: 3, backlinks: 1543, source: "Google"},
684
+ {url: "https://web-scraping.io", title: "Web Scraping Resources", pr: 5, backlinks: 8921, source: "Yahoo"},
685
+ {url: "https://data-mining.edu", title: "Data Mining University", pr: 4, backlinks: 4321, source: "Google"}
686
+ ];
687
+
688
+ sampleUrls.forEach(item => {
689
+ const row = table.insertRow();
690
+ row.innerHTML = `
691
+ <td class="px-4 py-2 whitespace-nowrap text-sm text-blue-600">${item.url}</td>
692
+ <td class="px-4 py-2 whitespace-nowrap text-sm">${item.title}</td>
693
+ <td class="px-4 py-2 whitespace-nowrap text-sm text-center">${item.pr}</td>
694
+ <td class="px-4 py-2 whitespace-nowrap text-sm text-center">${item.backlinks.toLocaleString()}</td>
695
+ <td class="px-4 py-2 whitespace-nowrap text-sm">${item.source}</td>
696
+ `;
697
+ });
698
+ }
699
+
700
+ // Call addSampleData after a delay to simulate loading
701
+ setTimeout(addSampleData, 1500);
702
+ </script>
703
+ <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=tjksecurity/webscraper" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
704
  </html>
prompts.txt ADDED
File without changes