Spaces:
Running
Running
File size: 16,530 Bytes
47b4206 |
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 295 296 297 298 299 300 301 302 303 304 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VS Code AI Builder Extension - MVP</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
</head>
<body class="bg-gray-900 text-gray-100 min-h-screen">
<custom-navbar></custom-navbar>
<!-- Hero Section -->
<section id="hero" class="relative min-h-screen flex items-center justify-center overflow-hidden">
<div id="vanta-bg" class="absolute inset-0"></div>
<div class="relative z-10 text-center px-4 max-w-6xl mx-auto">
<div class="mb-8">
<h1 class="text-5xl md:text-7xl font-bold bg-gradient-to-r from-blue-400 via-purple-500 to-pink-500 bg-clip-text text-transparent mb-4">
VS Code AI Builder
</h1>
<p class="text-xl md:text-2xl text-gray-300 mb-2">Agentic Codegen Extension</p>
<p class="text-lg text-gray-400 max-w-3xl mx-auto">
Build complete websites and applications from a single prompt. See your project open, edit files professionally, and enjoy seamless development.
</p>
</div>
<div class="flex flex-col sm:flex-row gap-4 justify-center mb-12">
<button class="bg-gradient-to-r from-blue-500 to-purple-600 hover:from-blue-600 hover:to-purple-700 text-white font-bold py-3 px-8 rounded-lg transform transition hover:scale-105 shadow-xl">
<i data-feather="code" class="inline mr-2"></i>
Get Started
</button>
<button class="bg-gray-800 hover:bg-gray-700 text-white font-bold py-3 px-8 rounded-lg border border-gray-700 transform transition hover:scale-105">
<i data-feather="github" class="inline mr-2"></i>
View on GitHub
</button>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mt-16">
<div class="bg-gray-800 bg-opacity-50 backdrop-blur-sm rounded-lg p-6 transform transition hover:scale-105">
<div class="text-blue-400 mb-4">
<i data-feather="zap" class="w-12 h-12"></i>
</div>
<h3 class="text-xl font-semibold mb-2">Build from Prompt</h3>
<p class="text-gray-400">Generate project structure, plan, and initial code from natural language descriptions</p>
</div>
<div class="bg-gray-800 bg-opacity-50 backdrop-blur-sm rounded-lg p-6 transform transition hover:scale-105">
<div class="text-purple-400 mb-4">
<i data-feather="edit-3" class="w-12 h-12"></i>
</div>
<h3 class="text-xl font-semibold mb-2">Project-Aware</h3>
<p class="text-gray-400">Read tree structure, summarize context, and work with existing codebases</p>
</div>
<div class="bg-gray-800 bg-opacity-50 backdrop-blur-sm rounded-lg p-6 transform transition hover:scale-105">
<div class="text-pink-400 mb-4">
<i data-feather="shield" class="w-12 h-12"></i>
</div>
<h3 class="text-xl font-semibold mb-2">Safe Mode</h3>
<p class="text-gray-400">Dry-run, path allowlists, and confirmation prompts for safe development</p>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="py-20 px-4">
<div class="max-w-6xl mx-auto">
<h2 class="text-4xl font-bold text-center mb-12 bg-gradient-to-r from-blue-400 to-purple-500 bg-clip-text text-transparent">
Core Features
</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
<div class="bg-gray-800 rounded-lg p-8 border border-gray-700 hover:border-purple-500 transition">
<h3 class="text-2xl font-semibold mb-4 text-purple-400">
<i data-feather="git-branch" class="inline mr-2"></i>
Patch & Review
</h3>
<p class="text-gray-300 mb-4">
Receive changes in Unified Diff format, preview them visually, and apply selectively with confidence.
</p>
<ul class="text-gray-400 space-y-2">
<li><i data-feather="check-circle" class="inline mr-2 text-green-400"></i>Visual diff viewer</li>
<li><i data-feather="check-circle" class="inline mr-2 text-green-400"></i>Selective patch application</li>
<li><i data-feather="check-circle" class="inline mr-2 text-green-400"></i>Rollback support</li>
</ul>
</div>
<div class="bg-gray-800 rounded-lg p-8 border border-gray-700 hover:border-blue-500 transition">
<h3 class="text-2xl font-semibold mb-4 text-blue-400">
<i data-feather="terminal" class="inline mr-2"></i>
Tasks Orchestrator
</h3>
<p class="text-gray-300 mb-4">
Run commands (npm/yarn/pnpm), dev servers, linters with live log streaming in the panel.
</p>
<ul class="text-gray-400 space-y-2">
<li><i data-feather="check-circle" class="inline mr-2 text-green-400"></i>Real-time log streaming</li>
<li><i data-feather="check-circle" class="inline mr-2 text-green-400"></i>Task queue management</li>
<li><i data-feather="check-circle" class="inline mr-2 text-green-400"></i>Error detection</li>
</ul>
</div>
<div class="bg-gray-800 rounded-lg p-8 border border-gray-700 hover:border-pink-500 transition">
<h3 class="text-2xl font-semibold mb-4 text-pink-400">
<i data-feather="cpu" class="inline mr-2"></i>
Provider-Agnostic
</h3>
<p class="text-gray-300 mb-4">
Works with OpenAI, Anthropic, Gemini, and other LLM providers through a unified interface.
</p>
<ul class="text-gray-400 space-y-2">
<li><i data-feather="check-circle" class="inline mr-2 text-green-400"></i>Multiple provider support</li>
<li><i data-feather="check-circle" class="inline mr-2 text-green-400"></i>Easy switching</li>
<li><i data-feather="check-circle" class="inline mr-2 text-green-400"></i>API key management</li>
</ul>
</div>
<div class="bg-gray-800 rounded-lg p-8 border border-gray-700 hover:border-green-500 transition">
<h3 class="text-2xl font-semibold mb-4 text-green-400">
<i data-feather="command" class="inline mr-2"></i>
Command Suite
</h3>
<p class="text-gray-300 mb-4">
Comprehensive set of commands for every development stage and use case.
</p>
<ul class="text-gray-400 space-y-2">
<li><i data-feather="check-circle" class="inline mr-2 text-green-400"></i>Build from prompt</li>
<li><i data-feather="check-circle" class="inline mr-2 text-green-400"></i>Edit selection</li>
<li><i data-feather="check-circle" class="inline mr-2 text-green-400"></i>Refactor project</li>
</ul>
</div>
</div>
</div>
</section>
<!-- Commands Section -->
<section class="py-20 px-4 bg-gray-800 bg-opacity-50">
<div class="max-w-6xl mx-auto">
<h2 class="text-4xl font-bold text-center mb-12 bg-gradient-to-r from-purple-400 to-pink-500 bg-clip-text text-transparent">
Available Commands
</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<div class="bg-gray-900 rounded-lg p-6 border border-gray-700 hover:border-blue-500 transition group">
<code class="text-blue-400 font-mono text-sm">aiBuilder.buildFromPrompt</code>
<p class="text-gray-400 mt-2 group-hover:text-gray-300 transition">
Build project from natural language prompt
</p>
</div>
<div class="bg-gray-900 rounded-lg p-6 border border-gray-700 hover:border-purple-500 transition group">
<code class="text-purple-400 font-mono text-sm">aiBuilder.explainPlan</code>
<p class="text-gray-400 mt-2 group-hover:text-gray-300 transition">
Show the execution plan before applying
</p>
</div>
<div class="bg-gray-900 rounded-lg p-6 border border-gray-700 hover:border-pink-500 transition group">
<code class="text-pink-400 font-mono text-sm">aiBuilder.applyPlan</code>
<p class="text-gray-400 mt-2 group-hover:text-gray-300 transition">
Apply the generated plan to workspace
</p>
</div>
<div class="bg-gray-900 rounded-lg p-6 border border-gray-700 hover:border-green-500 transition group">
<code class="text-green-400 font-mono text-sm">aiBuilder.editSelection</code>
<p class="text-gray-400 mt-2 group-hover:text-gray-300 transition">
Edit selected code with AI assistance
</p>
</div>
<div class="bg-gray-900 rounded-lg p-6 border border-gray-700 hover:border-yellow-500 transition group">
<code class="text-yellow-400 font-mono text-sm">aiBuilder.refactorProject</code>
<p class="text-gray-400 mt-2 group-hover:text-gray-300 transition">
Comprehensive project refactoring
</p>
</div>
<div class="bg-gray-900 rounded-lg p-6 border border-gray-700 hover:border-red-500 transition group">
<code class="text-red-400 font-mono text-sm">aiBuilder.runTask</code>
<p class="text-gray-400 mt-2 group-hover:text-gray-300 transition">
Execute development tasks with live logs
</p>
</div>
</div>
</div>
</section>
<!-- Project Structure -->
<section class="py-20 px-4">
<div class="max-w-6xl mx-auto">
<h2 class="text-4xl font-bold text-center mb-12 bg-gradient-to-r from-green-400 to-blue-500 bg-clip-text text-transparent">
Project Structure
</h2>
<div class="bg-gray-800 rounded-lg p-8 overflow-x-auto">
<pre class="text-gray-300 font-mono text-sm">
<code class="language-bash">ai-builder-ext/
ββ package.json
ββ tsconfig.json
ββ src/
β ββ extension.ts
β ββ agent/
β β ββ Agent.ts
β β ββ Patch.ts
β β ββ Context.ts
β β ββ Tools.ts
β ββ llm/
β β ββ Provider.ts
β β ββ OpenAIProvider.ts
β β ββ AnthropicProvider.ts
β β ββ GeminiProvider.ts
β ββ ui/
β β ββ Panel.ts
β β ββ webview.html
β ββ util/
β ββ fs.ts
β ββ diff.ts
ββ README.md</code>
</pre>
</div>
</div>
</section>
<!-- Installation Guide -->
<section class="py-20 px-4 bg-gray-800 bg-opacity-50">
<div class="max-w-6xl mx-auto">
<h2 class="text-4xl font-bold text-center mb-12 bg-gradient-to-r from-pink-400 to-purple-500 bg-clip-text text-transparent">
Quick Start
</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
<div class="bg-gray-900 rounded-lg p-8">
<h3 class="text-2xl font-semibold mb-6 text-purple-400">
<i data-feather="download" class="inline mr-2"></i>
Installation
</h3>
<div class="space-y-4">
<div class="bg-gray-800 rounded p-4">
<p class="text-gray-400 mb-2">Prerequisites:</p>
<ul class="text-gray-300 space-y-1">
<li>β’ VS Code 1.92.0+</li>
<li>β’ Node.js 18+</li>
</ul>
</div>
<div class="bg-gray-800 rounded p-4">
<p class="text-gray-400 mb-2">Install dependencies:</p>
<code class="text-blue-400 font-mono text-sm">npm i</code>
</div>
<div class="bg-gray-800 rounded p-4">
<p class="text-gray-400 mb-2">Build in watch mode:</p>
<code class="text-blue-400 font-mono text-sm">npm run watch</code>
</div>
<div class="bg-gray-800 rounded p-4">
<p class="text-gray-400 mb-2">Press F5 to launch extension</p>
</div>
</div>
</div>
<div class="bg-gray-900 rounded-lg p-8">
<h3 class="text-2xl font-semibold mb-6 text-blue-400">
<i data-feather="settings" class="inline mr-2"></i>
Configuration
</h3>
<div class="space-y-4">
<div class="bg-gray-800 rounded p-4">
<p class="text-gray-400 mb-2">Select provider:</p>
<code class="text-blue-400 font-mono text-sm">aiBuilder.provider</code>
<p class="text-gray-500 text-sm mt-1">Options: openai, anthropic, gemini</p>
</div>
<div class="bg-gray-800 rounded p-4">
<p class="text-gray-400 mb-2">Set API Key:</p>
<code class="text-blue-400 font-mono text-sm">aiBuilder.apiKey</code>
<p class="text-gray-500 text-sm mt-1">Stored securely in VS Code SecretStorage</p>
</div>
<div class="bg-gray-800 rounded p-4">
<p class="text-gray-400 mb-2">Enable safe mode:</p>
<code class="text-blue-400 font-mono text-sm">aiBuilder.dryRun: true</code>
<p class="text-gray-500 text-sm mt-1">Preview changes before applying</p>
</div>
</div>
</div>
</div>
</div>
</section>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>feather.replace();</script>
<script>
VANTA.GLOBE({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x7c3aed,
backgroundColor: 0x111827,
size: 0.80
})
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html> |