Skip to content

Commit 3dd475c

Browse files
committed
fix: force github pages to recognize index.html and disable jekyll
1 parent be0b90c commit 3dd475c

2 files changed

Lines changed: 307 additions & 0 deletions

File tree

‎.nojekyll‎

Whitespace-only changes.

‎docs/index.html‎

Lines changed: 307 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,307 @@
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>BigB0X // Tactical Deployer</title>
7+
<style>
8+
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=JetBrains+Mono:wght@300;500&display=swap');
9+
10+
:root {
11+
--bg: #050508;
12+
--panel: rgba(10, 10, 15, 0.95);
13+
--accent: #00ffcc;
14+
--accent-glow: rgba(0, 255, 204, 0.4);
15+
--error: #ff3366;
16+
--fg: #e0e0e0;
17+
}
18+
19+
body {
20+
background-color: var(--bg);
21+
background-image:
22+
linear-gradient(rgba(0, 255, 204, 0.05) 1px, transparent 1px),
23+
linear-gradient(90deg, rgba(0, 255, 204, 0.05) 1px, transparent 1px);
24+
background-size: 40px 40px;
25+
color: var(--fg);
26+
font-family: 'JetBrains Mono', monospace;
27+
margin: 0;
28+
display: flex;
29+
justify-content: center;
30+
align-items: center;
31+
min-height: 100vh;
32+
overflow-x: hidden;
33+
}
34+
35+
/* Scanline Effect */
36+
body::before {
37+
content: " ";
38+
position: fixed;
39+
top: 0; left: 0; bottom: 0; right: 0;
40+
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%),
41+
linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
42+
background-size: 100% 4px, 3px 100%;
43+
pointer-events: none;
44+
z-index: 10;
45+
}
46+
47+
.hud-container {
48+
width: 95%;
49+
max-width: 900px;
50+
background: var(--panel);
51+
border: 1px solid var(--accent);
52+
padding: 30px;
53+
position: relative;
54+
box-shadow: 0 0 30px rgba(0, 0, 0, 1), inset 0 0 20px var(--accent-glow);
55+
clip-path: polygon(0 0, 95% 0, 100% 5%, 100% 100%, 5% 100%, 0 95%);
56+
}
57+
58+
header {
59+
text-align: left;
60+
border-bottom: 1px solid var(--accent);
61+
margin-bottom: 30px;
62+
padding-bottom: 10px;
63+
display: flex;
64+
justify-content: space-between;
65+
align-items: flex-end;
66+
}
67+
68+
h1 {
69+
font-family: 'Orbitron', sans-serif;
70+
color: var(--accent);
71+
margin: 0;
72+
font-size: 2rem;
73+
letter-spacing: 4px;
74+
text-shadow: 0 0 10px var(--accent);
75+
}
76+
77+
.sys-status {
78+
font-size: 0.7rem;
79+
color: var(--accent);
80+
text-transform: uppercase;
81+
}
82+
83+
.main-grid {
84+
display: grid;
85+
grid-template-columns: 1fr 300px;
86+
gap: 30px;
87+
}
88+
89+
@media (max-width: 800px) {
90+
.main-grid { grid-template-columns: 1fr; }
91+
}
92+
93+
.config-section label {
94+
display: block;
95+
color: var(--accent);
96+
font-size: 0.7rem;
97+
margin: 15px 0 5px 0;
98+
text-transform: uppercase;
99+
letter-spacing: 1px;
100+
}
101+
102+
input, select {
103+
width: 100%;
104+
background: #1a1a24;
105+
border: 1px solid #333;
106+
color: white;
107+
padding: 12px;
108+
box-sizing: border-box;
109+
outline: none;
110+
transition: 0.3s;
111+
}
112+
113+
input:focus {
114+
border-color: var(--accent);
115+
box-shadow: 0 0 10px var(--accent-glow);
116+
}
117+
118+
.terminal-preview {
119+
background: #000;
120+
border: 1px solid #222;
121+
padding: 15px;
122+
font-size: 0.75rem;
123+
height: 250px;
124+
overflow: hidden;
125+
color: #00cc88;
126+
position: relative;
127+
}
128+
129+
.terminal-preview::after {
130+
content: "";
131+
position: absolute;
132+
bottom: 0; left: 0; width: 100%; height: 50px;
133+
background: linear-gradient(transparent, #000);
134+
}
135+
136+
.deploy-btn {
137+
margin-top: 30px;
138+
width: 100%;
139+
padding: 20px;
140+
background: transparent;
141+
border: 2px solid var(--accent);
142+
color: var(--accent);
143+
font-family: 'Orbitron', sans-serif;
144+
font-weight: bold;
145+
font-size: 1.2rem;
146+
letter-spacing: 6px;
147+
cursor: pointer;
148+
transition: 0.3s;
149+
position: relative;
150+
overflow: hidden;
151+
}
152+
153+
.deploy-btn:hover {
154+
background: var(--accent);
155+
color: var(--bg);
156+
box-shadow: 0 0 30px var(--accent);
157+
}
158+
159+
.visual-guide {
160+
margin-top: 40px;
161+
display: grid;
162+
grid-template-columns: repeat(3, 1fr);
163+
gap: 20px;
164+
text-align: center;
165+
}
166+
167+
.guide-step {
168+
background: rgba(255, 255, 255, 0.03);
169+
padding: 15px;
170+
border: 1px solid #222;
171+
border-radius: 4px;
172+
}
173+
174+
.guide-step i {
175+
display: block;
176+
font-size: 1.5rem;
177+
color: var(--accent);
178+
margin-bottom: 10px;
179+
}
180+
181+
.guide-step p {
182+
font-size: 0.8rem;
183+
margin: 0;
184+
color: #888;
185+
}
186+
187+
.guide-step b { color: var(--fg); }
188+
189+
.blinking-cursor {
190+
display: inline-block;
191+
width: 8px;
192+
height: 15px;
193+
background: var(--accent);
194+
animation: blink 1s infinite;
195+
vertical-align: middle;
196+
}
197+
198+
@keyframes blink { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
199+
</style>
200+
</head>
201+
<body>
202+
<div class="hud-container">
203+
<header>
204+
<div>
205+
<h1>BigB0X // DEPLOYER</h1>
206+
<div class="sys-status">Link_Status: <span id="conn-status" style="color: var(--accent);">Encrypted</span></div>
207+
</div>
208+
<div class="sys-status">v2.0_GHOST_PROTOCOL</div>
209+
</header>
210+
211+
<div class="main-grid">
212+
<div class="config-section">
213+
<div style="color: var(--accent); font-size: 0.9rem; margin-bottom: 10px;">[ INITIALIZATION_PARAMETERS ]</div>
214+
215+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 15px;">
216+
<div>
217+
<label>Hardware_ID</label>
218+
<select id="hw">
219+
<option>PI_4_B</option>
220+
<option>PI_ZERO_2W</option>
221+
<option>GENERIC_ARM64</option>
222+
</select>
223+
</div>
224+
<div>
225+
<label>Node_Name</label>
226+
<input type="text" value="bigbox" id="hostname" oninput="updateTerm()">
227+
</div>
228+
</div>
229+
230+
<label>Field_WiFi_SSID</label>
231+
<input type="text" placeholder="Access Point SSID" id="ssid" oninput="updateTerm()">
232+
233+
<label>Uplink_Password</label>
234+
<input type="password" placeholder="••••••••" id="pass" oninput="updateTerm()">
235+
</div>
236+
237+
<div>
238+
<div style="color: var(--accent); font-size: 0.8rem; margin-bottom: 5px;">NEURAL_LINK_PREVIEW:</div>
239+
<div class="terminal-preview" id="term">
240+
> SYSTEM_READY<br>
241+
> AWAITING_INPUT...<br>
242+
<span class="blinking-cursor"></span>
243+
</div>
244+
</div>
245+
</div>
246+
247+
<button class="deploy-btn" onclick="generateConfig()">INITIATE_UPLINK</button>
248+
249+
<div class="visual-guide">
250+
<div class="guide-step">
251+
<i>💾</i>
252+
<p>Flash <b>Pi OS Lite</b> to your SD card.</p>
253+
</div>
254+
<div class="guide-step">
255+
<i>📄</i>
256+
<p>Click Uplink to get your <b>setup.json</b>.</p>
257+
</div>
258+
<div class="guide-step">
259+
<i>👉</i>
260+
<p>Drag <b>setup.json</b> into the <b>/boot</b> drive.</p>
261+
</div>
262+
</div>
263+
</div>
264+
265+
<script>
266+
function updateTerm() {
267+
const h = document.getElementById('hostname').value;
268+
const s = document.getElementById('ssid').value;
269+
const t = document.getElementById('term');
270+
271+
t.innerHTML = `
272+
> INJECTING_PARAMS...<br>
273+
> SET_HOST: ${h}<br>
274+
> SET_SSID: ${s || '???'}<br>
275+
> CRYPT_KEY: SHA256_ACTIVE<br>
276+
> STATUS: READY_TO_DEPLOY<br>
277+
<span class="blinking-cursor"></span>
278+
`;
279+
}
280+
281+
function generateConfig() {
282+
const config = {
283+
hostname: document.getElementById('hostname').value,
284+
ssid: document.getElementById('ssid').value,
285+
pass: document.getElementById('pass').value,
286+
deploy_ts: new Date().toISOString()
287+
};
288+
289+
const btn = document.querySelector('.deploy-btn');
290+
btn.innerHTML = "GENERATING_ENCRYPTED_BUNDLE...";
291+
292+
setTimeout(() => {
293+
const dataStr = "data:text/json;charset=utf-8," + encodeURIComponent(JSON.stringify(config, null, 2));
294+
const downloadAnchorNode = document.createElement('a');
295+
downloadAnchorNode.setAttribute("href", dataStr);
296+
downloadAnchorNode.setAttribute("download", "setup.json");
297+
document.body.appendChild(downloadAnchorNode);
298+
downloadAnchorNode.click();
299+
downloadAnchorNode.remove();
300+
301+
btn.innerHTML = "INITIATE_UPLINK";
302+
alert("TACTICAL BUNDLE READY.\n\nNow, drag the 'setup.json' from your Downloads folder directly into the root of your SD card (the drive named 'boot').");
303+
}, 1000);
304+
}
305+
</script>
306+
</body>
307+
</html>

0 commit comments

Comments
 (0)