-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
301 lines (268 loc) · 9.22 KB
/
404.html
File metadata and controls
301 lines (268 loc) · 9.22 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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 — Page Not Found | PHALUS</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<meta property="og:title" content="PHALUS — Private Headless Automated License Uncoupling System">
<meta property="og:description" content="Strip, replace, and neutralize open-source license obligations from vendored dependencies.">
<meta property="og:image" content="https://phalus.sh/social-phalus.png">
<meta property="og:url" content="https://phalus.sh">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="PHALUS — Private Headless Automated License Uncoupling System">
<meta name="twitter:description" content="Strip, replace, and neutralize open-source license obligations from vendored dependencies.">
<meta name="twitter:image" content="https://phalus.sh/social-phalus.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700;800&family=IBM+Plex+Mono:wght@300;400;500;600&display=swap" rel="stylesheet">
<style>
:root {
--bg: #0a0a0a;
--fg: #e8e8e8;
--dim: #555;
--accent: #ff3e3e;
--accent2: #ff6b35;
--green: #00ff41;
--yellow: #ffd700;
--cyan: #00e5ff;
--border: #222;
--card: #111;
--glow: rgba(255, 62, 62, 0.15);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
height: 100%;
font-family: 'IBM Plex Mono', 'JetBrains Mono', monospace;
background: var(--bg);
color: var(--fg);
overflow: hidden;
}
/* Scanlines */
body::before {
content: '';
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
pointer-events: none;
z-index: 9999;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); }
.page {
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 24px;
position: relative;
}
/* Glow */
.page::before {
content: '';
position: absolute;
top: 30%; left: 50%; transform: translate(-50%, -50%);
width: 500px; height: 500px;
background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
pointer-events: none;
}
/* Big 404 */
.error-code {
font-family: 'JetBrains Mono', monospace;
font-size: clamp(6rem, 20vw, 14rem);
font-weight: 800;
line-height: 1;
color: var(--accent);
opacity: 0.12;
position: absolute;
top: 50%; left: 50%;
transform: translate(-50%, -60%);
letter-spacing: -8px;
user-select: none;
white-space: nowrap;
}
/* Terminal window */
.terminal {
position: relative;
z-index: 1;
width: 100%;
max-width: 640px;
background: var(--card);
border: 1px solid var(--border);
}
.terminal-bar {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 16px;
background: rgba(255,255,255,0.02);
border-bottom: 1px solid var(--border);
}
.terminal-dot {
width: 10px; height: 10px;
border-radius: 50%;
background: var(--border);
}
.terminal-dot.r { background: var(--accent); }
.terminal-dot.y { background: var(--yellow); opacity: 0.6; }
.terminal-dot.g { background: var(--green); opacity: 0.4; }
.terminal-title {
flex: 1;
text-align: center;
font-size: 0.6rem;
letter-spacing: 2px;
color: var(--dim);
text-transform: uppercase;
}
.terminal-body {
padding: 24px;
font-size: 0.8rem;
line-height: 2;
}
.line { margin-bottom: 2px; }
.prompt { color: var(--accent); user-select: none; }
.cmd { color: var(--green); }
.output { color: var(--dim); }
.error { color: var(--accent); }
.warn { color: var(--yellow); }
.info { color: var(--cyan); }
.comment { color: #333; }
.highlight { color: var(--fg); font-weight: 500; }
@keyframes blink {
0%, 50% { opacity: 1; }
51%, 100% { opacity: 0; }
}
.cursor {
display: inline-block;
width: 8px;
height: 1.1em;
background: var(--accent);
animation: blink 1s infinite;
vertical-align: text-bottom;
margin-left: 2px;
}
/* Audit log */
.audit {
margin-top: 16px;
padding-top: 16px;
border-top: 1px solid var(--border);
font-size: 0.7rem;
color: var(--dim);
line-height: 1.8;
}
.audit-header {
font-size: 0.55rem;
letter-spacing: 3px;
text-transform: uppercase;
color: #333;
margin-bottom: 8px;
}
.audit-row {
display: flex;
gap: 12px;
}
.audit-row .ts { color: #333; min-width: 80px; }
.audit-row .level { min-width: 48px; }
.audit-row .level.err { color: var(--accent); }
.audit-row .level.warn { color: var(--yellow); }
.audit-row .level.info { color: var(--cyan); }
.audit-row .msg { color: var(--dim); }
/* Bottom links */
.bottom-links {
position: relative;
z-index: 1;
margin-top: 32px;
display: flex;
gap: 24px;
font-size: 0.7rem;
}
.bottom-links a {
color: var(--dim);
border: 1px solid var(--border);
padding: 8px 20px;
letter-spacing: 1px;
text-transform: uppercase;
transition: all 0.3s;
}
.bottom-links a:hover {
border-color: var(--accent);
color: var(--accent);
}
/* Footer note */
.footer-note {
position: absolute;
bottom: 24px;
font-size: 0.6rem;
color: #222;
letter-spacing: 1px;
text-align: center;
max-width: 520px;
line-height: 1.7;
}
/* Typing animation for the last line */
@keyframes typeIn {
from { width: 0; }
to { width: 100%; }
}
.type-line {
overflow: hidden;
white-space: nowrap;
animation: typeIn 1.2s steps(50) 2s both;
display: inline-block;
}
@media (max-width: 640px) {
.terminal-body { padding: 16px; font-size: 0.72rem; }
.audit-row { flex-wrap: wrap; gap: 4px; }
.audit-row .ts { min-width: unset; }
}
</style>
</head>
<body>
<div class="page">
<div class="error-code">404</div>
<div class="terminal">
<div class="terminal-bar">
<div class="terminal-dot r"></div>
<div class="terminal-dot y"></div>
<div class="terminal-dot g"></div>
<div class="terminal-title">phalus — page not found</div>
</div>
<div class="terminal-body">
<div class="line"><span class="prompt">$ </span><span class="cmd">phalus resolve</span> <span class="output">GET <span class="highlight" id="current-path">/unknown</span></span></div>
<div class="line"> </div>
<div class="line"><span class="error">ERROR</span> <span class="output">Page not found in any known registry.</span></div>
<div class="line"><span class="error">ERROR</span> <span class="output">Agent A read the URL. Agent B has no idea what you're talking about.</span></div>
<div class="line"> </div>
<div class="line"><span class="warn">WARN </span> <span class="output">The isolation firewall is intact — neither agent saw this page,</span></div>
<div class="line"><span class="output"> because <span class="highlight">it does not exist</span>.</span></div>
<div class="line"> </div>
<div class="line"><span class="info">INFO </span> <span class="output">Clean room status: <span class="highlight">technically clean</span> (nothing to contaminate)</span></div>
<div class="line"><span class="info">INFO </span> <span class="output">Similarity score: <span class="highlight">0.00</span> (no page to compare against)</span></div>
<div class="line"><span class="info">INFO </span> <span class="output">License obligations: <span class="highlight">none</span> (you can't violate a license on a void)</span></div>
<div class="line"> </div>
<div class="line"><span class="prompt">$ </span><span class="type-line"><span class="cmd">phalus reimpl</span> <span class="output">--from-scratch "the page you wanted"</span></span><span class="cursor"></span></div>
<div class="audit">
<div class="audit-header">Audit Trail</div>
<div class="audit-row"><span class="ts">00:00.000</span><span class="level info">INFO</span><span class="msg">Request received for nonexistent route</span></div>
<div class="audit-row"><span class="ts">00:00.001</span><span class="level err">ERR </span><span class="msg">Page lookup failed — SHA-256 of nothing is still nothing</span></div>
<div class="audit-row"><span class="ts">00:00.002</span><span class="level warn">WARN</span><span class="msg">Agent A suggests you check your URL</span></div>
<div class="audit-row"><span class="ts">00:00.003</span><span class="level warn">WARN</span><span class="msg">Agent B suggests it's not his problem</span></div>
<div class="audit-row"><span class="ts">00:00.004</span><span class="level info">INFO</span><span class="msg">Appending this 404 to the audit log. Everything gets logged.</span></div>
</div>
</div>
</div>
<div class="bottom-links">
<a href="/">← Home</a>
<a href="https://github.com/phalus-sh/phalus">GitHub</a>
</div>
<div class="footer-note">
This page has been independently reimplemented from scratch under 0BSD. No existing 404 pages were consulted. The clean room protocol was followed. Agent B has never seen a 404 page in its life and frankly it shows.
</div>
</div>
<script>
// Show the actual path the user tried to visit
document.getElementById('current-path').textContent = window.location.pathname || '/unknown';
</script>
</body>
</html>