File size: 14,258 Bytes
55d99a8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DeepSeek v3 Website Builder</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.split-view {
display: flex;
height: 100vh;
overflow: hidden;
}
.panel {
flex: 1;
overflow: auto;
padding: 20px;
transition: all 0.3s ease;
}
.resizer {
width: 10px;
background: #e5e7eb;
cursor: col-resize;
transition: background 0.3s;
}
.resizer:hover {
background: #9ca3af;
}
.node {
margin-left: 20px;
position: relative;
}
.node::before {
content: "";
position: absolute;
left: -15px;
top: 0;
bottom: 50%;
width: 1px;
background: #d1d5db;
}
.node:last-child::before {
bottom: 0;
}
.node::after {
content: "";
position: absolute;
left: -15px;
top: 50%;
width: 15px;
height: 1px;
background: #d1d5db;
}
.tree-view {
font-family: 'Courier New', monospace;
font-size: 14px;
}
.preview-frame {
width: 100%;
height: 100%;
border: none;
background: white;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.typing-indicator::after {
content: "...";
animation: typing 1.5s infinite;
}
@keyframes typing {
0% { content: "."; }
33% { content: ".."; }
66% { content: "..."; }
}
</style>
</head>
<body class="bg-gray-100">
<div class="split-view">
<!-- AI Agent Panel -->
<div class="panel bg-white">
<div class="flex items-center justify-between mb-6">
<h1 class="text-2xl font-bold text-indigo-600">
<i class="fas fa-robot mr-2"></i> DeepSeek v3 Builder
</h1>
<div class="flex space-x-2">
<button id="newProjectBtn" class="px-4 py-2 bg-indigo-100 text-indigo-700 rounded hover:bg-indigo-200 transition">
<i class="fas fa-plus mr-2"></i>New Project
</button>
<button id="exportBtn" class="px-4 py-2 bg-green-100 text-green-700 rounded hover:bg-green-200 transition">
<i class="fas fa-file-export mr-2"></i>Export
</button>
</div>
</div>
<div class="mb-6">
<div class="flex items-center mb-2">
<label class="block text-sm font-medium text-gray-700 mr-2">Project Name:</label>
<input type="text" id="projectName" class="flex-1 px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500" value="MyWebsite">
</div>
<div class="flex items-center">
<label class="block text-sm font-medium text-gray-700 mr-2">Base URL:</label>
<input type="text" id="baseUrl" class="flex-1 px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500" value="https://mywebsite.com">
</div>
</div>
<div class="flex items-center mb-4">
<input type="text" id="pagePrompt" class="flex-1 px-4 py-2 border border-gray-300 rounded-l-md focus:outline-none focus:ring-2 focus:ring-indigo-500" placeholder="Describe the page you want to create...">
<button id="generateBtn" class="px-4 py-2 bg-indigo-600 text-white rounded-r-md hover:bg-indigo-700 transition">
<i class="fas fa-magic mr-2"></i>Generate
</button>
</div>
<div class="bg-gray-50 p-4 rounded-lg mb-4">
<div class="flex items-center justify-between mb-2">
<h3 class="font-medium text-gray-800">Database Tree Structure</h3>
<div class="flex space-x-2">
<button id="expandAllBtn" class="text-xs px-2 py-1 bg-gray-200 rounded hover:bg-gray-300">
<i class="fas fa-expand mr-1"></i>Expand All
</button>
<button id="collapseAllBtn" class="text-xs px-2 py-1 bg-gray-200 rounded hover:bg-gray-300">
<i class="fas fa-compress mr-1"></i>Collapse All
</button>
</div>
</div>
<div id="databaseTree" class="tree-view">
<div class="node">
<div class="flex items-center cursor-pointer">
<i class="fas fa-folder-open text-yellow-500 mr-2"></i>
<span class="font-medium">root</span>
</div>
<div class="node">
<div class="flex items-center cursor-pointer">
<i class="fas fa-file-code text-blue-500 mr-2"></i>
<span>index.html</span>
</div>
</div>
<div class="node">
<div class="flex items-center cursor-pointer">
<i class="fas fa-folder text-yellow-500 mr-2"></i>
<span class="font-medium">pages</span>
</div>
<div class="node">
<div class="flex items-center cursor-pointer">
<i class="fas fa-file-code text-blue-500 mr-2"></i>
<span>about.html</span>
</div>
</div>
<div class="node">
<div class="flex items-center cursor-pointer">
<i class="fas fa-file-code text-blue-500 mr-2"></i>
<span>contact.html</span>
</div>
</div>
</div>
<div class="node">
<div class="flex items-center cursor-pointer">
<i class="fas fa-folder text-yellow-500 mr-2"></i>
<span class="font-medium">assets</span>
</div>
<div class="node">
<div class="flex items-center cursor-pointer">
<i class="fas fa-folder text-yellow-500 mr-2"></i>
<span class="font-medium">css</span>
</div>
<div class="node">
<div class="flex items-center cursor-pointer">
<i class="fas fa-file-code text-blue-500 mr-2"></i>
<span>styles.css</span>
</div>
</div>
</div>
<div class="node">
<div class="flex items-center cursor-pointer">
<i class="fas fa-folder text-yellow-500 mr-2"></i>
<span class="font-medium">js</span>
</div>
<div class="node">
<div class="flex items-center cursor-pointer">
<i class="fas fa-file-code text-blue-500 mr-2"></i>
<span>main.js</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="bg-gray-50 p-4 rounded-lg">
<h3 class="font-medium text-gray-800 mb-2">AI Agent Console</h3>
<div id="agentConsole" class="bg-black text-green-400 p-3 rounded font-mono text-sm h-40 overflow-y-auto">
<div>> DeepSeek v3 initialized</div>
<div>> Ready to build your website structure</div>
<div>> Current project: MyWebsite</div>
<div id="agentMessage" class="typing-indicator"></div>
</div>
</div>
</div>
<!-- Resizer -->
<div class="resizer"></div>
<!-- Preview Panel -->
<div class="panel bg-gray-200">
<div class="flex items-center justify-between mb-4">
<h2 class="text-xl font-bold text-gray-800">
<i class="fas fa-eye mr-2"></i>Website Preview
</h2>
<div class="flex items-center space-x-2">
<select id="pageSelect" class="px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500">
<option value="index.html">index.html</option>
<option value="about.html">about.html</option>
<option value="contact.html">contact.html</option>
</select>
<button id="refreshPreviewBtn" class="p-2 bg-white rounded hover:bg-gray-100">
<i class="fas fa-sync-alt"></i>
</button>
</div>
</div>
<div class="bg-white rounded-lg shadow overflow-hidden h-full">
<iframe id="previewFrame" class="preview-frame" src="about:blank"></iframe>
</div>
</div>
</div>
<script>
</script>
<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=MarcRyan/dsb3" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |