Spaces:
Running
Running
Think of everything I haven't thought of. - Initial Deployment
Browse files- README.md +7 -5
- index.html +567 -19
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
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-dev
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: gray
|
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,567 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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>AI Dev Hub Dashboard</title>
|
7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
9 |
+
<style>
|
10 |
+
.gradient-bg {
|
11 |
+
background: linear-gradient(135deg, #6e8efb, #a777e3);
|
12 |
+
}
|
13 |
+
.card-hover:hover {
|
14 |
+
transform: translateY(-5px);
|
15 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
16 |
+
}
|
17 |
+
.transition-all {
|
18 |
+
transition: all 0.3s ease;
|
19 |
+
}
|
20 |
+
.sidebar {
|
21 |
+
scrollbar-width: thin;
|
22 |
+
scrollbar-color: #a777e3 transparent;
|
23 |
+
}
|
24 |
+
.sidebar::-webkit-scrollbar {
|
25 |
+
width: 6px;
|
26 |
+
}
|
27 |
+
.sidebar::-webkit-scrollbar-thumb {
|
28 |
+
background-color: #a777e3;
|
29 |
+
border-radius: 3px;
|
30 |
+
}
|
31 |
+
</style>
|
32 |
+
</head>
|
33 |
+
<body class="bg-gray-100 font-sans">
|
34 |
+
<div class="flex h-screen overflow-hidden">
|
35 |
+
<!-- Sidebar -->
|
36 |
+
<div class="sidebar w-64 bg-gray-900 text-white overflow-y-auto transition-all duration-300">
|
37 |
+
<div class="p-4 flex items-center space-x-2 border-b border-gray-700">
|
38 |
+
<div class="gradient-bg p-2 rounded-lg">
|
39 |
+
<i class="fas fa-robot text-white text-xl"></i>
|
40 |
+
</div>
|
41 |
+
<h1 class="text-xl font-bold">AI Dev Hub</h1>
|
42 |
+
</div>
|
43 |
+
|
44 |
+
<nav class="p-4 space-y-2">
|
45 |
+
<div class="group">
|
46 |
+
<div class="flex items-center p-2 rounded-lg group-hover:bg-gray-800 cursor-pointer transition-all">
|
47 |
+
<i class="fas fa-desktop mr-3 text-purple-400"></i>
|
48 |
+
<span>Web Dashboard</span>
|
49 |
+
</div>
|
50 |
+
<div class="ml-8 mt-1 space-y-1 hidden group-hover:block">
|
51 |
+
<div class="p-2 rounded-lg hover:bg-gray-800 cursor-pointer flex items-center">
|
52 |
+
<i class="fas fa-lightbulb mr-2 text-yellow-400 text-xs"></i>
|
53 |
+
<span class="text-sm">Idea Input</span>
|
54 |
+
</div>
|
55 |
+
<div class="p-2 rounded-lg hover:bg-gray-800 cursor-pointer flex items-center">
|
56 |
+
<i class="fas fa-sliders-h mr-2 text-blue-400 text-xs"></i>
|
57 |
+
<span class="text-sm">AI Model Selector</span>
|
58 |
+
</div>
|
59 |
+
<div class="p-2 rounded-lg hover:bg-gray-800 cursor-pointer flex items-center">
|
60 |
+
<i class="fas fa-stream mr-2 text-green-400 text-xs"></i>
|
61 |
+
<span class="text-sm">Real-time Output</span>
|
62 |
+
</div>
|
63 |
+
</div>
|
64 |
+
</div>
|
65 |
+
|
66 |
+
<div class="group">
|
67 |
+
<div class="flex items-center p-2 rounded-lg group-hover:bg-gray-800 cursor-pointer transition-all">
|
68 |
+
<i class="fas fa-server mr-3 text-blue-400"></i>
|
69 |
+
<span>AI Backend</span>
|
70 |
+
</div>
|
71 |
+
<div class="ml-8 mt-1 space-y-1 hidden group-hover:block">
|
72 |
+
<div class="p-2 rounded-lg hover:bg-gray-800 cursor-pointer flex items-center">
|
73 |
+
<i class="fas fa-cube mr-2 text-blue-300 text-xs"></i>
|
74 |
+
<span class="text-sm">Ollama API</span>
|
75 |
+
</div>
|
76 |
+
<div class="p-2 rounded-lg hover:bg-gray-800 cursor-pointer flex items-center">
|
77 |
+
<i class="fas fa-search mr-2 text-indigo-300 text-xs"></i>
|
78 |
+
<span class="text-sm">DeepSeek API</span>
|
79 |
+
</div>
|
80 |
+
<div class="p-2 rounded-lg hover:bg-gray-800 cursor-pointer flex items-center">
|
81 |
+
<i class="fas fa-cog mr-2 text-purple-300 text-xs"></i>
|
82 |
+
<span class="text-sm">Custom Models</span>
|
83 |
+
</div>
|
84 |
+
</div>
|
85 |
+
</div>
|
86 |
+
|
87 |
+
<div class="group">
|
88 |
+
<div class="flex items-center p-2 rounded-lg group-hover:bg-gray-800 cursor-pointer transition-all">
|
89 |
+
<i class="fas fa-code mr-3 text-green-400"></i>
|
90 |
+
<span>Code Executor</span>
|
91 |
+
</div>
|
92 |
+
<div class="ml-8 mt-1 space-y-1 hidden group-hover:block">
|
93 |
+
<div class="p-2 rounded-lg hover:bg-gray-800 cursor-pointer flex items-center">
|
94 |
+
<i class="fas fa-shield-alt mr-2 text-green-300 text-xs"></i>
|
95 |
+
<span class="text-sm">Sandboxed Env</span>
|
96 |
+
</div>
|
97 |
+
<div class="p-2 rounded-lg hover:bg-gray-800 cursor-pointer flex items-center">
|
98 |
+
<i class="fas fa-vial mr-2 text-yellow-300 text-xs"></i>
|
99 |
+
<span class="text-sm">Auto-testing</span>
|
100 |
+
</div>
|
101 |
+
<div class="p-2 rounded-lg hover:bg-gray-800 cursor-pointer flex items-center">
|
102 |
+
<i class="fas fa-code-branch mr-2 text-blue-300 text-xs"></i>
|
103 |
+
<span class="text-sm">Version Control</span>
|
104 |
+
</div>
|
105 |
+
</div>
|
106 |
+
</div>
|
107 |
+
|
108 |
+
<div class="group">
|
109 |
+
<div class="flex items-center p-2 rounded-lg group-hover:bg-gray-800 cursor-pointer transition-all">
|
110 |
+
<i class="fas fa-cloud mr-3 text-indigo-400"></i>
|
111 |
+
<span>Deployment Pipeline</span>
|
112 |
+
</div>
|
113 |
+
<div class="ml-8 mt-1 space-y-1 hidden group-hover:block">
|
114 |
+
<div class="p-2 rounded-lg hover:bg-gray-800 cursor-pointer flex items-center">
|
115 |
+
<i class="fas fa-server mr-2 text-gray-300 text-xs"></i>
|
116 |
+
<span class="text-sm">Proxmox VMs</span>
|
117 |
+
</div>
|
118 |
+
<div class="p-2 rounded-lg hover:bg-gray-800 cursor-pointer flex items-center">
|
119 |
+
<i class="fab fa-docker mr-2 text-blue-300 text-xs"></i>
|
120 |
+
<span class="text-sm">Docker Swarm</span>
|
121 |
+
</div>
|
122 |
+
<div class="p-2 rounded-lg hover:bg-gray-800 cursor-pointer flex items-center">
|
123 |
+
<i class="fas fa-bolt mr-2 text-yellow-300 text-xs"></i>
|
124 |
+
<span class="text-sm">Cloud Functions</span>
|
125 |
+
</div>
|
126 |
+
</div>
|
127 |
+
</div>
|
128 |
+
</nav>
|
129 |
+
|
130 |
+
<div class="p-4 border-t border-gray-700 absolute bottom-0 w-64">
|
131 |
+
<div class="flex items-center space-x-3">
|
132 |
+
<div class="h-10 w-10 rounded-full gradient-bg flex items-center justify-center">
|
133 |
+
<i class="fas fa-user text-white"></i>
|
134 |
+
</div>
|
135 |
+
<div>
|
136 |
+
<p class="font-medium">Admin User</p>
|
137 |
+
<p class="text-xs text-gray-400">[email protected]</p>
|
138 |
+
</div>
|
139 |
+
</div>
|
140 |
+
</div>
|
141 |
+
</div>
|
142 |
+
|
143 |
+
<!-- Main Content -->
|
144 |
+
<div class="flex-1 overflow-auto">
|
145 |
+
<!-- Header -->
|
146 |
+
<header class="bg-white shadow-sm p-4 flex justify-between items-center dark:bg-gray-800">
|
147 |
+
<h2 class="text-xl font-semibold text-gray-800 dark:text-white">Dashboard Overview</h2>
|
148 |
+
<div class="flex items-center space-x-4">
|
149 |
+
<div class="relative">
|
150 |
+
<input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white">
|
151 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400 dark:text-gray-300"></i>
|
152 |
+
</div>
|
153 |
+
<div class="flex space-x-2">
|
154 |
+
<button class="p-2 rounded-lg bg-gray-100 hover:bg-gray-200 dark:bg-gray-700 dark:hover:bg-gray-600">
|
155 |
+
<i class="fas fa-bell text-gray-600 dark:text-gray-300"></i>
|
156 |
+
<span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span>
|
157 |
+
</button>
|
158 |
+
<button id="darkModeToggle" class="p-2 rounded-lg bg-gray-100 hover:bg-gray-200 dark:bg-gray-700 dark:hover:bg-gray-600">
|
159 |
+
<i class="fas fa-moon text-gray-600 dark:text-gray-300"></i>
|
160 |
+
</button>
|
161 |
+
</div>
|
162 |
+
<button class="gradient-bg text-white px-4 py-2 rounded-lg hover:opacity-90 transition-all">
|
163 |
+
<i class="fas fa-plus mr-2"></i> New Project
|
164 |
+
</button>
|
165 |
+
</div>
|
166 |
+
</header>
|
167 |
+
|
168 |
+
<!-- Quick Actions -->
|
169 |
+
<div class="bg-gray-50 dark:bg-gray-700 px-6 py-3 flex space-x-4 overflow-x-auto">
|
170 |
+
<button class="flex-shrink-0 px-3 py-1 bg-white dark:bg-gray-600 rounded-lg text-sm shadow-sm flex items-center space-x-2">
|
171 |
+
<i class="fas fa-bolt text-yellow-500"></i>
|
172 |
+
<span>Quick Start</span>
|
173 |
+
</button>
|
174 |
+
<button class="flex-shrink-0 px-3 py-1 bg-white dark:bg-gray-600 rounded-lg text-sm shadow-sm flex items-center space-x-2">
|
175 |
+
<i class="fas fa-book text-blue-500"></i>
|
176 |
+
<span>Documentation</span>
|
177 |
+
</button>
|
178 |
+
<button class="flex-shrink-0 px-3 py-1 bg-white dark:bg-gray-600 rounded-lg text-sm shadow-sm flex items-center space-x-2">
|
179 |
+
<i class="fas fa-question-circle text-purple-500"></i>
|
180 |
+
<span>Help Center</span>
|
181 |
+
</button>
|
182 |
+
<button class="flex-shrink-0 px-3 py-1 bg-white dark:bg-gray-600 rounded-lg text-sm shadow-sm flex items-center space-x-2">
|
183 |
+
<i class="fas fa-terminal text-green-500"></i>
|
184 |
+
<span>API Console</span>
|
185 |
+
</button>
|
186 |
+
<button class="flex-shrink-0 px-3 py-1 bg-white dark:bg-gray-600 rounded-lg text-sm shadow-sm flex items-center space-x-2">
|
187 |
+
<i class="fas fa-history text-gray-500"></i>
|
188 |
+
<span>Recent Projects</span>
|
189 |
+
</button>
|
190 |
+
</div>
|
191 |
+
|
192 |
+
<!-- Dashboard Content -->
|
193 |
+
<main class="p-6">
|
194 |
+
<!-- System Status Cards -->
|
195 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
|
196 |
+
<div class="bg-white rounded-xl shadow-md p-6 card-hover transition-all">
|
197 |
+
<div class="flex justify-between items-start">
|
198 |
+
<div>
|
199 |
+
<p class="text-gray-500">Web Dashboard</p>
|
200 |
+
<h3 class="text-2xl font-bold mt-1">Port 3000</h3>
|
201 |
+
</div>
|
202 |
+
<div class="p-3 rounded-lg bg-green-100 text-green-600">
|
203 |
+
<i class="fas fa-check-circle"></i>
|
204 |
+
</div>
|
205 |
+
</div>
|
206 |
+
<div class="mt-4 flex space-x-2">
|
207 |
+
<span class="px-2 py-1 bg-blue-100 text-blue-800 text-xs rounded-full">Running</span>
|
208 |
+
<span class="px-2 py-1 bg-purple-100 text-purple-800 text-xs rounded-full">Node.js</span>
|
209 |
+
</div>
|
210 |
+
</div>
|
211 |
+
|
212 |
+
<div class="bg-white rounded-xl shadow-md p-6 card-hover transition-all">
|
213 |
+
<div class="flex justify-between items-start">
|
214 |
+
<div>
|
215 |
+
<p class="text-gray-500">AI Backend</p>
|
216 |
+
<h3 class="text-2xl font-bold mt-1">3 Models</h3>
|
217 |
+
</div>
|
218 |
+
<div class="p-3 rounded-lg bg-blue-100 text-blue-600">
|
219 |
+
<i class="fas fa-server"></i>
|
220 |
+
</div>
|
221 |
+
</div>
|
222 |
+
<div class="mt-4 flex space-x-2">
|
223 |
+
<span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">Active</span>
|
224 |
+
<span class="px-2 py-1 bg-indigo-100 text-indigo-800 text-xs rounded-full">Ollama</span>
|
225 |
+
<span class="px-2 py-1 bg-yellow-100 text-yellow-800 text-xs rounded-full">DeepSeek</span>
|
226 |
+
</div>
|
227 |
+
</div>
|
228 |
+
|
229 |
+
<div class="bg-white rounded-xl shadow-md p-6 card-hover transition-all">
|
230 |
+
<div class="flex justify-between items-start">
|
231 |
+
<div>
|
232 |
+
<p class="text-gray-500">Code Executor</p>
|
233 |
+
<h3 class="text-2xl font-bold mt-1">12 Jobs</h3>
|
234 |
+
</div>
|
235 |
+
<div class="p-3 rounded-lg bg-yellow-100 text-yellow-600">
|
236 |
+
<i class="fas fa-code"></i>
|
237 |
+
</div>
|
238 |
+
</div>
|
239 |
+
<div class="mt-4 flex space-x-2">
|
240 |
+
<span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">Sandboxed</span>
|
241 |
+
<span class="px-2 py-1 bg-red-100 text-red-800 text-xs rounded-full">Testing</span>
|
242 |
+
</div>
|
243 |
+
</div>
|
244 |
+
|
245 |
+
<div class="bg-white rounded-xl shadow-md p-6 card-hover transition-all">
|
246 |
+
<div class="flex justify-between items-start">
|
247 |
+
<div>
|
248 |
+
<p class="text-gray-500">Deployment</p>
|
249 |
+
<h3 class="text-2xl font-bold mt-1">5 Targets</h3>
|
250 |
+
</div>
|
251 |
+
<div class="p-3 rounded-lg bg-purple-100 text-purple-600">
|
252 |
+
<i class="fas fa-cloud-upload-alt"></i>
|
253 |
+
</div>
|
254 |
+
</div>
|
255 |
+
<div class="mt-4 flex space-x-2">
|
256 |
+
<span class="px-2 py-1 bg-gray-100 text-gray-800 text-xs rounded-full">Proxmox</span>
|
257 |
+
<span class="px-2 py-1 bg-blue-100 text-blue-800 text-xs rounded-full">Docker</span>
|
258 |
+
<span class="px-2 py-1 bg-indigo-100 text-indigo-800 text-xs rounded-full">Cloud</span>
|
259 |
+
</div>
|
260 |
+
</div>
|
261 |
+
</div>
|
262 |
+
|
263 |
+
<!-- Main Dashboard Sections -->
|
264 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
|
265 |
+
<!-- Project Templates Section -->
|
266 |
+
<div class="lg:col-span-3 bg-white dark:bg-gray-800 rounded-xl shadow-md p-6 card-hover transition-all">
|
267 |
+
<div class="flex justify-between items-center mb-4">
|
268 |
+
<h3 class="text-lg font-semibold dark:text-white">Project Templates</h3>
|
269 |
+
<div class="flex space-x-2">
|
270 |
+
<button class="px-3 py-1 bg-gray-100 dark:bg-gray-700 rounded-lg text-sm dark:text-white">View All</button>
|
271 |
+
</div>
|
272 |
+
</div>
|
273 |
+
<div class="grid grid-cols-2 md:grid-cols-4 gap-4">
|
274 |
+
<div class="border border-gray-200 dark:border-gray-700 rounded-lg p-4 hover:border-purple-500 cursor-pointer">
|
275 |
+
<div class="h-12 w-12 gradient-bg rounded-lg flex items-center justify-center mb-2">
|
276 |
+
<i class="fas fa-image text-white"></i>
|
277 |
+
</div>
|
278 |
+
<h4 class="font-medium dark:text-white">Image Recognition</h4>
|
279 |
+
<p class="text-xs text-gray-500 dark:text-gray-400">Computer Vision</p>
|
280 |
+
</div>
|
281 |
+
<div class="border border-gray-200 dark:border-gray-700 rounded-lg p-4 hover:border-purple-500 cursor-pointer">
|
282 |
+
<div class="h-12 w-12 bg-blue-100 dark:bg-blue-900 rounded-lg flex items-center justify-center mb-2">
|
283 |
+
<i class="fas fa-comments text-blue-600 dark:text-blue-300"></i>
|
284 |
+
</div>
|
285 |
+
<h4 class="font-medium dark:text-white">Chat Assistant</h4>
|
286 |
+
<p class="text-xs text-gray-500 dark:text-gray-400">NLP</p>
|
287 |
+
</div>
|
288 |
+
<div class="border border-gray-200 dark:border-gray-700 rounded-lg p-4 hover:border-purple-500 cursor-pointer">
|
289 |
+
<div class="h-12 w-12 bg-green-100 dark:bg-green-900 rounded-lg flex items-center justify-center mb-2">
|
290 |
+
<i class="fas fa-chart-line text-green-600 dark:text-green-300"></i>
|
291 |
+
</div>
|
292 |
+
<h4 class="font-medium dark:text-white">Data Analysis</h4>
|
293 |
+
<p class="text-xs text-gray-500 dark:text-gray-400">Predictive</p>
|
294 |
+
</div>
|
295 |
+
<div class="border border-gray-200 dark:border-gray-700 rounded-lg p-4 hover:border-purple-500 cursor-pointer">
|
296 |
+
<div class="h-12 w-12 bg-purple-100 dark:bg-purple-900 rounded-lg flex items-center justify-center mb-2">
|
297 |
+
<i class="fas fa-robot text-purple-600 dark:text-purple-300"></i>
|
298 |
+
</div>
|
299 |
+
<h4 class="font-medium dark:text-white">Custom AI</h4>
|
300 |
+
<p class="text-xs text-gray-500 dark:text-gray-400">From Scratch</p>
|
301 |
+
</div>
|
302 |
+
</div>
|
303 |
+
</div>
|
304 |
+
<!-- Idea Input Section -->
|
305 |
+
<div class="lg:col-span-2 bg-white rounded-xl shadow-md p-6 card-hover transition-all">
|
306 |
+
<div class="flex justify-between items-center mb-4">
|
307 |
+
<h3 class="text-lg font-semibold">Idea Input & Processing</h3>
|
308 |
+
<div class="flex space-x-2">
|
309 |
+
<button class="px-3 py-1 bg-gray-100 rounded-lg text-sm">Clear</button>
|
310 |
+
<button class="px-3 py-1 gradient-bg text-white rounded-lg text-sm">Submit</button>
|
311 |
+
</div>
|
312 |
+
</div>
|
313 |
+
<textarea class="w-full h-40 p-4 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent" placeholder="Enter your AI project idea here..."></textarea>
|
314 |
+
<div class="mt-4 flex justify-between items-center">
|
315 |
+
<div class="flex space-x-2">
|
316 |
+
<button class="p-2 rounded-lg bg-gray-100 hover:bg-gray-200">
|
317 |
+
<i class="fas fa-file-alt text-gray-600"></i>
|
318 |
+
</button>
|
319 |
+
<button class="p-2 rounded-lg bg-gray-100 hover:bg-gray-200">
|
320 |
+
<i class="fas fa-image text-gray-600"></i>
|
321 |
+
</button>
|
322 |
+
<button class="p-2 rounded-lg bg-gray-100 hover:bg-gray-200">
|
323 |
+
<i class="fas fa-link text-gray-600"></i>
|
324 |
+
</button>
|
325 |
+
</div>
|
326 |
+
<div class="text-sm text-gray-500">
|
327 |
+
<span id="charCount">0</span>/500 characters
|
328 |
+
</div>
|
329 |
+
</div>
|
330 |
+
</div>
|
331 |
+
|
332 |
+
<!-- Model Selector Section -->
|
333 |
+
<div class="bg-white rounded-xl shadow-md p-6 card-hover transition-all">
|
334 |
+
<h3 class="text-lg font-semibold mb-4">AI Model Selector</h3>
|
335 |
+
<div class="space-y-3">
|
336 |
+
<div class="flex items-center p-3 border border-gray-200 rounded-lg hover:border-purple-500 cursor-pointer">
|
337 |
+
<div class="h-10 w-10 bg-blue-100 rounded-lg flex items-center justify-center mr-3">
|
338 |
+
<i class="fas fa-cube text-blue-600"></i>
|
339 |
+
</div>
|
340 |
+
<div>
|
341 |
+
<p class="font-medium">Ollama API</p>
|
342 |
+
<p class="text-xs text-gray-500">Local LLM Runner</p>
|
343 |
+
</div>
|
344 |
+
<div class="ml-auto">
|
345 |
+
<div class="h-3 w-3 bg-green-500 rounded-full"></div>
|
346 |
+
</div>
|
347 |
+
</div>
|
348 |
+
|
349 |
+
<div class="flex items-center p-3 border border-gray-200 rounded-lg hover:border-purple-500 cursor-pointer">
|
350 |
+
<div class="h-10 w-10 bg-indigo-100 rounded-lg flex items-center justify-center mr-3">
|
351 |
+
<i class="fas fa-search text-indigo-600"></i>
|
352 |
+
</div>
|
353 |
+
<div>
|
354 |
+
<p class="font-medium">DeepSeek API</p>
|
355 |
+
<p class="text-xs text-gray-500">Advanced AI Models</p>
|
356 |
+
</div>
|
357 |
+
<div class="ml-auto">
|
358 |
+
<div class="h-3 w-3 bg-green-500 rounded-full"></div>
|
359 |
+
</div>
|
360 |
+
</div>
|
361 |
+
|
362 |
+
<div class="flex items-center p-3 border border-gray-200 rounded-lg hover:border-purple-500 cursor-pointer">
|
363 |
+
<div class="h-10 w-10 bg-purple-100 rounded-lg flex items-center justify-center mr-3">
|
364 |
+
<i class="fas fa-cog text-purple-600"></i>
|
365 |
+
</div>
|
366 |
+
<div>
|
367 |
+
<p class="font-medium">Custom Models</p>
|
368 |
+
<p class="text-xs text-gray-500">Your trained models</p>
|
369 |
+
</div>
|
370 |
+
<div class="ml-auto">
|
371 |
+
<div class="h-3 w-3 bg-yellow-500 rounded-full"></div>
|
372 |
+
</div>
|
373 |
+
</div>
|
374 |
+
</div>
|
375 |
+
|
376 |
+
<button class="w-full mt-4 gradient-bg text-white py-2 rounded-lg hover:opacity-90 transition-all">
|
377 |
+
<i class="fas fa-sliders-h mr-2"></i> Configure Models
|
378 |
+
</button>
|
379 |
+
</div>
|
380 |
+
|
381 |
+
<!-- Real-time Output Section -->
|
382 |
+
<div class="lg:col-span-2 bg-white rounded-xl shadow-md p-6 card-hover transition-all">
|
383 |
+
<div class="flex justify-between items-center mb-4">
|
384 |
+
<h3 class="text-lg font-semibold">Real-time Output</h3>
|
385 |
+
<div class="flex space-x-2">
|
386 |
+
<button class="px-3 py-1 bg-gray-100 rounded-lg text-sm">Clear</button>
|
387 |
+
<button class="px-3 py-1 bg-gray-100 rounded-lg text-sm">
|
388 |
+
<i class="fas fa-download mr-1"></i> Export
|
389 |
+
</button>
|
390 |
+
</div>
|
391 |
+
</div>
|
392 |
+
<div class="bg-gray-50 p-4 rounded-lg h-64 overflow-y-auto">
|
393 |
+
<div class="flex mb-3">
|
394 |
+
<div class="h-8 w-8 rounded-full bg-blue-100 flex items-center justify-center mr-3">
|
395 |
+
<i class="fas fa-robot text-blue-600"></i>
|
396 |
+
</div>
|
397 |
+
<div class="bg-white p-3 rounded-lg shadow-sm max-w-3/4">
|
398 |
+
<p>Initializing AI Dev Hub system. All components are operational.</p>
|
399 |
+
<p class="text-xs text-gray-500 mt-1">2 seconds ago</p>
|
400 |
+
</div>
|
401 |
+
</div>
|
402 |
+
<div class="flex mb-3">
|
403 |
+
<div class="h-8 w-8 rounded-full bg-purple-100 flex items-center justify-center mr-3">
|
404 |
+
<i class="fas fa-user text-purple-600"></i>
|
405 |
+
</div>
|
406 |
+
<div class="bg-white p-3 rounded-lg shadow-sm max-w-3/4">
|
407 |
+
<p>I want to create an image recognition system for medical diagnostics.</p>
|
408 |
+
<p class="text-xs text-gray-500 mt-1">Just now</p>
|
409 |
+
</div>
|
410 |
+
</div>
|
411 |
+
<div class="flex">
|
412 |
+
<div class="h-8 w-8 rounded-full bg-green-100 flex items-center justify-center mr-3">
|
413 |
+
<i class="fas fa-robot text-green-600"></i>
|
414 |
+
</div>
|
415 |
+
<div class="bg-white p-3 rounded-lg shadow-sm max-w-3/4">
|
416 |
+
<p>Analyzing requirements... Would you like me to suggest the best AI model for medical image analysis?</p>
|
417 |
+
<p class="text-xs text-gray-500 mt-1">Generating...</p>
|
418 |
+
</div>
|
419 |
+
</div>
|
420 |
+
</div>
|
421 |
+
</div>
|
422 |
+
|
423 |
+
<!-- System Overview -->
|
424 |
+
<div class="bg-white rounded-xl shadow-md p-6 card-hover transition-all">
|
425 |
+
<h3 class="text-lg font-semibold mb-4">System Overview</h3>
|
426 |
+
<div class="space-y-4">
|
427 |
+
<div>
|
428 |
+
<div class="flex justify-between mb-1">
|
429 |
+
<span class="text-sm font-medium">CPU Usage</span>
|
430 |
+
<span class="text-sm">42%</span>
|
431 |
+
</div>
|
432 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5">
|
433 |
+
<div class="bg-blue-600 h-2.5 rounded-full" style="width: 42%"></div>
|
434 |
+
</div>
|
435 |
+
</div>
|
436 |
+
|
437 |
+
<div>
|
438 |
+
<div class="flex justify-between mb-1">
|
439 |
+
<span class="text-sm font-medium">Memory</span>
|
440 |
+
<span class="text-sm">5.2/16GB</span>
|
441 |
+
</div>
|
442 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5">
|
443 |
+
<div class="bg-purple-600 h-2.5 rounded-full" style="width: 32%"></div>
|
444 |
+
</div>
|
445 |
+
</div>
|
446 |
+
|
447 |
+
<div>
|
448 |
+
<div class="flex justify-between mb-1">
|
449 |
+
<span class="text-sm font-medium">GPU Utilization</span>
|
450 |
+
<span class="text-sm">18%</span>
|
451 |
+
</div>
|
452 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5">
|
453 |
+
<div class="bg-green-600 h-2.5 rounded-full" style="width: 18%"></div>
|
454 |
+
</div>
|
455 |
+
</div>
|
456 |
+
|
457 |
+
<div class="pt-4 border-t border-gray-200">
|
458 |
+
<h4 class="text-sm font-medium mb-2">Active Services</h4>
|
459 |
+
<div class="flex flex-wrap gap-2">
|
460 |
+
<span class="px-2 py-1 bg-blue-100 text-blue-800 text-xs rounded-full">Web UI</span>
|
461 |
+
<span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">API</span>
|
462 |
+
<span class="px-2 py-1 bg-purple-100 text-purple-800 text-xs rounded-full">Database</span>
|
463 |
+
<span class="px-2 py-1 bg-yellow-100 text-yellow-800 text-xs rounded-full">Executor</span>
|
464 |
+
</div>
|
465 |
+
</div>
|
466 |
+
|
467 |
+
<button class="w-full mt-4 bg-gray-100 hover:bg-gray-200 text-gray-800 py-2 rounded-lg transition-all">
|
468 |
+
<i class="fas fa-cog mr-2"></i> System Settings
|
469 |
+
</button>
|
470 |
+
</div>
|
471 |
+
</div>
|
472 |
+
</div>
|
473 |
+
</main>
|
474 |
+
</div>
|
475 |
+
</div>
|
476 |
+
|
477 |
+
<script>
|
478 |
+
// Dark mode toggle
|
479 |
+
const darkModeToggle = document.getElementById('darkModeToggle');
|
480 |
+
const html = document.documentElement;
|
481 |
+
|
482 |
+
// Check for saved user preference or system preference
|
483 |
+
if (localStorage.getItem('darkMode') === 'true' ||
|
484 |
+
(!localStorage.getItem('darkMode') && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
485 |
+
html.classList.add('dark');
|
486 |
+
}
|
487 |
+
|
488 |
+
darkModeToggle.addEventListener('click', () => {
|
489 |
+
html.classList.toggle('dark');
|
490 |
+
localStorage.setItem('darkMode', html.classList.contains('dark'));
|
491 |
+
darkModeToggle.querySelector('i').classList.toggle('fa-moon');
|
492 |
+
darkModeToggle.querySelector('i').classList.toggle('fa-sun');
|
493 |
+
});
|
494 |
+
|
495 |
+
// Initialize notification system
|
496 |
+
function showNotification(title, message, type = 'info') {
|
497 |
+
const notification = document.createElement('div');
|
498 |
+
notification.className = `fixed top-4 right-4 p-4 rounded-lg shadow-lg max-w-xs z-50 ${
|
499 |
+
type === 'info' ? 'bg-blue-100 text-blue-800' :
|
500 |
+
type === 'success' ? 'bg-green-100 text-green-800' :
|
501 |
+
type === 'warning' ? 'bg-yellow-100 text-yellow-800' :
|
502 |
+
'bg-red-100 text-red-800'
|
503 |
+
}`;
|
504 |
+
notification.innerHTML = `
|
505 |
+
<div class="flex justify-between items-start">
|
506 |
+
<h4 class="font-bold">${title}</h4>
|
507 |
+
<button class="ml-2 text-gray-500 hover:text-gray-700" onclick="this.parentElement.parentElement.remove()">
|
508 |
+
<i class="fas fa-times"></i>
|
509 |
+
</button>
|
510 |
+
</div>
|
511 |
+
<p class="mt-1 text-sm">${message}</p>
|
512 |
+
`;
|
513 |
+
document.body.appendChild(notification);
|
514 |
+
setTimeout(() => notification.remove(), 5000);
|
515 |
+
}
|
516 |
+
|
517 |
+
// Example system notification
|
518 |
+
setTimeout(() => {
|
519 |
+
showNotification('System Update', 'New AI models available for testing', 'success');
|
520 |
+
}, 3000);
|
521 |
+
// Character counter for idea input
|
522 |
+
const textarea = document.querySelector('textarea');
|
523 |
+
const charCount = document.getElementById('charCount');
|
524 |
+
|
525 |
+
textarea.addEventListener('input', function() {
|
526 |
+
charCount.textContent = this.value.length;
|
527 |
+
});
|
528 |
+
|
529 |
+
// Toggle sidebar submenus
|
530 |
+
document.querySelectorAll('.group').forEach(group => {
|
531 |
+
group.addEventListener('click', function(e) {
|
532 |
+
// Don't toggle if clicking on a submenu item
|
533 |
+
if (e.target.closest('.group-hover\\:block')) return;
|
534 |
+
|
535 |
+
const submenu = this.querySelector('.group-hover\\:block');
|
536 |
+
if (submenu) {
|
537 |
+
const isHidden = submenu.classList.contains('hidden');
|
538 |
+
document.querySelectorAll('.group-hover\\:block').forEach(sm => {
|
539 |
+
sm.classList.add('hidden');
|
540 |
+
});
|
541 |
+
if (isHidden) {
|
542 |
+
submenu.classList.remove('hidden');
|
543 |
+
}
|
544 |
+
}
|
545 |
+
});
|
546 |
+
});
|
547 |
+
|
548 |
+
// Simulate real-time output updates
|
549 |
+
setInterval(() => {
|
550 |
+
const outputDiv = document.querySelector('.bg-gray-50');
|
551 |
+
const newMessage = document.createElement('div');
|
552 |
+
newMessage.className = 'flex mb-3';
|
553 |
+
newMessage.innerHTML = `
|
554 |
+
<div class="h-8 w-8 rounded-full bg-green-100 flex items-center justify-center mr-3">
|
555 |
+
<i class="fas fa-robot text-green-600"></i>
|
556 |
+
</div>
|
557 |
+
<div class="bg-white p-3 rounded-lg shadow-sm max-w-3/4">
|
558 |
+
<p>Suggested model: DeepSeek-Vision for medical image analysis with 92% accuracy on similar tasks.</p>
|
559 |
+
<p class="text-xs text-gray-500 mt-1">Just now</p>
|
560 |
+
</div>
|
561 |
+
`;
|
562 |
+
outputDiv.appendChild(newMessage);
|
563 |
+
outputDiv.scrollTop = outputDiv.scrollHeight;
|
564 |
+
}, 5000);
|
565 |
+
</script>
|
566 |
+
<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=fsalmansour/ai-dev" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
567 |
+
</html>
|