Spaces:
Running

File size: 5,083 Bytes
1b57866
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>GitHub Clone Wizard</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
    <style>
        .vanta-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }
        .glass-card {
            backdrop-filter: blur(16px) saturate(180%);
            -webkit-backdrop-filter: blur(16px) saturate(180%);
            background-color: rgba(255, 255, 255, 0.75);
            border-radius: 12px;
            border: 1px solid rgba(209, 213, 219, 0.3);
        }
    </style>
</head>
<body class="min-h-screen">
    <div id="vanta-bg" class="vanta-bg"></div>
    
    <div class="container mx-auto px-4 py-12">
        <div class="max-w-3xl mx-auto text-center mb-12">
            <h1 class="text-4xl md:text-5xl font-bold text-gray-800 mb-4">GitHub Clone Wizard</h1>
            <p class="text-xl text-gray-600">Clone, improve, and deploy your GitHub projects with magic ✨</p>
        </div>

        <div class="glass-card px-8 py-10 max-w-2xl mx-auto">
            <div class="mb-8">
                <h2 class="text-2xl font-semibold text-gray-800 mb-4">Enter GitHub Repository URL</h2>
                <div class="flex items-center gap-3">
                    <input type="text" id="repoUrl" placeholder="https://github.com/username/repository" 
                           class="flex-grow px-4 py-3 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500">
                    <button id="cloneBtn" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-3 rounded-lg font-medium transition flex items-center gap-2">
                        <i data-feather="git-branch"></i> Clone
                    </button>
                </div>
            </div>

            <div id="progressSection" class="hidden mb-8">
                <h3 class="text-lg font-medium text-gray-700 mb-3">Cloning Progress</h3>
                <div class="w-full bg-gray-200 rounded-full h-2.5">
                    <div id="progressBar" class="bg-blue-600 h-2.5 rounded-full" style="width: 0%"></div>
                </div>
                <p id="statusText" class="text-sm text-gray-600 mt-2">Preparing to clone...</p>
            </div>

            <div id="optionsSection" class="hidden">
                <h3 class="text-xl font-semibold text-gray-800 mb-4">Improvement Options</h3>
                <div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-6">
                    <label class="flex items-center bg-gray-50 rounded-lg p-4 cursor-pointer">
                        <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" checked>
                        <span class="ml-3 text-gray-700">Code Refactoring</span>
                    </label>
                    <label class="flex items-center bg-gray-50 rounded-lg p-4 cursor-pointer">
                        <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" checked>
                        <span class="ml-3 text-gray-700">Performance Optimization</span>
                    </label>
                    <label class="flex items-center bg-gray-50 rounded-lg p-4 cursor-pointer">
                        <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600">
                        <span class="ml-3 text-gray-700">UI/UX Improvements</span>
                    </label>
                    <label class="flex items-center bg-gray-50 rounded-lg p-4 cursor-pointer">
                        <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600">
                        <span class="ml-3 text-gray-700">Add Documentation</span>
                    </label>
                </div>

                <div class="flex flex-col sm:flex-row gap-3 justify-end">
                    <button id="previewBtn" class="bg-gray-200 hover:bg-gray-300 text-gray-800 px-6 py-2 rounded-lg font-medium transition flex items-center gap-2">
                        <i data-feather="eye"></i> Preview
                    </button>
                    <button id="deployBtn" class="bg-green-600 hover:bg-green-700 text-white px-6 py-2 rounded-lg font-medium transition flex items-center gap-2">
                        <i data-feather="cloud"></i> Deploy
                    </button>
                </div>
            </div>
        </div>

        <div class="mt-12 glass-card px-8 py-8 max-w-2xl mx-auto">
            <h3 class="text-xl font-semibold text-gray-800 mb-4">Recent Improvements</h3>
            <div class="space-y-4">
                <div class="flex items-start gap-4 p
</body>
</html>