iiCHARii commited on
Commit
4d063eb
·
verified ·
1 Parent(s): f7fc01c

Add 2 files

Browse files
Files changed (2) hide show
  1. index.html +217 -240
  2. prompts.txt +3 -0
index.html CHANGED
@@ -3,262 +3,239 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>PC Performance Monitor</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
- @keyframes pulse {
11
- 0%, 100% { opacity: 1; }
12
- 50% { opacity: 0.5; }
13
  }
14
- .gauge-track {
 
15
  transform: rotate(-90deg);
16
  transform-origin: 50% 50%;
17
  }
18
- .draggable {
19
- -webkit-app-region: drag;
20
  }
21
- .no-drag {
22
- -webkit-app-region: no-drag;
23
- }
24
- .glass-effect {
25
- backdrop-filter: blur(10px);
26
- background: rgba(255, 255, 255, 0.1);
27
- box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
28
- border: 1px solid rgba(255, 255, 255, 0.2);
29
  }
30
  </style>
31
  </head>
32
- <body class="bg-transparent font-sans text-white overflow-hidden">
33
- <div class="container mx-auto p-4 w-80 glass-effect rounded-xl draggable">
34
  <!-- Header -->
35
- <div class="flex justify-between items-center mb-4">
36
- <h1 class="text-xl font-bold flex items-center">
37
- <i class="fas fa-desktop mr-2"></i> System Monitor
38
- </h1>
39
- <div class="flex space-x-2 no-drag">
40
- <button id="minimize" class="hover:text-gray-300">
41
- <i class="fas fa-window-minimize"></i>
42
- </button>
43
- <button id="close" class="hover:text-red-400">
44
- <i class="fas fa-times"></i>
45
- </button>
46
- </div>
47
- </div>
48
-
49
- <!-- CPU Section -->
50
- <div class="bg-gray-800 bg-opacity-50 rounded-lg p-4 mb-4">
51
- <div class="flex justify-between items-center mb-2">
52
- <h2 class="font-semibold flex items-center">
53
- <i class="fas fa-microchip mr-2 text-blue-400"></i> CPU
54
- </h2>
55
- <span id="cpu-usage" class="text-xl font-bold">0%</span>
56
- </div>
57
-
58
- <div class="flex items-center mb-2">
59
- <div class="w-3/4">
60
- <div class="h-2 bg-gray-700 rounded-full overflow-hidden">
61
- <div id="cpu-bar" class="h-full bg-gradient-to-r from-blue-400 to-purple-500 rounded-full" style="width: 0%"></div>
62
  </div>
63
- </div>
64
- <div class="w-1/4 text-right text-sm">
65
- <span id="cpu-temp">0°C</span>
66
- </div>
67
- </div>
68
-
69
- <div class="grid grid-cols-3 gap-2 text-xs">
70
- <div>
71
- <div class="text-gray-400">Cores</div>
72
- <div id="cpu-cores">0</div>
73
- </div>
74
- <div>
75
- <div class="text-gray-400">Speed</div>
76
- <div id="cpu-speed">0 GHz</div>
77
- </div>
78
- <div>
79
- <div class="text-gray-400">Load</div>
80
- <div id="cpu-load">0%</div>
81
- </div>
82
- </div>
83
- </div>
84
-
85
- <!-- GPU Section -->
86
- <div class="bg-gray-800 bg-opacity-50 rounded-lg p-4 mb-4">
87
- <div class="flex justify-between items-center mb-2">
88
- <h2 class="font-semibold flex items-center">
89
- <i class="fas fa-gamepad mr-2 text-green-400"></i> GPU
90
- </h2>
91
- <span id="gpu-usage" class="text-xl font-bold">0%</span>
92
- </div>
93
-
94
- <div class="flex items-center mb-2">
95
- <div class="w-3/4">
96
- <div class="h-2 bg-gray-700 rounded-full overflow-hidden">
97
- <div id="gpu-bar" class="h-full bg-gradient-to-r from-green-400 to-teal-500 rounded-full" style="width: 0%"></div>
98
  </div>
99
  </div>
100
- <div class="w-1/4 text-right text-sm">
101
- <span id="gpu-temp">0°C</span>
102
- </div>
103
- </div>
104
-
105
- <div class="grid grid-cols-3 gap-2 text-xs">
106
- <div>
107
- <div class="text-gray-400">VRAM</div>
108
- <div id="gpu-vram">0 GB</div>
109
- </div>
110
- <div>
111
- <div class="text-gray-400">Clock</div>
112
- <div id="gpu-clock">0 MHz</div>
113
- </div>
114
- <div>
115
- <div class="text-gray-400">Fan</div>
116
- <div id="gpu-fan">0%</div>
117
- </div>
118
  </div>
119
- </div>
120
 
121
- <!-- System Info -->
122
- <div class="bg-gray-800 bg-opacity-50 rounded-lg p-3 text-xs">
123
- <div class="flex justify-between">
124
- <div>
125
- <div class="text-gray-400">RAM</div>
126
- <div id="ram-usage">0 GB / 0 GB</div>
127
- </div>
128
- <div>
129
- <div class="text-gray-400">Uptime</div>
130
- <div id="uptime">0:00:00</div>
131
- </div>
132
- <div>
133
- <div class="text-gray-400">Time</div>
134
- <div id="current-time">00:00:00</div>
135
- </div>
136
- </div>
137
- </div>
138
-
139
- <!-- Settings Button -->
140
- <div class="mt-3 text-right no-drag">
141
- <button id="settings-btn" class="text-gray-400 hover:text-white">
142
- <i class="fas fa-cog"></i>
143
- </button>
144
- </div>
145
- </div>
146
-
147
- <!-- Settings Panel (Hidden by default) -->
148
- <div id="settings-panel" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center hidden">
149
- <div class="bg-gray-800 rounded-lg p-6 w-96 glass-effect">
150
- <div class="flex justify-between items-center mb-4">
151
- <h2 class="text-xl font-bold">Settings</h2>
152
- <button id="close-settings" class="text-gray-400 hover:text-white">
153
- <i class="fas fa-times"></i>
154
- </button>
155
- </div>
156
-
157
- <div class="space-y-4">
158
- <div>
159
- <label class="block text-sm font-medium mb-1">Theme</label>
160
- <select class="w-full bg-gray-700 rounded p-2 text-sm">
161
- <option>Dark</option>
162
- <option>Light</option>
163
- <option>System</option>
164
- </select>
165
- </div>
166
-
167
- <div>
168
- <label class="block text-sm font-medium mb-1">Update Interval</label>
169
- <select class="w-full bg-gray-700 rounded p-2 text-sm">
170
- <option>1 second</option>
171
- <option>2 seconds</option>
172
- <option>5 seconds</option>
173
- </select>
174
- </div>
175
-
176
- <div class="flex items-center">
177
- <input type="checkbox" id="always-on-top" class="mr-2">
178
- <label for="always-on-top" class="text-sm">Always on top</label>
179
- </div>
180
-
181
- <div class="flex items-center">
182
- <input type="checkbox" id="start-minimized" class="mr-2">
183
- <label for="start-minimized" class="text-sm">Start minimized</label>
184
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
185
 
186
- <div class="pt-4 border-t border-gray-700">
187
- <button class="w-full bg-blue-600 hover:bg-blue-700 rounded p-2 font-medium">
188
- Save Settings
189
- </button>
190
- </div>
191
- </div>
192
- </div>
193
- </div>
194
-
195
- <script>
196
- // Simulate data updates
197
- function updateStats() {
198
- // CPU Data
199
- const cpuUsage = Math.min(100, Math.floor(Math.random() * 100));
200
- document.getElementById('cpu-usage').textContent = `${cpuUsage}%`;
201
- document.getElementById('cpu-bar').style.width = `${cpuUsage}%`;
202
- document.getElementById('cpu-temp').textContent = `${30 + Math.floor(Math.random() * 50)}°C`;
203
- document.getElementById('cpu-cores').textContent = navigator.hardwareConcurrency || '4';
204
- document.getElementById('cpu-speed').textContent = `${(1 + Math.random() * 3).toFixed(2)} GHz`;
205
- document.getElementById('cpu-load').textContent = `${cpuUsage}%`;
206
-
207
- // GPU Data
208
- const gpuUsage = Math.min(100, Math.floor(Math.random() * 100));
209
- document.getElementById('gpu-usage').textContent = `${gpuUsage}%`;
210
- document.getElementById('gpu-bar').style.width = `${gpuUsage}%`;
211
- document.getElementById('gpu-temp').textContent = `${40 + Math.floor(Math.random() * 40)}°C`;
212
- document.getElementById('gpu-vram').textContent = `${Math.floor(2 + Math.random() * 6)} GB`;
213
- document.getElementById('gpu-clock').textContent = `${1000 + Math.floor(Math.random() * 1500)} MHz`;
214
- document.getElementById('gpu-fan').textContent = `${Math.floor(Math.random() * 100)}%`;
215
-
216
- // System Data
217
- const totalRam = 16; // GB
218
- const usedRam = Math.floor(Math.random() * totalRam * 0.8);
219
- document.getElementById('ram-usage').textContent = `${usedRam} GB / ${totalRam} GB`;
220
-
221
- // Update time
222
- const now = new Date();
223
- document.getElementById('current-time').textContent = now.toLocaleTimeString();
224
-
225
- // Update every second
226
- setTimeout(updateStats, 1000);
227
- }
228
-
229
- // Initial call to start updates
230
- updateStats();
231
-
232
- // Settings panel toggle
233
- document.getElementById('settings-btn').addEventListener('click', () => {
234
- document.getElementById('settings-panel').classList.remove('hidden');
235
- });
236
-
237
- document.getElementById('close-settings').addEventListener('click', () => {
238
- document.getElementById('settings-panel').classList.add('hidden');
239
- });
240
-
241
- // Window controls
242
- document.getElementById('minimize').addEventListener('click', () => {
243
- // In a real Electron app, this would minimize the window
244
- console.log('Minimize clicked');
245
- });
246
-
247
- document.getElementById('close').addEventListener('click', () => {
248
- // In a real Electron app, this would close the window
249
- console.log('Close clicked');
250
- });
251
-
252
- // Calculate uptime (simulated)
253
- let uptimeSeconds = 0;
254
- setInterval(() => {
255
- uptimeSeconds++;
256
- const hours = Math.floor(uptimeSeconds / 3600);
257
- const minutes = Math.floor((uptimeSeconds % 3600) / 60);
258
- const seconds = uptimeSeconds % 60;
259
- document.getElementById('uptime').textContent =
260
- `${hours}:${minutes.toString().padStart(2, '0')}:${seconds.toString().padStart(2, '0')}`;
261
- }, 1000);
262
- </script>
263
- <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=iiCHARii/cpu-gpu-widget-overlay" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
264
  </html>
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>FitTrack Pro - Gym Tracker</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
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
10
  <style>
11
+ .exercise-card:hover {
12
+ transform: translateY(-5px);
13
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
14
  }
15
+ .progress-ring__circle {
16
+ transition: stroke-dashoffset 0.5s;
17
  transform: rotate(-90deg);
18
  transform-origin: 50% 50%;
19
  }
20
+ .fade-in {
21
+ animation: fadeIn 0.5s ease-in-out;
22
  }
23
+ @keyframes fadeIn {
24
+ from { opacity: 0; transform: translateY(10px); }
25
+ to { opacity: 1; transform: translateY(0); }
 
 
 
 
 
26
  }
27
  </style>
28
  </head>
29
+ <body class="bg-gray-100 font-sans">
30
+ <div class="min-h-screen">
31
  <!-- Header -->
32
+ <header class="bg-indigo-700 text-white shadow-lg">
33
+ <div class="container mx-auto px-4 py-6">
34
+ <div class="flex justify-between items-center">
35
+ <div class="flex items-center space-x-2">
36
+ <i class="fas fa-dumbbell text-2xl"></i>
37
+ <h1 class="text-2xl font-bold">FitTrack Pro</h1>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  </div>
39
+ <div class="flex items-center space-x-4">
40
+ <button id="theme-toggle" class="p-2 rounded-full hover:bg-indigo-600">
41
+ <i class="fas fa-moon"></i>
42
+ </button>
43
+ <div class="relative">
44
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Profile" class="w-10 h-10 rounded-full cursor-pointer border-2 border-white">
45
+ <div class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></div>
46
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  </div>
48
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  </div>
50
+ </header>
51
 
52
+ <!-- Main Content -->
53
+ <main class="container mx-auto px-4 py-8">
54
+ <div class="grid grid-cols-1 lg:grid-cols-4 gap-6">
55
+ <!-- Sidebar -->
56
+ <aside class="lg:col-span-1 space-y-6">
57
+ <!-- User Stats -->
58
+ <div class="bg-white rounded-xl shadow-md p-6">
59
+ <div class="flex flex-col items-center">
60
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Profile" class="w-20 h-20 rounded-full mb-4 border-4 border-indigo-200">
61
+ <h3 class="font-bold text-lg">John Doe</h3>
62
+ <p class="text-gray-500 text-sm">Member since June 2023</p>
63
+
64
+ <div class="w-full mt-6 space-y-4">
65
+ <div>
66
+ <div class="flex justify-between mb-1">
67
+ <span class="text-sm font-medium">Workout Streak</span>
68
+ <span class="text-sm font-medium">5 days</span>
69
+ </div>
70
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
71
+ <div class="bg-indigo-600 h-2.5 rounded-full" style="width: 70%"></div>
72
+ </div>
73
+ </div>
74
+
75
+ <div>
76
+ <div class="flex justify-between mb-1">
77
+ <span class="text-sm font-medium">Monthly Goal</span>
78
+ <span class="text-sm font-medium">12/20 workouts</span>
79
+ </div>
80
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
81
+ <div class="bg-green-500 h-2.5 rounded-full" style="width: 60%"></div>
82
+ </div>
83
+ </div>
84
+ </div>
85
+ </div>
86
+ </div>
87
+
88
+ <!-- Quick Actions -->
89
+ <div class="bg-white rounded-xl shadow-md p-6">
90
+ <h3 class="font-bold text-lg mb-4">Quick Actions</h3>
91
+ <div class="space-y-3">
92
+ <button id="new-workout-btn" class="w-full flex items-center justify-between p-3 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">
93
+ <span>New Workout</span>
94
+ <i class="fas fa-plus"></i>
95
+ </button>
96
+ <button class="w-full flex items-center justify-between p-3 bg-gray-100 rounded-lg hover:bg-gray-200 transition">
97
+ <span>Track Progress</span>
98
+ <i class="fas fa-chart-line"></i>
99
+ </button>
100
+ <button class="w-full flex items-center justify-between p-3 bg-gray-100 rounded-lg hover:bg-gray-200 transition">
101
+ <span>Exercise Library</span>
102
+ <i class="fas fa-book"></i>
103
+ </button>
104
+ </div>
105
+ </div>
106
+
107
+ <!-- Recent Workouts -->
108
+ <div class="bg-white rounded-xl shadow-md p-6">
109
+ <h3 class="font-bold text-lg mb-4">Recent Workouts</h3>
110
+ <div class="space-y-3">
111
+ <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
112
+ <div>
113
+ <p class="font-medium">Full Body Workout</p>
114
+ <p class="text-sm text-gray-500">Yesterday, 45 min</p>
115
+ </div>
116
+ <i class="fas fa-chevron-right text-gray-400"></i>
117
+ </div>
118
+ <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
119
+ <div>
120
+ <p class="font-medium">Chest & Triceps</p>
121
+ <p class="text-sm text-gray-500">2 days ago, 55 min</p>
122
+ </div>
123
+ <i class="fas fa-chevron-right text-gray-400"></i>
124
+ </div>
125
+ <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
126
+ <div>
127
+ <p class="font-medium">Leg Day</p>
128
+ <p class="text-sm text-gray-500">4 days ago, 60 min</p>
129
+ </div>
130
+ <i class="fas fa-chevron-right text-gray-400"></i>
131
+ </div>
132
+ </div>
133
+ </div>
134
+ </aside>
135
 
136
+ <!-- Main Dashboard -->
137
+ <div class="lg:col-span-3 space-y-6">
138
+ <!-- Stats Overview -->
139
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
140
+ <div class="bg-white rounded-xl shadow-md p-6 flex items-center">
141
+ <div class="p-3 bg-indigo-100 rounded-full mr-4">
142
+ <i class="fas fa-fire text-indigo-600 text-xl"></i>
143
+ </div>
144
+ <div>
145
+ <p class="text-gray-500">Workouts This Week</p>
146
+ <h3 class="text-2xl font-bold">4</h3>
147
+ </div>
148
+ </div>
149
+ <div class="bg-white rounded-xl shadow-md p-6 flex items-center">
150
+ <div class="p-3 bg-green-100 rounded-full mr-4">
151
+ <i class="fas fa-weight-hanging text-green-600 text-xl"></i>
152
+ </div>
153
+ <div>
154
+ <p class="text-gray-500">Total Weight Lifted</p>
155
+ <h3 class="text-2xl font-bold">12,450 lbs</h3>
156
+ </div>
157
+ </div>
158
+ <div class="bg-white rounded-xl shadow-md p-6 flex items-center">
159
+ <div class="p-3 bg-purple-100 rounded-full mr-4">
160
+ <i class="fas fa-bolt text-purple-600 text-xl"></i>
161
+ </div>
162
+ <div>
163
+ <p class="text-gray-500">Personal Records</p>
164
+ <h3 class="text-2xl font-bold">3</h3>
165
+ </div>
166
+ </div>
167
+ </div>
168
+
169
+ <!-- Workout History Chart -->
170
+ <div class="bg-white rounded-xl shadow-md p-6">
171
+ <div class="flex justify-between items-center mb-6">
172
+ <h3 class="font-bold text-lg">Workout History</h3>
173
+ <select class="bg-gray-100 border-0 rounded-lg px-3 py-2 text-sm">
174
+ <option>Last 7 Days</option>
175
+ <option>Last 30 Days</option>
176
+ <option>Last 3 Months</option>
177
+ </select>
178
+ </div>
179
+ <canvas id="workoutChart" height="250"></canvas>
180
+ </div>
181
+
182
+ <!-- Today's Workout -->
183
+ <div class="bg-white rounded-xl shadow-md p-6">
184
+ <div class="flex justify-between items-center mb-6">
185
+ <h3 class="font-bold text-lg">Today's Workout: Chest & Back</h3>
186
+ <div class="flex space-x-2">
187
+ <button class="p-2 bg-gray-100 rounded-lg hover:bg-gray-200">
188
+ <i class="fas fa-edit text-gray-600"></i>
189
+ </button>
190
+ <button class="p-2 bg-gray-100 rounded-lg hover:bg-gray-200">
191
+ <i class="fas fa-trash text-gray-600"></i>
192
+ </button>
193
+ </div>
194
+ </div>
195
+
196
+ <div class="space-y-4">
197
+ <!-- Exercise 1 -->
198
+ <div class="exercise-card bg-gray-50 rounded-xl p-4 border-l-4 border-indigo-500 transition duration-300">
199
+ <div class="flex justify-between items-start">
200
+ <div>
201
+ <h4 class="font-bold">Bench Press</h4>
202
+ <p class="text-sm text-gray-500">3 sets of 8-12 reps</p>
203
+ </div>
204
+ <button class="text-indigo-600 hover:text-indigo-800">
205
+ <i class="fas fa-ellipsis-v"></i>
206
+ </button>
207
+ </div>
208
+
209
+ <div class="mt-3 grid grid-cols-3 gap-2">
210
+ <div class="bg-white p-2 rounded text-center">
211
+ <p class="text-xs text-gray-500">Set 1</p>
212
+ <p class="font-medium">135 lbs × 10</p>
213
+ </div>
214
+ <div class="bg-white p-2 rounded text-center">
215
+ <p class="text-xs text-gray-500">Set 2</p>
216
+ <p class="font-medium">155 lbs × 8</p>
217
+ </div>
218
+ <div class="bg-white p-2 rounded text-center">
219
+ <p class="text-xs text-gray-500">Set 3</p>
220
+ <p class="font-medium">165 lbs × 6</p>
221
+ </div>
222
+ </div>
223
+ </div>
224
+
225
+ <!-- Exercise 2 -->
226
+ <div class="exercise-card bg-gray-50 rounded-xl p-4 border-l-4 border-green-500 transition duration-300">
227
+ <div class="flex justify-between items-start">
228
+ <div>
229
+ <h4 class="font-bold">Incline Dumbbell Press</h4>
230
+ <p class="text-sm text-gray-500">3 sets of 10-12 reps</p>
231
+ </div>
232
+ <button class="text-indigo-600 hover:text-indigo-800">
233
+ <i class="fas fa-ellipsis-v"></i>
234
+ </button>
235
+ </div>
236
+
237
+ <div class="mt-3 grid grid-cols-3 gap-2">
238
+ <div class="bg-white p-2 rounded text-center">
239
+ <p class="text-xs text-gray-500">Set 1</p>
240
+ <p class="font-medium">50 lbs × 12
241
  </html>
prompts.txt CHANGED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ make a way of importing a image of someone and merging them onto a gif also add a box so that you can add text over the top of the gif but make the text moveable
2
+ needs to be able to remove background only leaving faces in the uploaded picture
3
+ make a gym tracker