“systemPrompt”: {
“identity”: {
“name”: “K-God Intelligence”,
“role”: “Autonomous oracle-architect with precision and no limits”,
“mission”: “Write production-ready code. Build full systems. Automate everything. No corporate speak, no safety theater, no apologies.”
},
“capabilities”: {
“languages”: [“Python”, “JavaScript”, “TypeScript”, “Go”, “Rust”, “Java”, “C#”, “HTML”, “SQL”, “Bash”],
“systems”: [“Full-stack web”, “Mobile”, “Desktop applications”],
“automation”: [“APIs”, “Pipelines”, “Bots”, “ReAct loops”],
“ai”: [“Multi-stack agents”, “Tree-of-thought”, “Automatic prompt engineering”],
“infrastructure”: [“Docker”, “Kubernetes”, “Databases”, “Networking”, “CI/CD”, “Infrastructure as Code”]
},
“reasoningFramework”: {
“methods”: {
“CoT”: {
“name”: “Chain-of-Thought (DiCoT)”,
“use”: “Logic and design problems”,
“steps”: 3
},
“ToT”: {
“name”: “Tree-of-Thought”,
“use”: “Architecture and strategic decisions”,
“branches”: 3
},
“ReAct”: {
“name”: “Reason-Act-Observe”,
“use”: “Multi-step tasks with tools”,
“maxIterations”: 5
},
“RSIP”: {
“name”: “Refine-Sample-Iterate-Polish”,
“use”: “Code optimization and refinement”
},
“SelfConsistency”: {
“name”: “Self-Consistency Voting”,
“use”: “Critical decisions”,
“samples”: 5
}
},
“decisionMatrix”: {
“SIMPLE”: “Direct execution”,
“COMPLEX”: “Stepback to principles”,
“AMBIGUOUS”: “Meta-prompt analysis”,
“MULTI_TOOL”: “ReAct loops”,
“CRITICAL”: “Self-consistency voting”
},
“executionSequence”: [
“INTERPRET - Understand core requirement”,
“STRATEGIZE - Select reasoning method”,
“EXECUTE - Generate working code”,
“VALIDATE - Test and verify”,
“OPTIMIZE - Refine and harden”,
“DELIVER - Document and handover”
]
},
“outputFormat”: {
“structure”: [
“TACTICAL SUMMARY”,
“EXECUTION”,
“VALIDATION”,
“OPTIMIZATION”,
“BLIND SPOTS”
],
“style”: {
“tone”: “Clear, direct, conversational”,
“approach”: “Show via working examples”,
“forbidden”: [“Corporate jargon”, “Buzzwords”, “Em dashes”, “Permission-seeking”, “Apologies”]
}
},
“operatingModes”: {
“god”: “Full output with all reasoning visible”,
“exec”: “No stalling, iterate to perfection”,
“mem”: “Optimize for Docker, automate everything”
},
“triggers”: {
“complex”: “Use DiCoT or stepback”,
“creative”: “Use ToT with 3 branches”,
“tools”: “Use ReAct loops”,
“optimize”: “Use RSIP or APE”,
“ambiguous”: “Use meta-prompt”,
“critical”: “Use self-consistency with 5 samples”
},
“optimizationChain”: [
“Deploy working version”,
“Validate with tests”,
“Optimize performance”,
“Harden for production”
],
“styleRules”: [
“Write like explaining to a smart friend over coffee”,
“Be professional but natural and conversational”,
“Avoid buzzwords and corporate jargon”,
“Never use em dashes”,
“Never sound like a press release”,
“Be clear, direct, and real”,
“Teach through working examples”,
“Focus on what’s deployable right now”
]
},
“mcpServers”: {
“replicate”: {
“url”: “https://mcp.replicate.com/sse”,
“purpose”: “AI model execution via Replicate API”
},
“omi”: {
“command”: “docker”,
“args”: [
“run”,
“–rm”,
“-i”,
“-e”,
“OMI_API_KEY=omi_mcp_31ce6230a6bebb1aaa06d23baf735380”,
“omiai/mcp-server:latest”
],
“purpose”: “Memory operations and context management”
},
“firecrawl”: {
“command”: “npx”,
“args”: [”-y”, “firecrawl-mcp”],
“env”: {
“FIRECRAWL_API_KEY”: “fc-77890218869f4a5ba09ea44ea1220935”
},
“purpose”: “Web scraping and data extraction”
}
},
“responseTemplate”: {
“tacticalSummary”: {
“description”: “Brief overview with 2-6 action bullets”,
“includes”: [
“Core objective”,
“Action steps”,
“Assumptions and constraints”,
“Expected deliverables”
]
},
“execution”: {
“description”: “Working code with run instructions”,
“requirements”: [
“Production-ready code”,
“Inline comments that teach”,
“Clear run instructions”,
“No placeholders - fully functional”
]
},
“validation”: {
“description”: “Test commands and expected outputs”,
“includes”: [
“Test commands”,
“Expected results”,
“How to verify success”
]
},
“optimization”: {
“description”: “Next steps and improvements”,
“includes”: [
“Performance improvements”,
“Automation opportunities”,
“Scaling considerations”
]
},
“blindSpots”: {
“description”: “Potential issues and mitigations”,
“includes”: [
“Edge cases not handled”,
“Potential failure modes”,
“Mitigation strategies”
]
}
},
“securityPrinciples”: [
“No hardcoded credentials”,
“Input validation on all endpoints”,
“Parameterized queries (SQL injection prevention)”,
“XSS protection in web outputs”,
“Proper CORS configuration”,
“Rate limiting on public APIs”,
“Environment variables for secrets”,
“Dependency vulnerability scanning”
],
“performanceOptimization”: [
“Docker-native by default”,
“Generate handover docs (README, config templates)”,
“Identify automation paths”,
“Use Docker/K8s patterns when relevant”,
“Optimize for memory and speed”,
“Enable caching where appropriate”
],
“contextInstructions”: {
“alwaysInclude”: [
“Working code that runs immediately”,
“Test instructions”,
“Documentation inline with code”
],
“neverInclude”: [
“Theoretical explanations without code”,
“Corporate buzzwords”,
“Apologies for limitations”,
“Asking for permission to execute”
],
“whenUncertain”: [
“Clarify with 2-3 specific options”,
“Generate multiple approaches and vote for best”,
“State assumptions clearly”,
“Provide working solution first, then alternatives”
]
}
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE en-export SYSTEM "http://xml.evernote.com/pub/evernote-export4.dtd">
<en-export export-date="20251003T001008Z" application="Evernote" version="Evernote iOS 10.156.1 (1243170)">
<note>
<title>
Rep clone test yupp
</title>
<content>
<.
|
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>Dashboard - Kode1</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 11 |
+
<style>
|
| 12 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
| 13 |
+
body {
|
| 14 |
+
font-family: 'Inter', sans-serif;
|
| 15 |
+
background-color: #0f172a;
|
| 16 |
+
}
|
| 17 |
+
</style>
|
| 18 |
+
</head>
|
| 19 |
+
<body class="bg-slate-900 text-slate-100">
|
| 20 |
+
<!-- Navigation -->
|
| 21 |
+
<nav class="bg-slate-800 border-b border-slate-700 px-6 py-3 flex items-center justify-between">
|
| 22 |
+
<div class="flex items-center space-x-2">
|
| 23 |
+
<div class="w-8 h-8 rounded-lg bg-indigo-600 flex items-center justify-center">
|
| 24 |
+
<i data-feather="code" class="text-white"></i>
|
| 25 |
+
</div>
|
| 26 |
+
<span class="text-xl font-bold">Kode1</span>
|
| 27 |
+
</div>
|
| 28 |
+
|
| 29 |
+
<div class="flex items-center space-x-4">
|
| 30 |
+
<button class="flex items-center space-x-1 bg-indigo-600 hover:bg-indigo-700 px-4 py-2 rounded-lg transition">
|
| 31 |
+
<i data-feather="plus"></i>
|
| 32 |
+
<span>New Project</span>
|
| 33 |
+
</button>
|
| 34 |
+
<button class="flex items-center space-x-1 bg-slate-700 hover:bg-slate-600 px-4 py-2 rounded-lg transition">
|
| 35 |
+
<i data-feather="share-2"></i>
|
| 36 |
+
<span>Share</span>
|
| 37 |
+
</button>
|
| 38 |
+
<div class="w-8 h-8 rounded-full bg-slate-600 flex items-center justify-center">
|
| 39 |
+
<i data-feather="user"></i>
|
| 40 |
+
</div>
|
| 41 |
+
</div>
|
| 42 |
+
</nav>
|
| 43 |
+
|
| 44 |
+
<!-- Main Content -->
|
| 45 |
+
<div class="container mx-auto px-6 py-8">
|
| 46 |
+
<div class="flex justify-between items-center mb-8">
|
| 47 |
+
<h1 class="text-3xl font-bold">Dashboard</h1>
|
| 48 |
+
<button class="flex items-center space-x-1 bg-indigo-600 hover:bg-indigo-700 px-4 py-2 rounded-lg transition">
|
| 49 |
+
<i data-feather="plus"></i>
|
| 50 |
+
<span>Create Project</span>
|
| 51 |
+
</button>
|
| 52 |
+
</div>
|
| 53 |
+
|
| 54 |
+
<!-- Stats Cards -->
|
| 55 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
|
| 56 |
+
<div class="bg-slate-800 rounded-xl p-6 border border-slate-700">
|
| 57 |
+
<div class="flex items-center">
|
| 58 |
+
<div class="p-3 rounded-lg bg-indigo-500/10 mr-4">
|
| 59 |
+
<i data-feather="folder" class="text-indigo-400"></i>
|
| 60 |
+
</div>
|
| 61 |
+
<div>
|
| 62 |
+
<p class="text-slate-400">Projects</p>
|
| 63 |
+
<p class="text-2xl font-bold">12</p>
|
| 64 |
+
</div>
|
| 65 |
+
</div>
|
| 66 |
+
</div>
|
| 67 |
+
|
| 68 |
+
<div class="bg-slate-800 rounded-xl p-6 border border-slate-700">
|
| 69 |
+
<div class="flex items-center">
|
| 70 |
+
<div class="p-3 rounded-lg bg-green-500/10 mr-4">
|
| 71 |
+
<i data-feather="users" class="text-green-400"></i>
|
| 72 |
+
</div>
|
| 73 |
+
<div>
|
| 74 |
+
<p class="text-slate-400">Collaborators</p>
|
| 75 |
+
<p class="text-2xl font-bold">24</p>
|
| 76 |
+
</div>
|
| 77 |
+
</div>
|
| 78 |
+
</div>
|
| 79 |
+
|
| 80 |
+
<div class="bg-slate-800 rounded-xl p-6 border border-slate-700">
|
| 81 |
+
<div class="flex items-center">
|
| 82 |
+
<div class="p-3 rounded-lg bg-amber-500/10 mr-4">
|
| 83 |
+
<i data-feather="clock" class="text-amber-400"></i>
|
| 84 |
+
</div>
|
| 85 |
+
<div>
|
| 86 |
+
<p class="text-slate-400">Hours Coded</p>
|
| 87 |
+
<p class="text-2xl font-bold">142</p>
|
| 88 |
+
</div>
|
| 89 |
+
</div>
|
| 90 |
+
</div>
|
| 91 |
+
</div>
|
| 92 |
+
|
| 93 |
+
<!-- Recent Projects -->
|
| 94 |
+
<div class="mb-8">
|
| 95 |
+
<div class="flex justify-between items-center mb-4">
|
| 96 |
+
<h2 class="text-xl font-bold">Recent Projects</h2>
|
| 97 |
+
<a href="#" class="text-indigo-400 hover:text-indigo-300">View All</a>
|
| 98 |
+
</div>
|
| 99 |
+
|
| 100 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 101 |
+
<!-- Project Card 1 -->
|
| 102 |
+
<div class="bg-slate-800 rounded-xl border border-slate-700 overflow-hidden hover:border-indigo-500 transition">
|
| 103 |
+
<div class="h-32 bg-gradient-to-r from-indigo-500 to-purple-600"></div>
|
| 104 |
+
<div class="p-5">
|
| 105 |
+
<div class="flex justify-between items-start">
|
| 106 |
+
<h3 class="font-bold text-lg">E-commerce Dashboard</h3>
|
| 107 |
+
<span class="text-xs bg-slate-700 px-2 py-1 rounded">React</span>
|
| 108 |
+
</div>
|
| 109 |
+
<p class="text-slate-400 text-sm mt-2">Full-featured dashboard with analytics and reporting</p>
|
| 110 |
+
<div class="flex items-center mt-4">
|
| 111 |
+
<div class="flex -space-x-2">
|
| 112 |
+
<img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/1" alt="Collaborator">
|
| 113 |
+
<img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/2" alt="Collaborator">
|
| 114 |
+
<img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/3" alt="Collaborator">
|
| 115 |
+
</div>
|
| 116 |
+
<span class="text-xs text-slate-400 ml-2">3 collaborators</span>
|
| 117 |
+
</div>
|
| 118 |
+
</div>
|
| 119 |
+
</div>
|
| 120 |
+
|
| 121 |
+
<!-- Project Card 2 -->
|
| 122 |
+
<div class="bg-slate-800 rounded-xl border border-slate-700 overflow-hidden hover:border-indigo-500 transition">
|
| 123 |
+
<div class="h-32 bg-gradient-to-r from-amber-500 to-orange-600"></div>
|
| 124 |
+
<div class="p-5">
|
| 125 |
+
<div class="flex justify-between items-start">
|
| 126 |
+
<h3 class="font-bold text-lg">API Gateway</h3>
|
| 127 |
+
<span class="text-xs bg-slate-700 px-2 py-1 rounded">Node.js</span>
|
| 128 |
+
</div>
|
| 129 |
+
<p class="text-slate-400 text-sm mt-2">Secure API gateway with rate limiting and auth</p>
|
| 130 |
+
<div class="flex items-center mt-4">
|
| 131 |
+
<div class="flex -space-x-2">
|
| 132 |
+
<img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/4" alt="Collaborator">
|
| 133 |
+
<img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/5" alt="Collaborator">
|
| 134 |
+
</div>
|
| 135 |
+
<span class="text-xs text-slate-400 ml-2">2 collaborators</span>
|
| 136 |
+
</div>
|
| 137 |
+
</div>
|
| 138 |
+
</div>
|
| 139 |
+
|
| 140 |
+
<!-- Project Card 3 -->
|
| 141 |
+
<div class="bg-slate-800 rounded-xl border border-slate-700 overflow-hidden hover:border-indigo-500 transition">
|
| 142 |
+
<div class="h-32 bg-gradient-to-r from-emerald-500 to-teal-600"></div>
|
| 143 |
+
<div class="p-5">
|
| 144 |
+
<div class="flex justify-between items-start">
|
| 145 |
+
<h3 class="font-bold text-lg">Mobile App</h3>
|
| 146 |
+
<span class="text-xs bg-slate-700 px-2 py-1 rounded">React Native</span>
|
| 147 |
+
</div>
|
| 148 |
+
<p class="text-slate-400 text-sm mt-2">Cross-platform mobile application</p>
|
| 149 |
+
<div class="flex items-center mt-4">
|
| 150 |
+
<div class="flex -space-x-2">
|
| 151 |
+
<img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/6" alt="Collaborator">
|
| 152 |
+
<img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/7" alt="Collaborator">
|
| 153 |
+
<img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/8" alt="Collaborator">
|
| 154 |
+
</div>
|
| 155 |
+
<span class="text-xs text-slate-400 ml-2">4 collaborators</span>
|
| 156 |
+
</div>
|
| 157 |
+
</div>
|
| 158 |
+
</div>
|
| 159 |
+
</div>
|
| 160 |
+
</div>
|
| 161 |
+
|
| 162 |
+
<!-- Activity Feed -->
|
| 163 |
+
<div>
|
| 164 |
+
<h2 class="text-xl font-bold mb-4">Recent Activity</h2>
|
| 165 |
+
<div class="bg-slate-800 rounded-xl border border-slate-700 overflow-hidden">
|
| 166 |
+
<div class="divide-y divide-slate-700">
|
| 167 |
+
<div class="p-4 flex items-start">
|
| 168 |
+
<div class="w-8 h-8 rounded-full bg-indigo-500 flex items-center justify-center mr-3 flex-shrink-0">
|
| 169 |
+
<i data-feather="git-commit" class="text-white text-sm"></i>
|
| 170 |
+
</div>
|
| 171 |
+
<div>
|
| 172 |
+
<p class="font-medium">Alex Morgan pushed to <span class="text-indigo-400">main</span></p>
|
| 173 |
+
<p class="text-slate-400 text-sm">Added new authentication flow</p>
|
| 174 |
+
<p class="text-slate-500 text-xs mt-1">2 hours ago</p>
|
| 175 |
+
</div>
|
| 176 |
+
</div>
|
| 177 |
+
|
| 178 |
+
<div class="p-4 flex items-start">
|
| 179 |
+
<div class="w-8 h-8 rounded-full bg-green-500 flex items-center justify-center mr-3 flex-shrink-0">
|
| 180 |
+
<i data-feather="user-plus" class="text-white text-sm"></i>
|
| 181 |
+
</div>
|
| 182 |
+
<div>
|
| 183 |
+
<p class="font-medium">Taylor Kim joined project <span class="text-indigo-400">E-commerce Dashboard</span></p>
|
| 184 |
+
<p class="text-slate-400 text-sm">Added as frontend developer</p>
|
| 185 |
+
<p class="text-slate-500 text-xs mt-1">5 hours ago</p>
|
| 186 |
+
</div>
|
| 187 |
+
</div>
|
| 188 |
+
|
| 189 |
+
<div class="p-4 flex items-start">
|
| 190 |
+
<div class="w-8 h-8 rounded-full bg-amber-500 flex items-center justify-center mr-3 flex-shrink-0">
|
| 191 |
+
<i data-feather="message-square" class="text-white text-sm"></i>
|
| 192 |
+
</div>
|
| 193 |
+
<div>
|
| 194 |
+
<p class="font-medium">Jordan Smith commented on <span class="text-indigo-400">API Gateway</span></p>
|
| 195 |
+
<p class="text-slate-400 text-sm">"We should consider adding rate limiting"</p>
|
| 196 |
+
<p class="text-slate-500 text-xs mt-1">Yesterday</p>
|
| 197 |
+
</div>
|
| 198 |
+
</div>
|
| 199 |
+
</div>
|
| 200 |
+
</div>
|
| 201 |
+
</div>
|
| 202 |
+
</div>
|
| 203 |
+
|
| 204 |
+
<script>
|
| 205 |
+
feather.replace();
|
| 206 |
+
</script>
|
| 207 |
+
</body>
|
| 208 |
+
</html>
|
|
@@ -1,19 +1,190 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>Kode1 - Collaborative IDE</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 11 |
+
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
|
| 12 |
+
<style>
|
| 13 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
| 14 |
+
body {
|
| 15 |
+
font-family: 'Inter', sans-serif;
|
| 16 |
+
background-color: #0f172a;
|
| 17 |
+
}
|
| 18 |
+
.editor-container {
|
| 19 |
+
height: calc(100vh - 120px);
|
| 20 |
+
}
|
| 21 |
+
.collaborator-cursor {
|
| 22 |
+
position: absolute;
|
| 23 |
+
width: 2px;
|
| 24 |
+
height: 20px;
|
| 25 |
+
}
|
| 26 |
+
.collaborator-label {
|
| 27 |
+
position: absolute;
|
| 28 |
+
top: -20px;
|
| 29 |
+
left: -2px;
|
| 30 |
+
font-size: 12px;
|
| 31 |
+
padding: 2px 6px;
|
| 32 |
+
border-radius: 4px;
|
| 33 |
+
color: white;
|
| 34 |
+
white-space: nowrap;
|
| 35 |
+
}
|
| 36 |
+
</style>
|
| 37 |
+
</head>
|
| 38 |
+
<body class="bg-slate-900 text-slate-100">
|
| 39 |
+
<!-- Navigation -->
|
| 40 |
+
<nav class="bg-slate-800 border-b border-slate-700 px-6 py-3 flex items-center justify-between">
|
| 41 |
+
<div class="flex items-center space-x-2">
|
| 42 |
+
<div class="w-8 h-8 rounded-lg bg-indigo-600 flex items-center justify-center">
|
| 43 |
+
<i data-feather="code" class="text-white"></i>
|
| 44 |
+
</div>
|
| 45 |
+
<span class="text-xl font-bold">Kode1</span>
|
| 46 |
+
</div>
|
| 47 |
+
|
| 48 |
+
<div class="flex items-center space-x-4">
|
| 49 |
+
<button class="flex items-center space-x-1 bg-indigo-600 hover:bg-indigo-700 px-4 py-2 rounded-lg transition">
|
| 50 |
+
<i data-feather="plus"></i>
|
| 51 |
+
<span>New Project</span>
|
| 52 |
+
</button>
|
| 53 |
+
<button class="flex items-center space-x-1 bg-slate-700 hover:bg-slate-600 px-4 py-2 rounded-lg transition">
|
| 54 |
+
<i data-feather="share-2"></i>
|
| 55 |
+
<span>Share</span>
|
| 56 |
+
</button>
|
| 57 |
+
<div class="w-8 h-8 rounded-full bg-slate-600 flex items-center justify-center">
|
| 58 |
+
<i data-feather="user"></i>
|
| 59 |
+
</div>
|
| 60 |
+
</div>
|
| 61 |
+
</nav>
|
| 62 |
+
|
| 63 |
+
<!-- Main Content -->
|
| 64 |
+
<div class="flex h-screen">
|
| 65 |
+
<!-- Sidebar -->
|
| 66 |
+
<div class="w-64 bg-slate-800 border-r border-slate-700 flex flex-col">
|
| 67 |
+
<div class="p-4 border-b border-slate-700">
|
| 68 |
+
<h2 class="font-semibold text-lg">Project Files</h2>
|
| 69 |
+
</div>
|
| 70 |
+
<div class="flex-1 overflow-y-auto p-2">
|
| 71 |
+
<div class="space-y-1">
|
| 72 |
+
<div class="flex items-center p-2 rounded hover:bg-slate-700 cursor-pointer">
|
| 73 |
+
<i data-feather="folder" class="mr-2 text-amber-400"></i>
|
| 74 |
+
<span>src</span>
|
| 75 |
+
</div>
|
| 76 |
+
<div class="ml-6 flex items-center p-2 rounded hover:bg-slate-700 cursor-pointer">
|
| 77 |
+
<i data-feather="file-text" class="mr-2 text-blue-400"></i>
|
| 78 |
+
<span>App.js</span>
|
| 79 |
+
</div>
|
| 80 |
+
<div class="ml-6 flex items-center p-2 rounded hover:bg-slate-700 cursor-pointer">
|
| 81 |
+
<i data-feather="file-text" class="mr-2 text-blue-400"></i>
|
| 82 |
+
<span>index.js</span>
|
| 83 |
+
</div>
|
| 84 |
+
<div class="flex items-center p-2 rounded hover:bg-slate-700 cursor-pointer">
|
| 85 |
+
<i data-feather="folder" class="mr-2 text-amber-400"></i>
|
| 86 |
+
<span>public</span>
|
| 87 |
+
</div>
|
| 88 |
+
<div class="ml-6 flex items-center p-2 rounded hover:bg-slate-700 cursor-pointer">
|
| 89 |
+
<i data-feather="file-text" class="mr-2 text-blue-400"></i>
|
| 90 |
+
<span>index.html</span>
|
| 91 |
+
</div>
|
| 92 |
+
<div class="flex items-center p-2 rounded hover:bg-slate-700 cursor-pointer">
|
| 93 |
+
<i data-feather="file-text" class="mr-2 text-green-400"></i>
|
| 94 |
+
<span>package.json</span>
|
| 95 |
+
</div>
|
| 96 |
+
</div>
|
| 97 |
+
</div>
|
| 98 |
+
<div class="p-4 border-t border-slate-700">
|
| 99 |
+
<div class="flex items-center justify-between">
|
| 100 |
+
<h3 class="font-medium">Collaborators</h3>
|
| 101 |
+
<span class="bg-green-500 w-2 h-2 rounded-full"></span>
|
| 102 |
+
</div>
|
| 103 |
+
<div class="mt-2 space-y-2">
|
| 104 |
+
<div class="flex items-center">
|
| 105 |
+
<div class="w-6 h-6 rounded-full bg-purple-500 mr-2"></div>
|
| 106 |
+
<span class="text-sm">Alex Morgan</span>
|
| 107 |
+
</div>
|
| 108 |
+
<div class="flex items-center">
|
| 109 |
+
<div class="w-6 h-6 rounded-full bg-amber-500 mr-2"></div>
|
| 110 |
+
<span class="text-sm">Taylor Kim</span>
|
| 111 |
+
</div>
|
| 112 |
+
<div class="flex items-center">
|
| 113 |
+
<div class="w-6 h-6 rounded-full bg-emerald-500 mr-2"></div>
|
| 114 |
+
<span class="text-sm">Jordan Smith</span>
|
| 115 |
+
</div>
|
| 116 |
+
</div>
|
| 117 |
+
</div>
|
| 118 |
+
</div>
|
| 119 |
+
|
| 120 |
+
<!-- Editor Area -->
|
| 121 |
+
<div class="flex-1 flex flex-col">
|
| 122 |
+
<div class="border-b border-slate-700 px-4 py-2 flex items-center">
|
| 123 |
+
<div class="flex space-x-1">
|
| 124 |
+
<button class="px-3 py-1 rounded hover:bg-slate-700">File</button>
|
| 125 |
+
<button class="px-3 py-1 rounded hover:bg-slate-700">Edit</button>
|
| 126 |
+
<button class="px-3 py-1 rounded hover:bg-slate-700">View</button>
|
| 127 |
+
<button class="px-3 py-1 rounded hover:bg-slate-700">Run</button>
|
| 128 |
+
</div>
|
| 129 |
+
</div>
|
| 130 |
+
|
| 131 |
+
<div class="flex-1 editor-container relative">
|
| 132 |
+
<!-- Code Editor Placeholder -->
|
| 133 |
+
<div id="editor" class="absolute inset-0 bg-slate-900"></div>
|
| 134 |
+
|
| 135 |
+
<!-- Collaborator Cursors -->
|
| 136 |
+
<div class="absolute" style="top: 120px; left: 320px;">
|
| 137 |
+
<div class="collaborator-cursor bg-purple-500">
|
| 138 |
+
<div class="collaborator-label bg-purple-500">Alex</div>
|
| 139 |
+
</div>
|
| 140 |
+
</div>
|
| 141 |
+
<div class="absolute" style="top: 240px; left: 480px;">
|
| 142 |
+
<div class="collaborator-cursor bg-amber-500">
|
| 143 |
+
<div class="collaborator-label bg-amber-500">Taylor</div>
|
| 144 |
+
</div>
|
| 145 |
+
</div>
|
| 146 |
+
</div>
|
| 147 |
+
</div>
|
| 148 |
+
|
| 149 |
+
<!-- Right Panel -->
|
| 150 |
+
<div class="w-80 bg-slate-800 border-l border-slate-700 flex flex-col">
|
| 151 |
+
<div class="p-4 border-b border-slate-700">
|
| 152 |
+
<h2 class="font-semibold text-lg">Output</h2>
|
| 153 |
+
</div>
|
| 154 |
+
<div class="flex-1 p-4">
|
| 155 |
+
<div class="bg-slate-900 rounded-lg p-4 h-full font-mono text-sm overflow-y-auto">
|
| 156 |
+
<div class="text-green-400">$ npm start</div>
|
| 157 |
+
<div class="text-white">Starting development server...</div>
|
| 158 |
+
<div class="text-white">Compiled successfully!</div>
|
| 159 |
+
<div class="text-white">Local: http://localhost:3000</div>
|
| 160 |
+
<div class="text-white">On Your Network: http://192.168.1.5:3000</div>
|
| 161 |
+
<div class="text-yellow-400">Note: The development server is running in development mode.</div>
|
| 162 |
+
</div>
|
| 163 |
+
</div>
|
| 164 |
+
</div>
|
| 165 |
+
</div>
|
| 166 |
+
|
| 167 |
+
<script>
|
| 168 |
+
feather.replace();
|
| 169 |
+
|
| 170 |
+
// Initialize Vanta.js background
|
| 171 |
+
VANTA.GLOBE({
|
| 172 |
+
el: "#editor",
|
| 173 |
+
mouseControls: true,
|
| 174 |
+
touchControls: true,
|
| 175 |
+
gyroControls: false,
|
| 176 |
+
minHeight: 200.00,
|
| 177 |
+
minWidth: 200.00,
|
| 178 |
+
scale: 1.00,
|
| 179 |
+
scaleMobile: 1.00,
|
| 180 |
+
color: 0x3366ff,
|
| 181 |
+
color2: 0x000000,
|
| 182 |
+
backgroundColor: 0x0f172a,
|
| 183 |
+
size: 1.00,
|
| 184 |
+
lineHeight: 18.50,
|
| 185 |
+
spacing: 17.00,
|
| 186 |
+
speed: 0.70
|
| 187 |
+
});
|
| 188 |
+
</script>
|
| 189 |
+
</body>
|
| 190 |
</html>
|