-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.html
More file actions
211 lines (182 loc) · 6.92 KB
/
install.html
File metadata and controls
211 lines (182 loc) · 6.92 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Install Bleuprint - One Command Setup</title>
<meta name="description" content="Install Bleuprint with one command. Bootstrap your Mac with 120+ modern developer tools.">
<!-- Auto-redirect after 3 seconds -->
<meta http-equiv="refresh" content="3;url=https://github.com/bleulabs/bleuprint">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-align: center;
padding: 20px;
}
.container {
max-width: 800px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
padding: 3rem;
border-radius: 20px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.logo {
width: 80px;
height: 80px;
margin: 0 auto 2rem;
border-radius: 16px;
}
h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
font-weight: 700;
}
p {
font-size: 1.2rem;
margin-bottom: 2rem;
opacity: 0.9;
}
.install-command {
background: rgba(0, 0, 0, 0.5);
padding: 1.5rem;
border-radius: 12px;
margin: 2rem 0;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-size: 1rem;
color: #00ff88;
word-break: break-all;
position: relative;
}
.copy-btn {
position: absolute;
top: 10px;
right: 10px;
background: rgba(255, 255, 255, 0.2);
border: none;
color: white;
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
font-size: 0.8rem;
}
.copy-btn:hover {
background: rgba(255, 255, 255, 0.3);
}
.warning {
background: rgba(255, 193, 7, 0.2);
border: 1px solid rgba(255, 193, 7, 0.5);
padding: 1rem;
border-radius: 8px;
margin: 1rem 0;
font-size: 0.9rem;
}
.links {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
margin-top: 2rem;
}
.btn {
padding: 12px 24px;
background: rgba(255, 255, 255, 0.2);
color: white;
text-decoration: none;
border-radius: 8px;
transition: all 0.3s;
border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn:hover {
background: rgba(255, 255, 255, 0.3);
transform: translateY(-2px);
}
.redirect-notice {
font-size: 0.9rem;
opacity: 0.7;
margin-top: 2rem;
}
</style>
</head>
<body>
<div class="container">
<img src="assets/image.png" alt="Bleuprint" class="logo">
<h1>Install Bleuprint</h1>
<p>One command to bootstrap your Mac with 120+ modern developer tools</p>
<div class="warning">
⚠️ <strong>Security Notice:</strong> Always review scripts before running them.
<a href="https://github.com/bleulabs/bleuprint/blob/master/scripts/quick-install.sh" style="color: #fff; text-decoration: underline;">View the script source</a> first.
</div>
<div class="install-command" id="installCommand">
<button class="copy-btn" onclick="copyCommand()">Copy</button>
curl -fsSL https://bleulabs.github.io/bleuprint/install.sh | bash
</div>
<div class="links">
<a href="https://github.com/bleulabs/bleuprint" class="btn">📁 View Repository</a>
<a href="https://bleulabs.github.io/bleuprint/docs/" class="btn">📖 Documentation</a>
<a href="https://github.com/new?template_name=bleuprint&template_owner=bleulabs" class="btn">🚀 Use Template</a>
</div>
<div class="redirect-notice">
Redirecting to GitHub repository in <span id="countdown">3</span> seconds...
</div>
</div>
<script>
function copyCommand() {
const command = document.getElementById('installCommand').textContent.trim();
const cleanCommand = command.replace('Copy', '').trim();
navigator.clipboard.writeText(cleanCommand).then(() => {
const btn = document.querySelector('.copy-btn');
const originalText = btn.textContent;
btn.textContent = 'Copied!';
btn.style.background = 'rgba(40, 167, 69, 0.8)';
setTimeout(() => {
btn.textContent = originalText;
btn.style.background = 'rgba(255, 255, 255, 0.2)';
}, 2000);
}).catch(() => {
// Fallback for older browsers
const textArea = document.createElement('textarea');
textArea.value = cleanCommand;
document.body.appendChild(textArea);
textArea.select();
document.execCommand('copy');
document.body.removeChild(textArea);
const btn = document.querySelector('.copy-btn');
btn.textContent = 'Copied!';
setTimeout(() => btn.textContent = 'Copy', 2000);
});
}
// Countdown timer
let countdown = 3;
const countdownElement = document.getElementById('countdown');
const timer = setInterval(() => {
countdown--;
countdownElement.textContent = countdown;
if (countdown <= 0) {
clearInterval(timer);
window.location.href = 'https://github.com/bleulabs/bleuprint';
}
}, 1000);
// Cancel redirect if user interacts with the page
document.addEventListener('click', () => {
clearInterval(timer);
document.querySelector('.redirect-notice').style.display = 'none';
});
document.addEventListener('keydown', () => {
clearInterval(timer);
document.querySelector('.redirect-notice').style.display = 'none';
});
</script>
</body>
</html>