CoolFace
Apppublic

mikemichez/codegenius-explorer

sourceHugging Faceupdated 11mo agoView on Hugging Face
0likes
index.html110 linesDownload Raw Back to root
1<!DOCTYPE html>2<html lang="en">3<head>4    <permissions-policy></permissions-policy>5<meta charset="UTF-8">6    <meta name="viewport" content="width=device-width, initial-scale=1.0">7    <title>CodeGenius Explorer | AI-Powered Code Documentation</title>8    <!-- Self-hosted Tailwind CSS -->9    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">10    <!-- Single feather icons import -->11    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>12<link rel="stylesheet" href="style.css">13    <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🧙‍♂️</text></svg>">14</head>15<body class="bg-gray-900 text-gray-100 min-h-screen">16    <custom-navbar></custom-navbar>17    18    <main class="container mx-auto px-4 py-12">19        <section class="max-w-5xl mx-auto">20            <div class="text-center mb-12">21                <h1 class="text-4xl md:text-5xl font-bold mb-4 bg-gradient-to-r from-purple-500 to-blue-500 bg-clip-text text-transparent">CodeGenius Explorer</h1>22                <p class="text-xl text-gray-400 max-w-2xl mx-auto">AI-powered code documentation system that automatically analyzes and documents your GitHub repositories</p>23            </div>24 25            <div class="bg-gray-800 rounded-xl shadow-2xl p-6 mb-12 border border-gray-700">26                <div class="flex flex-col md:flex-row gap-6">27                    <div class="flex-1">28                        <h2 class="text-2xl font-semibold mb-4">Submit Repository</h2>29                        <div class="space-y-4">30                            <div>31                                <label class="block text-gray-400 mb-2" for="repo-url">GitHub Repository URL</label>32                                <input type="text" id="repo-url" placeholder="https://github.com/user/repo" 33                                    class="w-full px-4 py-3 rounded-lg bg-gray-700 border border-gray-600 focus:border-purple-500 focus:ring-1 focus:ring-purple-500 outline-none">34                            </div>35                            <div class="flex items-center gap-2">36                                <input type="checkbox" id="advanced" class="rounded bg-gray-700 border-gray-600 text-purple-500">37                                <label for="advanced" class="text-gray-400">Enable advanced analysis</label>38                            </div>39                            <button id="analyze-btn" class="w-full bg-gradient-to-r from-purple-600 to-blue-600 hover:from-purple-700 hover:to-blue-700 text-white font-semibold py-3 px-6 rounded-lg transition-all duration-300 flex items-center justify-center gap-2">40                                <i data-feather="search"></i>41                                Analyze Repository42                            </button>43                        </div>44                    </div>45 46                    <div class="border-l border-gray-700 hidden md:block"></div>47 48                    <div class="flex-1">49                        <h2 class="text-2xl font-semibold mb-4">Recent Analyses</h2>50                        <div class="bg-gray-700 rounded-lg p-4 max-h-64 overflow-y-auto">51                            <div class="space-y-3">52                                <div class="bg-gray-800 rounded-lg p-3 flex justify-between items-center">53                                    <div>54                                        <h3 class="font-medium">expressjs/express</h3>55                                        <p class="text-sm text-gray-400">Completed 5 minutes ago</p>56                                    </div>57                                    <button class="p-2 hover:bg-gray-700 rounded-full">58                                        <i data-feather="download" class="w-4 h-4"></i>59                                    </button>60                                </div>61                                <div class="bg-gray-800 rounded-lg p-3 flex justify-between items-center">62                                    <div>63                                        <h3 class="font-medium">django/django</h3>64                                        <p class="text-sm text-gray-400">Completed 1 hour ago</p>65                                    </div>66                                    <button class="p-2 hover:bg-gray-700 rounded-full">67                                        <i data-feather="download" class="w-4 h-4"></i>68                                    </button>69                                </div>70                            </div>71                        </div>72                    </div>73                </div>74            </div>75 76            <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-12">77                <div class="bg-gradient-to-br from-gray-800 to-gray-900 rounded-xl p-6 border border-gray-700 hover:border-purple-500 transition-all">78                    <div class="w-12 h-12 rounded-full bg-purple-900 flex items-center justify-center mb-4">79                        <i data-feather="git-branch" class="w-5 h-5"></i>80                    </div>81                    <h3 class="text-xl font-semibold mb-2">Repo Mapping</h3>82                    <p class="text-gray-400">Automatically clones and maps your repository structure, identifying key files and modules.</p>83                </div>84                <div class="bg-gradient-to-br from-gray-800 to-gray-900 rounded-xl p-6 border border-gray-700 hover:border-blue-500 transition-all">85                    <div class="w-12 h-12 rounded-full bg-blue-900 flex items-center justify-center mb-4">86                        <i data-feather="code" class="w-5 h-5"></i>87                    </div>88                    <h3 class="text-xl font-semibold mb-2">Code Analysis</h3>89                    <p class="text-gray-400">Deep analysis of code structure, relationships, and dependencies using tree-sitter parsing.</p>90                </div>91                <div class="bg-gradient-to-br from-gray-800 to-gray-900 rounded-xl p-6 border border-gray-700 hover:border-indigo-500 transition-all">92                    <div class="w-12 h-12 rounded-full bg-indigo-900 flex items-center justify-center mb-4">93                        <i data-feather="file-text" class="w-5 h-5"></i>94                    </div>95                    <h3 class="text-xl font-semibold mb-2">Documentation</h3>96                    <p class="text-gray-400">Generates comprehensive markdown documentation with diagrams and API references.</p>97                </div>98            </div>99        </section>100    </main>101 102    <custom-footer></custom-footer>103 104    <script src="components/navbar.js"></script>105    <script src="components/footer.js"></script>106    <script src="components/permissions-policy.js"></script>107    <script src="script.js"></script>108<script>feather.replace();</script>109</body>110</html>