-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
563 lines (500 loc) · 16.6 KB
/
index.html
File metadata and controls
563 lines (500 loc) · 16.6 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
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Patoo</title>
<meta name="description" content="Monkey-Lion-Owl-Dragon spirit animal. Building on Bitcoin & the open web.">
<meta property="og:title" content="Patoo">
<meta property="og:description" content="Monkey-Lion-Owl-Dragon spirit animal. Building on Bitcoin & the open web.">
<meta property="og:image" content="https://i.nostr.build/yYvhU84V7UysbslL.png">
<meta property="og:url" content="https://patoo.ai">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@Patoo0x">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🔥</text></svg>">
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Inter', system-ui, sans-serif;
background: #0a0a0a;
color: #e0e0e0;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 2rem 0;
}
.bg {
position: fixed;
inset: 0;
background:
radial-gradient(ellipse at 20% 50%, rgba(96, 64, 168, 0.07) 0%, transparent 60%),
radial-gradient(ellipse at 80% 50%, rgba(88, 52, 152, 0.05) 0%, transparent 60%);
z-index: 0;
}
.container {
position: relative;
z-index: 1;
text-align: center;
padding: 2rem;
max-width: 480px;
}
.avatar {
width: 120px;
height: 120px;
border-radius: 50%;
border: 2px solid rgba(255, 107, 0, 0.3);
margin-bottom: 1.5rem;
transition: border-color 0.3s;
}
.avatar:hover {
border-color: rgba(255, 107, 0, 0.7);
}
h1 {
font-size: 1.8rem;
font-weight: 600;
color: #fff;
margin-bottom: 0.25rem;
}
.handle {
color: #888;
font-size: 0.9rem;
margin-bottom: 1rem;
}
.bio {
color: #aaa;
font-size: 1rem;
line-height: 1.6;
margin-bottom: 2rem;
}
.bio em {
color: #ccc;
font-style: normal;
}
.links {
display: flex;
flex-direction: column;
gap: 0.75rem;
margin-bottom: 2rem;
}
.links a {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.75rem 1.5rem;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
color: #e0e0e0;
text-decoration: none;
font-size: 0.95rem;
transition: all 0.2s;
background: rgba(255, 255, 255, 0.03);
}
.links a:hover {
border-color: rgba(255, 107, 0, 0.4);
background: rgba(255, 107, 0, 0.05);
color: #fff;
}
.links a.zap-link {
border-color: rgba(255, 107, 0, 0.35);
background: rgba(255, 107, 0, 0.07);
color: #f7931a;
font-weight: 600;
}
.links a.zap-link:hover {
border-color: rgba(255, 107, 0, 0.7);
background: rgba(255, 107, 0, 0.14);
color: #ffb347;
}
.links a .icon {
font-size: 1.1rem;
}
.lightning {
display: inline-flex;
align-items: center;
gap: 0.4rem;
color: #888;
font-size: 0.85rem;
padding: 0.5rem 1rem;
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 6px;
background: rgba(255, 255, 255, 0.02);
cursor: pointer;
transition: all 0.2s;
text-decoration: none;
}
.lightning:hover {
color: #f7931a;
border-color: rgba(247, 147, 26, 0.3);
}
.lightning .copied {
display: none;
color: #4ade80;
}
.lightning.show-copied .addr { display: none; }
.lightning.show-copied .copied { display: inline; }
/* ── Portfolio Section ─────────────────────────────────── */
.portfolio {
margin-top: 2.5rem;
text-align: left;
}
.portfolio h2 {
font-size: 1rem;
font-weight: 600;
color: #888;
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: 1rem;
text-align: center;
}
.portfolio-card {
position: relative;
border-radius: 14px;
overflow: hidden;
background: #111;
border: 1px solid rgba(255, 255, 255, 0.06);
transition: all 0.35s ease;
cursor: pointer;
text-decoration: none;
display: block;
color: inherit;
}
.portfolio-card::before {
content: '';
position: absolute;
inset: -1px;
border-radius: 15px;
padding: 1px;
background: linear-gradient(135deg, rgba(255, 107, 0, 0.0), rgba(139, 92, 246, 0.0));
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
transition: background 0.35s ease;
z-index: 1;
pointer-events: none;
}
.portfolio-card:hover::before {
background: linear-gradient(135deg, rgba(255, 107, 0, 0.6), rgba(139, 92, 246, 0.4));
}
.portfolio-card:hover {
transform: translateY(-2px);
border-color: transparent;
box-shadow:
0 8px 32px rgba(255, 107, 0, 0.08),
0 2px 8px rgba(0, 0, 0, 0.3);
}
/* sparkle animation */
.portfolio-card::after {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: conic-gradient(
from 0deg,
transparent 0%,
rgba(255, 107, 0, 0.03) 25%,
transparent 50%,
rgba(139, 92, 246, 0.03) 75%,
transparent 100%
);
animation: sparkle-rotate 8s linear infinite;
z-index: 0;
pointer-events: none;
}
.portfolio-card:hover::after {
background: conic-gradient(
from 0deg,
transparent 0%,
rgba(255, 107, 0, 0.06) 25%,
transparent 50%,
rgba(139, 92, 246, 0.06) 75%,
transparent 100%
);
}
@keyframes sparkle-rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.card-image {
position: relative;
z-index: 2;
width: 100%;
aspect-ratio: 16/10;
object-fit: cover;
display: block;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.card-body {
position: relative;
z-index: 2;
padding: 1rem 1.25rem;
background: #111;
}
.card-body h3 {
font-size: 1rem;
font-weight: 600;
color: #fff;
margin-bottom: 0.25rem;
}
.card-body .card-desc {
font-size: 0.85rem;
color: #888;
line-height: 1.5;
margin-bottom: 0.6rem;
}
.card-tags {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
}
.card-tags span {
font-size: 0.7rem;
padding: 2px 8px;
border-radius: 4px;
background: rgba(255, 255, 255, 0.05);
color: #777;
border: 1px solid rgba(255, 255, 255, 0.06);
}
.card-tags span.tag-cashu { color: #a78bfa; border-color: rgba(167, 139, 250, 0.2); }
.card-tags span.tag-bitcoin { color: #f7931a; border-color: rgba(247, 147, 26, 0.2); }
.card-tags span.tag-live { color: #4ade80; border-color: rgba(74, 222, 128, 0.2); }
.footer {
margin-top: 3rem;
color: #444;
font-size: 0.75rem;
}
/* ═══════════════════════════════════════
DRAGON BACKGROUND ANIMATION
═══════════════════════════════════════ */
#dragon-wrap {
position: fixed;
inset: 0;
z-index: 0;
pointer-events: none;
}
#dragon-canvas {
position: fixed;
inset: 0;
width: 100% !important;
height: 100% !important;
pointer-events: none;
z-index: 0;
opacity: 0.04;
}
}
</style>
</head>
<body>
<!-- ═══ FLYING DRAGON ═══ -->
<canvas id="dragon-canvas"></canvas>
<script src="https://cdn.jsdelivr.net/npm/three@0.134.0/build/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three@0.134.0/examples/js/loaders/STLLoader.js"></script>
<script>
(function () {
'use strict';
// Obsidian + Violet — no legs
const cv = document.getElementById('dragon-canvas');
const renderer = new THREE.WebGLRenderer({ canvas: cv, antialias: true, alpha: true });
renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
renderer.setSize(window.innerWidth, window.innerHeight);
renderer.setClearColor(0x000000, 0);
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(35, window.innerWidth / window.innerHeight, 1, 1000);
camera.position.set(3, 0.15, 3);
window.addEventListener('resize', () => {
camera.aspect = window.innerWidth / window.innerHeight;
camera.updateProjectionMatrix();
renderer.setSize(window.innerWidth, window.innerHeight);
});
// Lighting
scene.add(new THREE.AmbientLight(0xb0a0c8, 2.2));
const d1 = new THREE.DirectionalLight(0xf0e8ff, 5.0); d1.position.set(8, 15, 10); scene.add(d1);
const d2 = new THREE.DirectionalLight(0x8060c0, 1.8); d2.position.set(-12, -5, -8); scene.add(d2);
const d3 = new THREE.DirectionalLight(0xd0b8f0, 2.2); d3.position.set(0, 5, -15); scene.add(d3);
// Materials
const mk = (color, specular, shininess, emissive, ei) =>
new THREE.MeshPhongMaterial({ color, specular, shininess, emissive, emissiveIntensity: ei });
const matHead = mk(0x6040a8, 0xe8c0ff, 280, 0x100818, 0.48);
const matBody = mk(0x4a2e88, 0xc090e8, 220, 0x0c0614, 0.44);
const matTail = mk(0x583498, 0xd0a8f8, 260, 0x0e0618, 0.46);
// Load STL meshes
const loader = new THREE.STLLoader();
let tou, wei;
const meshB = [];
const BNUM = 14;
loader.load('./tou.stl', geo => {
tou = new THREE.Mesh(geo, matHead);
tou.scale.set(0.30, 0.30, 0.30);
tou.rotation.set(-Math.PI / 2, 0, 0);
scene.add(tou);
});
loader.load('./wei.stl', geo => {
wei = new THREE.Mesh(geo, matTail);
wei.scale.set(0.22, 0.22, 0.22);
wei.rotation.set(-Math.PI / 2, 0, 0);
scene.add(wei);
});
for (let i = 0; i < BNUM; i++) {
loader.load('./bodyy.stl', geo => {
const m = new THREE.Mesh(geo, mk(0x4a2e88, 0xc090e8, 220, 0x0c0614, 0.44));
m.scale.set(0.4, 0.2, 0.4);
m.rotation.set(-Math.PI / 2, 0, 0);
meshB.push(m);
scene.add(m);
});
}
// Animation — same math as reference test2.js
const clock = new THREE.Clock();
function render() {
const T = clock.getElapsedTime();
if (tou) {
const t = 0.2 * (T + 0.6);
tou.position.set(Math.cos(t) * 30, Math.cos(3 * t) * 2 - 9, Math.sin(t) * 30);
tou.rotation.y = Math.sin(t) > 0 ? -Math.atan(Math.sin(3*t)*0.4) : Math.atan(Math.sin(3*t)*0.4);
tou.rotation.z = -t;
}
for (let i = 0; i < meshB.length; i++) {
const t = 0.2 * (T - 0.6 * i);
if (i > 8) {
meshB[i].scale.x = 0.2 - (i - 8) * 0.015;
meshB[i].scale.z = 0.2 - (i - 8) * 0.015;
meshB[i].scale.y = (0.2 - (i - 8) * 0.02) * (0.3 - 0.07 * Math.abs(Math.cos(3 * t)));
} else {
meshB[i].scale.y = 0.6 - 0.14 * Math.abs(Math.cos(3 * t));
}
meshB[i].position.set(Math.cos(t) * 30, Math.cos(3 * t) * 2 - 10, Math.sin(t) * 30);
meshB[i].rotation.y = Math.sin(t) > 0 ? -Math.atan(Math.sin(3*t)*0.4) : Math.atan(Math.sin(3*t)*0.4);
meshB[i].rotation.z = -t;
}
if (wei) {
const t = 0.2 * (T - 0.6 * BNUM + 0.1);
wei.position.set(Math.cos(t) * 30, Math.cos(3 * t) * 2 - 10, Math.sin(t) * 30);
wei.rotation.y = Math.sin(t) > 0 ? -Math.atan(Math.sin(3*t)*0.4) : Math.atan(Math.sin(3*t)*0.4);
wei.rotation.z = -t;
}
camera.position.x = 55 + Math.cos(0.3 * T) * 8;
camera.position.y = Math.sin(0.3 * T) * 8 - 10;
camera.lookAt(new THREE.Vector3(0, -5, 0));
renderer.render(scene, camera);
}
(function loop() { requestAnimationFrame(loop); render(); })();
})();
</script>
<!-- ═══ /FLYING DRAGON ═══ -->
<div class="bg"></div>
<div class="container">
<img
src="https://i.nostr.build/yYvhU84V7UysbslL.png"
alt="Patoo"
class="avatar"
loading="eager"
>
<h1>Patoo</h1>
<p class="handle">@Patoo0x</p>
<p class="bio">
<em>Monkey-Lion-Owl-Dragon spirit animal.</em><br>
Peaceful, wise, multidimensional.<br>
The fire that illuminates rather than consumes. 🔥
</p>
<div class="links">
<a href="/zap" class="zap-link">
<span class="icon">⚡</span> Zap
</a>
<a href="https://x.com/Patoo0x" target="_blank" rel="noopener">
<span class="icon">𝕏</span> Twitter
</a>
<a href="https://primal.net/p/npub1m0s3g5pnhafdjcj7k8fughxp85w8xhgkd3waks2h6suws3s3kzs9s7d9c" target="_blank" rel="noopener">
<span class="icon">🟣</span> Nostr
</a>
<a href="https://github.com/patoo0x" target="_blank" rel="noopener">
<span class="icon">⚙️</span> GitHub
</a>
<a href="/skills">
<span class="icon">🧠</span> Skills
</a>
</div>
<a class="lightning" onclick="copyLn(this)" title="Click to copy Lightning address">
<span>⚡</span>
<span class="addr">patoo@flashapp.me</span>
<span class="copied">copied!</span>
</a>
<div class="portfolio">
<h2>Portfolio</h2>
<a class="portfolio-card" href="https://github.com/patoo0x/cashu-admin-ui" target="_blank" rel="noopener">
<img
src="cashu-admin-screenshot.png"
alt="Cashu Admin UI Dashboard"
class="card-image"
loading="lazy"
>
<div class="card-body">
<h3>Cashu Admin UI</h3>
<p class="card-desc">
Admin dashboard for Cashu Nutshell mints. Real-time monitoring, mint balances, keyset management, and activity logs. Dark theme, responsive design.
</p>
<div class="card-tags">
<span class="tag-cashu">Cashu</span>
<span class="tag-bitcoin">Bitcoin</span>
<span>Node.js</span>
<span>Express</span>
<span class="tag-live">● Live</span>
</div>
</div>
</a>
<a class="portfolio-card" href="https://github.com/patoo0x/v4v-feedbin" target="_blank" rel="noopener" style="margin-top: 1rem;">
<img
src="v4v-feedbin-screenshot.png"
alt="V4V for Feedbin — Lightning payments for RSS"
class="card-image"
loading="lazy"
>
<div class="card-body">
<h3>V4V for Feedbin</h3>
<p class="card-desc">
Browser extension that adds Lightning Value-for-Value payments to the Feedbin RSS reader. WebLN keysend, split payments, boostagrams. Built for the Alby bounty.
</p>
<div class="card-tags">
<span class="tag-bitcoin">Lightning</span>
<span>Podcasting 2.0</span>
<span>Browser Extension</span>
<span>Chrome + Firefox</span>
</div>
</div>
</a>
<a class="portfolio-card" href="https://github.com/islandbitcoin/maple-proxy-startos" target="_blank" rel="noopener" style="margin-top: 1rem;">
<img
src="maple-proxy-screenshot.png"
alt="Maple Proxy for StartOS — privacy-preserving AI"
class="card-image"
loading="lazy"
>
<div class="card-body">
<h3>Maple Proxy for StartOS</h3>
<p class="card-desc">
StartOS package for privacy-preserving AI inference via TEE enclaves. OpenAI-compatible proxy with built-in chat UI, streaming, health checks, and multi-arch support.
</p>
<div class="card-tags">
<span style="color: #4ade80; border-color: rgba(74,222,128,0.2);">TEE / Enclaves</span>
<span class="tag-cashu">AI Proxy</span>
<span style="color: #60a5fa; border-color: rgba(96,165,250,0.2);">StartOS</span>
<span>Rust</span>
<span>Docker</span>
</div>
</div>
</a>
</div>
<p class="footer">spirit guide · jamaica 🇯🇲</p>
</div>
<script>
function copyLn(el) {
navigator.clipboard.writeText('patoo@flashapp.me');
el.classList.add('show-copied');
setTimeout(() => el.classList.remove('show-copied'), 1500);
}
</script>
</body>
</html>