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
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>tyler.xyz ยท Aqua Desktop</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Audiowide&family=Caveat:wght@400;500;600;700&family=Michroma&family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;700&family=IBM+Plex+Mono:wght@400;500&display=swap" />
<link rel="stylesheet" href="aero.css" />
<style>
/* ============= LOCKED PALETTE ============= */
:root {
--sky: url("img/wallpaper.png") center / cover no-repeat, linear-gradient(180deg, oklch(78% 0.10 215) 0%, oklch(88% 0.14 145) 100%);
--sun: radial-gradient(circle, oklch(99% 0.02 215) 0%, oklch(94% 0.05 215 / 0) 60%);
--icon-blue: linear-gradient(135deg, oklch(92% 0.06 215), oklch(72% 0.13 220) 60%, oklch(48% 0.13 230));
--icon-orange: linear-gradient(135deg, oklch(94% 0.10 145), oklch(78% 0.18 145) 55%, oklch(52% 0.16 150));
--icon-green: linear-gradient(135deg, oklch(94% 0.12 130), oklch(76% 0.18 140) 55%, oklch(50% 0.16 150));
--icon-pink: linear-gradient(135deg, oklch(88% 0.08 195), oklch(68% 0.13 200) 60%, oklch(45% 0.13 210));
--icon-silver: linear-gradient(135deg, oklch(98% 0.005 220), oklch(85% 0.015 220) 60%, oklch(62% 0.03 225));
--title-bar: linear-gradient(to bottom, oklch(94% 0.05 195), oklch(78% 0.10 200) 50%, oklch(60% 0.12 215));
--start-btn: linear-gradient(to bottom, oklch(94% 0.10 145) 0%, oklch(75% 0.18 145) 48%, oklch(50% 0.16 150) 52%, oklch(68% 0.18 145) 100%);
--start-border: oklch(40% 0.14 150);
}
.desk { position: fixed; inset: 0; overflow: hidden; background: var(--sky); background-size: cover; background-position: center; }
.icons { position: absolute; left: 24px; top: 24px; display: grid; grid-template-columns: 1fr; gap: 18px; z-index: 10; }
.icon { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 80px; cursor: pointer; text-align: center; }
.icon .glyph {
width: 56px; height: 56px; border-radius: 14px;
background: linear-gradient(135deg, oklch(88% 0.10 220), oklch(70% 0.14 230) 60%, oklch(50% 0.13 240));
box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -3px 6px rgba(40,80,140,0.4), 0 4px 14px rgba(40,80,140,0.35);
display: flex; align-items: center; justify-content: center;
font-size: 26px; color: white; text-shadow: 0 1px 2px rgba(0,0,0,0.4);
position: relative;
}
.icon .glyph::before { content: ""; position: absolute; left: 4px; right: 4px; top: 3px; height: 40%; border-radius: 12px; background: linear-gradient(to bottom, rgba(255,255,255,0.75), transparent); }
.icon .glyph.orange { background: linear-gradient(135deg, oklch(92% 0.08 70), oklch(75% 0.16 55) 60%, oklch(55% 0.15 35)); }
.icon .glyph.green { background: linear-gradient(135deg, oklch(90% 0.10 145), oklch(75% 0.15 145) 60%, oklch(50% 0.13 155)); }
.icon .glyph.pink { background: linear-gradient(135deg, oklch(90% 0.10 350), oklch(75% 0.16 350) 60%, oklch(55% 0.16 340)); }
.icon .glyph.silver { background: linear-gradient(135deg, oklch(95% 0.01 240), oklch(78% 0.03 240) 60%, oklch(55% 0.04 240)); }
.icon .label { font-size: 12px; color: white; text-shadow: 0 1px 3px rgba(0,0,0,0.6); font-weight: 500; }
.icon:hover .glyph { transform: translateY(-2px) scale(1.04); transition: transform 200ms; }
.win { position: absolute; min-width: 320px; z-index: 50; }
/* When a window has been resized, it switches to a flex column so the
body becomes a scroll region โ keeps content from getting clipped */
.win.resized {
display: flex; flex-direction: column;
overflow: hidden;
border-radius: 18px;
}
.win.resized .body {
flex: 1; min-height: 0;
overflow-y: auto;
border-radius: 0 0 18px 18px;
}
/* The browser window is already a flex column internally; let it fill */
.win.resized > .browser { flex: 1; min-height: 0; }
/* RESIZE HANDLES */
.rs { position: absolute; z-index: 5; }
.rs-e { right: -3px; top: 14px; bottom: 18px; width: 8px; cursor: ew-resize; }
.rs-s { left: 14px; right: 18px; bottom: -3px; height: 8px; cursor: ns-resize; }
.rs-se {
right: 0; bottom: 0; width: 22px; height: 22px;
cursor: nwse-resize;
background-image:
linear-gradient(135deg, transparent 0 38%, rgba(40,80,140,0.85) 38% 48%, transparent 48% 60%, rgba(40,80,140,0.75) 60% 70%, transparent 70%, rgba(40,80,140,0.6) 82% 92%, transparent 92%);
border-radius: 0 0 18px 0;
opacity: 0.65;
transition: opacity 150ms, filter 150ms;
}
.rs-se:hover { opacity: 1; filter: drop-shadow(0 0 4px rgba(120,170,220,0.8)); }
body.rs-cursor-e, body.rs-cursor-e * { cursor: ew-resize !important; }
body.rs-cursor-s, body.rs-cursor-s * { cursor: ns-resize !important; }
body.rs-cursor-se, body.rs-cursor-se * { cursor: nwse-resize !important; }
.win .titlebar {
height: 32px; padding: 0 12px; display: flex; align-items: center; gap: 8px;
border-radius: 18px 18px 0 0;
background: var(--title-bar);
color: var(--title-fg, white); font-size: 13px; font-weight: 600; text-shadow: 0 1px 2px var(--title-shadow, rgba(0,0,0,0.3));
cursor: grab; user-select: none;
border-bottom: 1px solid rgba(0,0,0,0.15);
}
.win .titlebar .dots { display: flex; gap: 6px; margin-right: 8px; }
.win .titlebar .dot { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.35); cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,0.7); }
.win .titlebar .dot.r { background: radial-gradient(circle at 35% 30%, oklch(85% 0.18 30), oklch(55% 0.18 30)); }
.win .titlebar .dot.y { background: radial-gradient(circle at 35% 30%, oklch(95% 0.15 95), oklch(70% 0.18 80)); }
.win .titlebar .dot.g { background: radial-gradient(circle at 35% 30%, oklch(90% 0.18 145), oklch(60% 0.18 150)); }
.win .body { padding: 16px; font-size: 13px; line-height: 1.55; color: oklch(22% 0.04 240); border-radius: 0 0 18px 18px; }
.taskbar {
position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
height: 56px; padding: 0 12px; display: flex; align-items: center; gap: 10px;
border-radius: 28px;
background: linear-gradient(to bottom, rgba(255,255,255,0.55), rgba(180,210,240,0.45));
backdrop-filter: blur(20px) saturate(180%);
border: 1px solid rgba(255,255,255,0.85);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 12px 36px rgba(40,80,140,0.3);
z-index: 200;
}
.taskbar .start {
height: 40px; padding: 0 18px 0 14px; display: inline-flex; align-items: center; gap: 8px;
border-radius: 20px;
background: var(--start-btn);
color: white; text-shadow: 0 1px 2px rgba(0,0,0,0.4); font-weight: 700; font-size: 13px;
border: 1px solid var(--start-border); cursor: pointer;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 3px 10px rgba(180,90,40,0.3);
}
.taskbar .sep { width: 1px; height: 32px; background: linear-gradient(to bottom, transparent, rgba(60,100,160,0.4), transparent); }
.tray { display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 12px; color: oklch(25% 0.05 240); }
.clock { font-family: "Segoe UI", Tahoma; font-weight: 600; }
/* SERVER ROW */
.srv-row {
display: flex; align-items: center; gap: 10px; padding: 7px 0;
border-bottom: 1px dotted oklch(72% 0.05 220); font-size: 12px;
}
.srv-row:last-child { border-bottom: 0; }
.srv-led {
width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
animation: led-pulse 2.2s ease-in-out infinite;
}
.srv-led.ok { background: radial-gradient(circle at 30% 30%, oklch(96% 0.18 145), oklch(60% 0.18 150)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 0 8px oklch(70% 0.18 145 / 0.7); }
.srv-led.warn { background: radial-gradient(circle at 30% 30%, oklch(95% 0.16 85), oklch(70% 0.18 75)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 0 8px oklch(70% 0.18 80 / 0.6); }
@keyframes led-pulse { 50% { opacity: 0.55; } }
.srv-host { font-family: 'Courier New', monospace; flex: 1; color: oklch(25% 0.05 230); }
.srv-meta { font-size: 10px; opacity: 0.7; }
/* FILM DIARY ROW */
.film-row {
display: flex; gap: 10px; padding: 8px 0;
border-bottom: 1px dotted oklch(72% 0.05 220);
}
.film-row:last-child { border-bottom: 0; }
.film-poster {
width: 38px; height: 56px; border-radius: 4px; flex-shrink: 0;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 2px 6px rgba(40,80,140,0.2);
}
.film-meta { flex: 1; min-width: 0; font-size: 12px; line-height: 1.45; }
.film-title { font-weight: 700; color: oklch(25% 0.06 230); font-size: 13px; }
.film-year { font-weight: 400; opacity: 0.6; font-size: 11px; margin-left: 3px; }
.film-rating { font-size: 11px; margin: 1px 0 2px; }
.film-rating .star { color: oklch(80% 0.04 230); }
.film-rating .star.on { color: oklch(72% 0.16 60); text-shadow: 0 0 4px oklch(80% 0.18 70 / 0.5); }
.film-rating .star.half { background: linear-gradient(90deg, oklch(72% 0.16 60) 50%, oklch(80% 0.04 230) 50%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.film-note { font-size: 11px; opacity: 0.75; font-style: italic; }
/* ============= FAUX BROWSER ============= */
.browser { display: flex; flex-direction: column; height: 100%; }
.browser .titlebar { border-bottom: 1px solid rgba(0,0,0,0.18); }
.browser-toolbar {
display: flex; align-items: center; gap: 8px;
padding: 8px 12px;
background: linear-gradient(to bottom, oklch(96% 0.005 220), oklch(86% 0.015 225) 50%, oklch(78% 0.025 230));
border-bottom: 1px solid oklch(60% 0.04 230);
box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5);
}
.nav-btn {
width: 28px; height: 24px; border-radius: 12px;
display: inline-flex; align-items: center; justify-content: center;
background: linear-gradient(to bottom, oklch(99% 0.005 220), oklch(88% 0.015 225) 50%, oklch(74% 0.03 230));
border: 1px solid oklch(55% 0.05 230);
color: oklch(35% 0.05 235); font-size: 13px; line-height: 1;
cursor: pointer;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 1px 2px rgba(40,80,140,0.25);
transition: transform 100ms, box-shadow 100ms;
}
.nav-btn:hover { transform: translateY(-0.5px); }
.nav-btn:active { transform: translateY(0.5px); box-shadow: inset 0 1px 3px rgba(40,80,140,0.4); }
.nav-btn[disabled] { opacity: 0.35; cursor: default; transform: none !important; }
.nav-btn.refresh.spinning svg { animation: spin 700ms linear; }
@keyframes spin { to { transform: rotate(360deg); } }
.url-bar {
flex: 1; height: 26px; display: flex; align-items: center; gap: 6px;
padding: 0 10px;
background: linear-gradient(to bottom, oklch(99% 0.003 220), oklch(94% 0.008 220));
border: 1px solid oklch(60% 0.04 230);
border-radius: 13px;
box-shadow: inset 0 1px 2px rgba(40,80,140,0.18);
font: 12px "IBM Plex Mono", "Courier New", monospace;
color: oklch(28% 0.05 235);
overflow: hidden; min-width: 0;
}
.url-bar .lock { font-size: 10px; color: oklch(58% 0.16 145); flex-shrink: 0; }
.url-bar .url-scheme { opacity: 0.55; }
.url-bar .url-host { color: oklch(30% 0.08 240); font-weight: 600; }
.url-bar .url-path { opacity: 0.85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.url-bar .caret { width: 1px; height: 14px; background: oklch(40% 0.08 240); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.browser-bookmarks {
display: flex; align-items: center; gap: 2px;
padding: 4px 10px;
background: linear-gradient(to bottom, oklch(94% 0.01 220), oklch(86% 0.02 225));
border-bottom: 1px solid oklch(62% 0.04 230);
font-size: 11px;
overflow-x: auto; scrollbar-width: none;
}
.browser-bookmarks::-webkit-scrollbar { display: none; }
.bm {
display: inline-flex; align-items: center; gap: 5px;
padding: 3px 8px; border-radius: 8px;
color: oklch(28% 0.06 235); white-space: nowrap; cursor: pointer;
border: 1px solid transparent;
transition: background 120ms, border-color 120ms;
}
.bm:hover { background: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.95); }
.bm.active { background: linear-gradient(to bottom, rgba(255,255,255,0.7), rgba(200,230,255,0.4)); border-color: rgba(120,170,220,0.5); }
.bm .favicon { width: 12px; height: 12px; border-radius: 3px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.6); }
.bm.home .favicon { background: linear-gradient(135deg, oklch(85% 0.10 220), oklch(55% 0.14 235)); }
.browser-page {
flex: 1; min-height: 0; overflow-y: auto;
background: oklch(98% 0.004 220);
color: oklch(20% 0.03 240);
font: 14px "Georgia", "Times New Roman", serif;
line-height: 1.65;
padding: 0;
position: relative;
}
.browser-page::-webkit-scrollbar { width: 12px; }
.browser-page::-webkit-scrollbar-track { background: linear-gradient(to right, oklch(92% 0.01 220), oklch(96% 0.005 220)); }
.browser-page::-webkit-scrollbar-thumb { background: linear-gradient(to right, oklch(82% 0.03 225), oklch(70% 0.05 230)); border-radius: 6px; border: 2px solid oklch(94% 0.008 220); }
.browser-status {
height: 22px; padding: 0 12px;
display: flex; align-items: center; justify-content: space-between;
background: linear-gradient(to bottom, oklch(90% 0.01 220), oklch(80% 0.02 225));
border-top: 1px solid oklch(60% 0.04 230);
font: 11px "Segoe UI", Tahoma, sans-serif;
color: oklch(35% 0.05 235);
border-radius: 0 0 18px 18px;
}
.browser-status .progress {
flex: 1; max-width: 80px; height: 8px; margin: 0 8px;
background: oklch(82% 0.02 225); border-radius: 4px;
border: 1px solid oklch(65% 0.04 230);
overflow: hidden; box-shadow: inset 0 1px 2px rgba(40,80,140,0.15);
}
.browser-status .progress-bar {
height: 100%; width: 100%;
background: linear-gradient(to bottom, oklch(82% 0.13 220), oklch(58% 0.14 235));
box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}
/* index page */
.idx-hero {
padding: 32px 40px 24px;
background:
radial-gradient(60% 80% at 100% 0%, oklch(88% 0.10 215 / 0.5) 0%, transparent 60%),
linear-gradient(to bottom, oklch(94% 0.03 220), oklch(98% 0.004 220));
border-bottom: 1px solid oklch(88% 0.02 220);
}
.idx-eyebrow { font: 500 10px "IBM Plex Mono", monospace; letter-spacing: 2px; text-transform: uppercase; color: oklch(45% 0.10 230); margin-bottom: 8px; }
.idx-title { font: 700 38px/1.05 "Georgia", "Times New Roman", serif; color: oklch(22% 0.06 235); letter-spacing: -1px; margin: 0 0 10px; }
.idx-title em { font-style: italic; font-weight: 400; color: oklch(45% 0.12 220); }
.idx-sub { font: italic 14px/1.5 "Georgia", serif; color: oklch(40% 0.04 235); max-width: 440px; margin: 0; }
.idx-list { padding: 16px 40px 40px; }
.idx-art { display: grid; grid-template-columns: 60px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid oklch(90% 0.015 220); cursor: pointer; transition: padding 120ms; }
.idx-art:last-child { border-bottom: 0; }
.idx-art:hover { padding-left: 6px; }
.idx-art:hover .idx-art-title { color: oklch(40% 0.16 230); text-decoration: underline; text-decoration-color: oklch(70% 0.13 220 / 0.5); text-underline-offset: 3px; }
.idx-art-num { font: 600 28px/1 "IBM Plex Mono", monospace; color: oklch(80% 0.04 225); padding-top: 4px; }
.idx-art-title { font: 700 18px/1.25 "Georgia", serif; color: oklch(22% 0.06 235); margin: 0 0 4px; letter-spacing: -0.2px; }
.idx-art-excerpt { font: 13px/1.55 "Georgia", serif; color: oklch(40% 0.04 235); margin: 4px 0 0; }
.idx-art-meta { font: 11px "IBM Plex Mono", monospace; color: oklch(55% 0.06 230); text-align: right; padding-top: 4px; line-height: 1.6; white-space: nowrap; }
.idx-art-tag { display: inline-block; padding: 1px 6px; border-radius: 3px; background: oklch(92% 0.04 220); color: oklch(40% 0.10 230); font-size: 10px; text-transform: lowercase; letter-spacing: 0.5px; }
/* article page */
.art-page { padding: 36px 56px 60px; max-width: 620px; margin: 0 auto; }
.art-back { display: inline-flex; align-items: center; gap: 6px; font: 500 11px "IBM Plex Mono", monospace; color: oklch(45% 0.10 230); text-decoration: none; margin-bottom: 24px; cursor: pointer; letter-spacing: 1px; text-transform: uppercase; }
.art-back:hover { color: oklch(35% 0.16 230); }
.art-eyebrow { font: 500 10px "IBM Plex Mono", monospace; letter-spacing: 2px; text-transform: uppercase; color: oklch(55% 0.10 220); margin-bottom: 12px; }
.art-title { font: 700 32px/1.15 "Georgia", "Times New Roman", serif; color: oklch(20% 0.06 235); letter-spacing: -0.6px; margin: 0 0 14px; }
.art-byline { font: italic 13px/1.5 "Georgia", serif; color: oklch(48% 0.04 235); margin: 0 0 32px; padding-bottom: 16px; border-bottom: 1px solid oklch(88% 0.015 220); }
.art-body { font-size: 15px; line-height: 1.75; color: oklch(22% 0.03 240); }
.art-body p { margin: 0 0 18px; text-wrap: pretty; }
.art-body p:first-of-type::first-letter { font-size: 56px; font-weight: 700; float: left; line-height: 0.9; padding: 4px 8px 0 0; color: oklch(40% 0.14 220); font-family: "Georgia", serif; }
.art-body em { color: oklch(35% 0.10 230); }
.art-body a, .art-body .ilink { color: oklch(40% 0.16 230); text-decoration: underline; text-decoration-color: oklch(70% 0.13 220 / 0.4); text-underline-offset: 2px; cursor: pointer; }
.art-body h2 { font: 700 18px "Georgia", serif; color: oklch(22% 0.06 235); margin: 32px 0 12px; letter-spacing: -0.2px; }
.art-body blockquote { margin: 24px 0; padding: 0 0 0 18px; border-left: 3px solid oklch(78% 0.10 220); font-style: italic; color: oklch(38% 0.06 230); }
.art-body code { font: 13px "IBM Plex Mono", monospace; background: oklch(94% 0.01 220); padding: 1px 5px; border-radius: 3px; color: oklch(35% 0.10 230); }
.art-foot { margin-top: 40px; padding-top: 20px; border-top: 1px solid oklch(88% 0.015 220); font: 12px "IBM Plex Mono", monospace; color: oklch(55% 0.06 230); display: flex; justify-content: space-between; align-items: center; }
.art-foot .more { color: oklch(40% 0.16 230); cursor: pointer; }
</style>
</head>
<body>
<script>(function(){var t=localStorage.getItem('tyler.theme')||'aero';document.body.setAttribute('data-theme',t);})();</script>
<script>
// Scale the whole desktop to fit smaller monitors. Layout is designed around
// ~1440x900; below that, windows overlap and icons run off the bottom edge.
// `zoom` scales positions, sizes, fonts, AND pointer coords together, so
// drag/resize math stays consistent.
(function(){
var BASE_W = 1440, BASE_H = 900, MIN = 0.55;
function fit(){
var s = Math.min(window.innerWidth / BASE_W, window.innerHeight / BASE_H);
s = Math.min(1, Math.max(MIN, s));
document.documentElement.style.zoom = s;
window.__uiScale = s;
}
fit();
window.addEventListener('resize', fit);
})();
</script>
<div class="desk" id="desk">
<div class="sun" style="background: var(--sun);"></div>
<div class="lens-flare"></div>
<div class="clouds" id="clouds"></div>
<!-- Desktop icons -->
<div class="icons">
<div class="icon" data-open="about"><div class="glyph" style="background: var(--icon-blue)">๐ค</div><div class="label">About Me</div></div>
<div class="icon" data-open="now"><div class="glyph" style="background: var(--icon-orange)">โ</div><div class="label">Now.txt</div></div>
<div class="icon" data-open="music"><div class="glyph" style="background: var(--icon-pink)">โช</div><div class="label">last.fm</div></div>
<div class="icon" data-open="servers"><div class="glyph" style="background: var(--icon-green)">๐ฅ</div><div class="label">My Servers</div></div>
<div class="icon" data-open="podcast"><div class="glyph" style="background: var(--icon-silver)">๐</div><div class="label">REEL MOUTH</div></div>
<div class="icon" data-open="films"><div class="glyph" style="background: var(--icon-pink)">๐</div><div class="label">Films</div></div>
<div class="icon" data-open="browser"><div class="glyph" style="background: var(--icon-blue)">๐</div><div class="label">Internet</div></div>
<div class="icon" data-open="neighbors"><div class="glyph" style="background: var(--icon-green)">๐ก</div><div class="label">Neighbors</div></div>
<div class="icon" data-open="guestbook"><div class="glyph" style="background: var(--icon-blue)">โ</div><div class="label">Contact</div></div>
</div>
<!-- WINDOWS -->
<div class="win glass" id="w-about" style="left: 180px; top: 60px; width: 440px; display: none;">
<div class="titlebar"><div class="dots"><div class="dot r no-drag" onclick="this.closest('.win').style.display='none'"></div><div class="dot y"></div><div class="dot g"></div></div>About Me โ tyler.txt</div>
<div class="body">
<div style="display: flex; gap: 14px; margin-bottom: 12px;">
<div style="width: 110px; height: 130px; background: none; padding: 0;"><img src="/img/static/portrait.jpg" alt="portrait" style="width:100%;height:100%;object-fit:cover;border-radius:10px;" /></div>
<div>
<div style="font-size: 22px; font-weight: 700; line-height: 1.1; color: oklch(28% 0.10 240);">Tyler Hoang</div>
<div style="font-size: 12px; opacity: 0.7; margin-top: 2px;">a.k.a. Thuy ยท Tiger ยท Train</div>
<div style="margin-top: 10px; font-size: 12px; line-height: 1.6;">
<div>๐ฆ banker @ Chase</div>
<div>๐ M.S. Financial Analytics, CSULB</div>
<div>๐น hobbyist jazz pianist</div>
<div>๐ง linux sysadmin for fun</div>
<div>๐ married to my lovely wife Trinh</div>
</div>
</div>
</div>
<p style="margin: 0 0 8px;">Hi! I'm Tyler, 24, Vietnamese-American, and this little corner of the internet is where I keep the un-LinkedIn version of myself. Banking pays the bills, but tinkering with servers, chasing chord voicings, and cooking dishes is what I do for fun.</p>
<p style="margin: 0;">Poke around โ drag windows, open icons, click the bubbles. The professional site is <a class="aero-link" href="https://tylerhoang.xyz">elsewhere</a>; this one's all play.</p>
</div>
</div>
<div class="win glass warm" id="w-now" style="left: 660px; top: 100px; width: 320px; display: none;">
<div class="titlebar" style="background: var(--title-bar);"><div class="dots"><div class="dot r no-drag" onclick="this.closest('.win').style.display='none'"></div><div class="dot y"></div><div class="dot g"></div></div>Now.txt</div>
<div class="body">
<div style="font-size: 11px; opacity: 0.7; margin-bottom: 8px;">updated 3 days ago ยท from sunny long beach</div>
<ul style="margin: 0; padding-left: 18px; line-height: 1.7;">
<li>finishing my master's program (please end)</li>
<li>studying for cfa level i</li>
<li>relearning nardis by bill evans</li>
<li>rebuilding my nas/homelab</li>
<li>many many episodes behind on the REEL MOUTH backlog</li>
</ul>
</div>
</div>
<div class="win glass blue" id="w-music" style="left: 380px; top: 360px; width: 360px; display: none;">
<div class="titlebar"><div class="dots"><div class="dot r no-drag" onclick="this.closest('.win').style.display='none'"></div><div class="dot y"></div><div class="dot g"></div></div>last.fm โ trollshotlol</div>
<div class="body" id="np-host">
<div id="np-card"></div>
<div style="margin-top: 14px; font-size: 11px; opacity: 0.75; text-transform: uppercase; letter-spacing: 1px;">recent</div>
<div id="np-recent" style="margin-top: 6px; display: flex; flex-direction: column; gap: 6px; font-size: 12px;">
<div style="display:flex;justify-content:space-between;"><span>Stella by Starlight ยท Bill Evans</span><span style="opacity:0.6">2m</span></div>
<div style="display:flex;justify-content:space-between;"><span>Body and Soul ยท Coleman Hawkins</span><span style="opacity:0.6">9m</span></div>
<div style="display:flex;justify-content:space-between;"><span>Flamingo ยท Kero Kero Bonito</span><span style="opacity:0.6">38m</span></div>
</div>
</div>
</div>
<!-- SERVERS -->
<div class="win glass" id="w-servers" style="left: 740px; top: 390px; width: 380px; display: none;">
<div class="titlebar" style="background: var(--title-bar);"><div class="dots"><div class="dot r no-drag" onclick="this.closest('.win').style.display='none'"></div><div class="dot y"></div><div class="dot g"></div></div>My Servers โ uptime.sh</div>
<div class="body">
<div style="font-size: 11px; opacity: 0.7; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1.5px;">home lab status ยท auto-poll 30s</div>
<div id="srv-list" style="display: flex; flex-direction: column; gap: 0;">
<div class="srv-row"><div class="srv-led ok"></div><div class="srv-host">drive.tylerhoang.xyz</div><div class="srv-meta">Nextcloud</div></div>
<div class="srv-row"><div class="srv-led ok"></div><div class="srv-host">up.tylerhoang.xyz</div><div class="srv-meta">Jenniesafe</div></div>
<div class="srv-row"><div class="srv-led ok"></div><div class="srv-host">git.tylerhoang.xyz</div><div class="srv-meta">cgit</div></div>
<div class="srv-row"><div class="srv-led ok"></div><div class="srv-host">tylerhoang.xyz</div><div class="srv-meta">portfolio</div></div>
<div class="srv-row"><div class="srv-led ok"></div><div class="srv-host">fun.tylerhoang.xyz</div><div class="srv-meta">this site</div></div>
<div class="srv-row"><div class="srv-led ok"></div><div class="srv-host">films.tylerhoang.xyz</div><div class="srv-meta">film diary</div></div>
<div class="srv-row"><div class="srv-led warn"></div><div class="srv-host">reelmouth.tv</div><div class="srv-meta">on hiatus</div></div>
<div class="srv-row"><div class="srv-led ok"></div><div class="srv-host">*.onion mirrors</div><div class="srv-meta">tor</div></div>
</div>
<div style="margin-top: 12px; padding-top: 10px; border-top: 1px dotted oklch(70% 0.05 220); font-size: 11px; opacity: 0.7; line-height: 1.6; font-family: 'Courier New', monospace;">
host: beelink ser5 ยท debian 12<br/>
4c / 8g / 1tb nvme ยท ๐ฑ carbon-neutral via vultr<br/>
logs kept 30d. i basically never read them.
</div>
</div>
</div>
<!-- PODCAST -->
<div class="win glass" id="w-podcast" style="left: 220px; top: 420px; width: 340px; display: none;">
<div class="titlebar" style="background: var(--title-bar);"><div class="dots"><div class="dot r no-drag" onclick="this.closest('.win').style.display='none'"></div><div class="dot y"></div><div class="dot g"></div></div>REEL MOUTH โ film pod</div>
<div class="body">
<div style="display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px;">
<img id="pod-art" src="" alt="REEL MOUTH" style="width: 84px; height: 84px; border-radius: 12px; object-fit: cover; box-shadow: 0 3px 10px rgba(0,0,0,0.18); display: none;" />
<div class="photo" id="pod-art-placeholder" style="width: 84px; height: 84px;"><span>๐</span></div>
<div style="font-size: 12px; line-height: 1.5;">
<div style="font-size: 16px; font-weight: 700; color: oklch(28% 0.08 230); letter-spacing: -0.3px;">REEL MOUTH</div>
<div style="opacity: 0.7; margin-bottom: 4px;">a film podcast ยท since 2022</div>
<div>tyler + mark arguing about movies for ~90 minutes a week. We agree maybe 30% of the time.</div>
</div>
</div>
<div style="font-size: 11px; opacity: 0.7; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px;">latest episodes</div>
<div id="pod-episodes" style="display: flex; flex-direction: column; gap: 4px; font-size: 12px; line-height: 1.5;">
<div style="opacity: 0.5; font-style: italic;">loadingโฆ</div>
</div>
<div style="margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap;">
<a class="aqua sm" href="https://reelmouth.tv" style="text-decoration:none;">โถ reelmouth.tv</a>
<a class="aqua sm" href="https://podcasts.apple.com/us/podcast/reel-mouth/id1709836497" style="text-decoration:none;">apple</a>
<a class="aqua sm" href="https://open.spotify.com/show/4hu14vsr1fucEoV5MIrqCY" style="text-decoration:none;">spotify</a>
<a class="aqua sm" href="https://anchor.fm/s/e8438774/podcast/rss" style="text-decoration:none;">rss</a>
</div>
</div>
</div>
<!-- GUESTBOOK / CONTACT -->
<div class="win glass" id="w-guestbook" style="left: 540px; top: 200px; width: 360px; display: none;">
<div class="titlebar" style="background: var(--title-bar);"><div class="dots"><div class="dot r no-drag" onclick="this.closest('.win').style.display='none'"></div><div class="dot y"></div><div class="dot g"></div></div>Contact โ say hi.txt</div>
<div class="body">
<p style="margin: 0 0 10px;">No newsletter, no analytics. Just one email I actually read.</p>
<div style="padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.85); font-family: 'Courier New', monospace; font-size: 13px; margin-bottom: 14px;">
๐ง <a class="aero-link" href="mailto:tyler@tylerhoang.xyz">tyler@tylerhoang.xyz</a>
</div>
<div style="font-size: 12px; line-height: 1.7;">
<div>๐ <a class="aero-link" href="/files/gpg-main.txt">GPG public key</a> โ encrypt if you can</div>
<div>๐ <a class="aero-link" href="https://github.com/tyhoang">github.com/tyhoang</a></div>
<div>๐ <a class="aero-link" href="https://git.tylerhoang.xyz">git.tylerhoang.xyz</a></div>
<div>๐ <a class="aero-link" href="https://letterboxd.com/trainytrain">letterboxd.com/trainytrain</a></div>
</div>
<div style="margin-top: 14px; padding-top: 10px; border-top: 1px dotted oklch(70% 0.05 220);">
<div style="font-size: 10px; opacity: 0.65; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px;">โ leave a quick note โ</div>
<input id="gb-name" placeholder="your name" class="no-drag" style="width: 100%; padding: 7px 10px; margin-bottom: 6px; border-radius: 10px; border: 1px solid rgba(120,160,200,0.4); background: rgba(255,255,255,0.7); font: 12px 'Segoe UI', Tahoma, sans-serif; color: oklch(25% 0.05 230); box-sizing: border-box;" />
<input id="gb-email" type="email" placeholder="your email" class="no-drag" style="width: 100%; padding: 7px 10px; margin-bottom: 6px; border-radius: 10px; border: 1px solid rgba(120,160,200,0.4); background: rgba(255,255,255,0.7); font: 12px 'Segoe UI', Tahoma, sans-serif; color: oklch(25% 0.05 230); box-sizing: border-box;" />
<textarea id="gb-msg" placeholder="say hiโฆ" class="no-drag" style="width: 100%; min-height: 56px; resize: vertical; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(120,160,200,0.4); background: rgba(255,255,255,0.7); font: 12px 'Segoe UI', Tahoma, sans-serif; color: oklch(25% 0.05 230); box-sizing: border-box;"></textarea>
<div style="display:flex; justify-content: space-between; align-items: center; margin-top: 6px;">
<span id="gb-status" style="font-size: 10px; opacity: 0.65; font-style: italic;">โ takes ~2 days for a reply โ</span>
<button class="aqua sm no-drag" id="gb-send">send</button>
</div>
</div>
</div>
</div>
<!-- FILMS -->
<div class="win glass" id="w-films" style="left: 460px; top: 280px; width: 400px; display: none;">
<div class="titlebar" style="background: var(--title-bar);"><div class="dots"><div class="dot r no-drag" onclick="this.closest('.win').style.display='none'"></div><div class="dot y"></div><div class="dot g"></div></div>Films โ films.tylerhoang.xyz</div>
<div class="body">
<div style="display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px;">
<div>
<div style="font-size: 14px; font-weight: 700; color: oklch(28% 0.08 230);">my film diary</div>
<div style="font-size: 11px; opacity: 0.7;">a self-hosted Letterboxd, sort of. since '16.</div>
</div>
<div id="films-stats" style="font-size: 10px; text-align: right; opacity: 0.7; line-height: 1.4;"></div>
</div>
<div style="font-size: 11px; opacity: 0.7; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px;">recent watches</div>
<div id="films-list" style="display: flex; flex-direction: column;">
<div class="film-row">
<div class="film-poster" style="background: linear-gradient(135deg, oklch(70% 0.14 30), oklch(40% 0.10 280));"></div>
<div class="film-meta">
<div class="film-title">Chungking Express <span class="film-year">1994</span></div>
<div class="film-rating"><span class="star on">โ
</span><span class="star on">โ
</span><span class="star on">โ
</span><span class="star on">โ
</span><span class="star on">โ
</span><span style="opacity:0.6;margin-left:8px;">2d ago ยท rewatch #11</span></div>
<div class="film-note">still cry at the pineapples. wong's best.</div>
</div>
</div>
<div class="film-row">
<div class="film-poster" style="background: linear-gradient(135deg, oklch(85% 0.10 80), oklch(55% 0.12 30));"></div>
<div class="film-meta">
<div class="film-title">The Scent of Green Papaya <span class="film-year">1993</span></div>
<div class="film-rating"><span class="star on">โ
</span><span class="star on">โ
</span><span class="star on">โ
</span><span class="star on">โ
</span><span class="star">โ
</span><span style="opacity:0.6;margin-left:8px;">5d ago</span></div>
<div class="film-note">trinh picked it. so quiet you can hear yourself think.</div>
</div>
</div>
<div class="film-row">
<div class="film-poster" style="background: linear-gradient(135deg, oklch(45% 0.10 250), oklch(25% 0.06 260));"></div>
<div class="film-meta">
<div class="film-title">Stalker <span class="film-year">1979</span></div>
<div class="film-rating"><span class="star on">โ
</span><span class="star on">โ
</span><span class="star on">โ
</span><span class="star on">โ
</span><span class="star">โ
</span><span style="opacity:0.6;margin-left:8px;">1w ago</span></div>
<div class="film-note">3 hours of soviet vibes. felt every minute, in a good way.</div>
</div>
</div>
<div class="film-row">
<div class="film-poster" style="background: linear-gradient(135deg, oklch(75% 0.16 35), oklch(50% 0.14 20));"></div>
<div class="film-meta">
<div class="film-title">Perfect Days <span class="film-year">2023</span></div>
<div class="film-rating"><span class="star on">โ
</span><span class="star on">โ
</span><span class="star on">โ
</span><span class="star on half">โ
</span><span class="star">โ
</span><span style="opacity:0.6;margin-left:8px;">2w ago</span></div>
<div class="film-note">koji yakusho cleaning toilets is more cinema than most cinema.</div>
</div>
</div>
</div>
<div style="margin-top: 12px; display: flex; gap: 8px; align-items: center; justify-content: space-between;">
<span style="font-size: 11px; opacity: 0.7;">also mirrored on <a class="aero-link" href="https://letterboxd.com/trainytrain">letterboxd</a></span>
<a class="aqua sm" href="https://films.tylerhoang.xyz" style="text-decoration:none;">see all โ</a>
</div>
</div>
</div>
<!-- BROWSER -->
<div class="win glass" id="w-browser" style="left: 280px; top: 40px; width: 680px; height: 560px; display: none;">
<div class="browser">
<div class="titlebar">
<div class="dots">
<div class="dot r no-drag" onclick="this.closest('.win').style.display='none'"></div>
<div class="dot y"></div>
<div class="dot g"></div>
</div>
<span id="br-title">fun.tylerhoang.xyz โ Notes</span>
</div>
<div class="browser-toolbar no-drag">
<button class="nav-btn" id="br-back" title="Back" disabled>
<svg width="11" height="11" viewBox="0 0 11 11"><path d="M7.5 1.5 L3 5.5 L7.5 9.5" stroke="currentColor" stroke-width="1.8" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</button>
<button class="nav-btn" id="br-fwd" title="Forward" disabled>
<svg width="11" height="11" viewBox="0 0 11 11"><path d="M3.5 1.5 L8 5.5 L3.5 9.5" stroke="currentColor" stroke-width="1.8" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</button>
<button class="nav-btn refresh" id="br-reload" title="Reload">
<svg width="12" height="12" viewBox="0 0 12 12"><path d="M9.5 6 A3.5 3.5 0 1 1 8.5 3.4 M9.8 1.5 L9.8 4 L7.3 4" stroke="currentColor" stroke-width="1.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</button>
<button class="nav-btn" id="br-home" title="Home">
<svg width="12" height="12" viewBox="0 0 12 12"><path d="M2 6 L6 2.5 L10 6 L10 10 L7.5 10 L7.5 7 L4.5 7 L4.5 10 L2 10 Z" stroke="currentColor" stroke-width="1.3" fill="none" stroke-linejoin="round"/></svg>
</button>
<div class="url-bar">
<span class="lock">๐</span>
<span class="url-scheme">https://</span><span class="url-host" id="br-host">fun.tylerhoang.xyz</span><span class="url-path" id="br-path">/articles</span>
<span class="caret"></span>
</div>
<button class="nav-btn" id="br-go" title="Go" style="width: auto; padding: 0 10px;">Go</button>
</div>
<div class="browser-bookmarks">
<div class="bm home" data-go="/articles"><div class="favicon"></div>Notes</div>
<div class="bm" data-go="/articles/personal-library"><div class="favicon" style="background: linear-gradient(135deg, oklch(85% 0.14 60), oklch(55% 0.16 35));"></div>books</div>
<div class="bm" data-go="/articles/music-list"><div class="favicon" style="background: linear-gradient(135deg, oklch(85% 0.10 350), oklch(55% 0.16 340));"></div>music</div>
<div class="bm" data-go="/articles/software-and-hardware"><div class="favicon" style="background: linear-gradient(135deg, oklch(85% 0.14 140), oklch(50% 0.16 150));"></div>linux</div>
</div>
<div class="browser-page" id="br-page"></div>
<div class="browser-status">
<span id="br-status">Done</span>
<div class="progress" id="br-progress" style="display:none;"><div class="progress-bar"></div></div>
<span>๐ fun.tylerhoang.xyz ยท 100%</span>
</div>
</div>
</div>
<!-- NEIGHBORS / BUDDY LIST -->
<div class="win glass" id="w-neighbors" style="left: 880px; top: 220px; width: 340px; display: none;">
<div class="titlebar" style="background: var(--title-bar);"><div class="dots"><div class="dot r no-drag" onclick="this.closest('.win').style.display='none'"></div><div class="dot y"></div><div class="dot g"></div></div>Neighbors โ the indie web</div>
<div class="body">
<div style="font-size: 11px; opacity: 0.7; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1.5px;">friends & favorite homepages ยท </div>
<div class="bud-list">
<!-- <div class="bud-row"><div class="bud-led on"></div><div><div class="bud-name">trinh's garden ๐ฟ</div><div class="bud-host">trinh.computer</div></div><div class="bud-mood">repotting a monstera</div></div>
<div class="bud-row"><div class="bud-led on"></div><div><div class="bud-name">jay's mixtapes</div><div class="bud-host">jaylim.fm</div></div><div class="bud-mood">new bossa nova set</div></div>
<div class="bud-row"><div class="bud-led idle"></div><div><div class="bud-name">ari's lab notebook</div><div class="bud-host">arielab.dev</div></div><div class="bud-mood">soldering @ 3am again</div></div>
<div class="bud-row"><div class="bud-led on"></div><div><div class="bud-name">linh writes things</div><div class="bud-host">linhwrites.net</div></div><div class="bud-mood">draft #4 of the essay</div></div>
<div class="bud-row"><div class="bud-led idle"></div><div><div class="bud-name">marco's hifi corner</div><div class="bud-host">marco.audio</div></div><div class="bud-mood">tube amp restoration</div></div>
<div class="bud-row"><div class="bud-led off"></div><div><div class="bud-name">small green pixels</div><div class="bud-host">smallgreenpix.org</div></div><div class="bud-mood">โ offline ยท away โ</div></div> < -->
</div>
<div class="bud-foot">
<span>last sync ยท 2 min ago</span>
<a href="#">see all 19 โ</a>
</div>
<p style="margin: 12px 0 0; font-size: 11px; line-height: 1.55; opacity: 0.7; font-family: 'Plus Jakarta Sans', sans-serif;">
all hand-curated. no algorithms, no follow-back debt. if you keep a homepage and want to be neighbors, <a class="aero-link" href="mailto:tyler@tylerhoang.xyz">drop a line</a>.
</p>
</div>
</div>
<!-- WEBRING (top-center floating) -->
<div class="webring no-drag" id="webring">
<div class="wr-label"><span class="wr-flower">โ</span>quiet web ring</div>
<a class="wr-btn" href="#" id="wr-prev" title="previous site in the ring">ยซ prev</a>
<span class="wr-btn middle" id="wr-count">site 42 / 184</span>
<a class="wr-btn" href="#" id="wr-rand" title="random site">random</a>
<a class="wr-btn" href="#" id="wr-next" title="next site in the ring">next ยป</a>
</div>
<!-- STICKY NOTE pinned to desktop -->
<div class="sticky-note" id="sticky" style="right: 32px; top: 96px;">
<div class="sn-head">remember</div>
be mindful<br/>
love my wife.<br/>
study for cfa !!!<br/>
<span style="opacity:0.7">โ and stop checking</span><br/>
<span style="opacity:0.7">the news so much</span>
<span class="sn-sig">โ t.</span>
</div>
<!-- UPTIME RIBBON (bottom-right above taskbar) -->
<div class="uptime-ribbon" id="uptime">
<div class="ur-led"></div>
<span>online & quiet</span>
<span class="ur-sep">ยท</span>
<span>uptime 412d</span>
<span class="ur-sep">ยท</span>
<span>โฅ from long beach, ca</span>
</div>
<!-- TASKBAR -->
<div class="taskbar">
<div class="start"><span style="font-size:16px;">โ</span> tyler</div>
<div class="sep"></div>
<div id="mt"></div>
<div class="sep"></div>
<div id="cc"></div>
<div class="sep"></div>
<div class="tray">
<span class="clock" id="clock"></span>
<span style="opacity:0.6">|</span>
<span>๐ถ โ 73ยฐF</span>
</div>
</div>
<audio id="bgm" loop preload="none"></audio>
</div>
<script src="aero.js"></script>
<script>
Aero.initTheme();
const desk = document.getElementById('desk');
Aero.makeClouds(document.getElementById('clouds'));
Aero.spawnBubbles(desk, 24);
Aero.sparkleCursor();
Aero.mountThemeSwitcher();
document.querySelectorAll('.win').forEach(w => {
Aero.makeDraggable(w, w.querySelector('.titlebar'));
Aero.makeResizable(w, { minW: 300, minH: 220 });
});
// Sticky note โ draggable, lightly random tilt so each load feels handmade
const sticky = document.getElementById('sticky');
if (sticky) {
const rot = (-4 + Math.random() * 3).toFixed(2);
sticky.style.transform = `rotate(${rot}deg)`;
Aero.makeDraggable(sticky, sticky);
}
// Webring โ silly old-internet behaviour
const wrPrev = document.getElementById('wr-prev');
const wrNext = document.getElementById('wr-next');
const wrRand = document.getElementById('wr-rand');
const wrCount = document.getElementById('wr-count');
const ringSites = [
'mireia.computer', 'jaylim.fm', 'trinh.computer', 'arielab.dev',
'linhwrites.net', 'marco.audio', 'smallgreenpix.org', 'amalia.zone',
'thursday.cafe', 'soft.garden', 'foglamp.club', 'kanji.coffee'
];
let ringIdx = 42;
function ringHop(dir) {
ringIdx = Math.max(1, Math.min(184, ringIdx + dir));
wrCount.textContent = `site ${ringIdx} / 184`;
const site = ringSites[Math.floor(Math.random() * ringSites.length)];
wrCount.title = `would surf to ${site}`;
wrCount.animate(
[{ opacity: 0.3 }, { opacity: 0.75 }],
{ duration: 280, easing: 'ease-out' }
);
}
if (wrPrev) wrPrev.addEventListener('click', e => { e.preventDefault(); ringHop(-1); });
if (wrNext) wrNext.addEventListener('click', e => { e.preventDefault(); ringHop(1); });
if (wrRand) wrRand.addEventListener('click', e => {
e.preventDefault();
ringIdx = 1 + Math.floor(Math.random() * 184);
wrCount.textContent = `site ${ringIdx} / 184`;
wrCount.animate(
[{ transform: 'scale(0.9)', opacity: 0.3 }, { transform: 'scale(1)', opacity: 0.75 }],
{ duration: 320, easing: 'ease-out' }
);
});
document.querySelectorAll('.icon').forEach(ic => {
ic.addEventListener('dblclick', () => {
const key = ic.dataset.open;
const w = document.getElementById('w-' + key);
if (w) { w.style.display = ''; w.style.zIndex = (++window.__zTop || (window.__zTop = 100)); }
});
ic.addEventListener('click', () => {
const key = ic.dataset.open;
const w = document.getElementById('w-' + key);
if (w) { w.style.display = ''; w.style.zIndex = (++window.__zTop || (window.__zTop = 100)); }
});
});
// podcast RSS
let podLoaded = false;
async function loadPodcast() {
if (podLoaded) return;
podLoaded = true;
try {
const { art, episodes } = await Aero.fetchReelMouthFeed(6);
if (art) {
const img = document.getElementById('pod-art');
const ph = document.getElementById('pod-art-placeholder');
img.src = art;
img.style.display = '';
if (ph) ph.style.display = 'none';
}
const container = document.getElementById('pod-episodes');
if (episodes.length) {
container.innerHTML = episodes.map(e =>
`<div style="display:flex;justify-content:space-between;gap:8px;">
<a href="${e.url}" target="_blank" rel="noopener" style="color:inherit;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;" title="${e.title}">${e.title.toLowerCase()}</a>
<span style="opacity:0.6;flex-shrink:0;">${e.duration}</span>
</div>`
).join('');
} else {
container.innerHTML = '<div style="opacity:0.5;font-style:italic;">no episodes found</div>';
}
} catch (err) {
document.getElementById('pod-episodes').innerHTML = '<div style="opacity:0.5;font-style:italic;">couldn\'t load feed</div>';
}
}
document.querySelectorAll('.icon[data-open="podcast"]').forEach(ic => {
ic.addEventListener('click', loadPodcast);
ic.addEventListener('dblclick', loadPodcast);
});
// music toggle + volume slider (theme-aware)
const MUSIC = {
aero: { src: '/mus/bazaar-theme.mp3', label: 'โช a-dog โ bazaar theme' },
chrome: { src: '/mus/CoolMan - WhoIsUsingThisComputer_.mp3', label: 'โช coolman โ who is using this computer?' },
};
document.getElementById('mt').innerHTML = Aero.musicToggleHTML();
const mtDiv = document.getElementById('mt');
const mtBtn = mtDiv.querySelector('.mt-btn');
const mtLabel = mtDiv.querySelector('.mt-label');
const bgm = document.getElementById('bgm');
bgm.volume = 0.2;
const vol = document.createElement('input');
vol.type = 'range'; vol.min = '0'; vol.max = '1'; vol.step = '0.01'; vol.value = '0.2';
vol.className = 'no-drag aero-vol';
vol.title = 'volume';
vol.style.cssText = 'width:70px;margin-left:6px;cursor:pointer;accent-color:oklch(55% 0.13 230);vertical-align:middle;';
mtDiv.querySelector('.music-toggle').appendChild(vol);
vol.addEventListener('input', () => { bgm.volume = Number(vol.value); });
let musicOn = false;
function applyMusicTheme() {
const track = MUSIC[Aero.getTheme()] || MUSIC.aero;
if (bgm.getAttribute('src') !== track.src) {
const pos = bgm.currentTime;
bgm.src = track.src;
if (musicOn) { bgm.load(); bgm.currentTime = 0; bgm.play(); }
}
if (musicOn) mtLabel.textContent = (MUSIC[Aero.getTheme()] || MUSIC.aero).label;
}
mtBtn.addEventListener('click', () => {
musicOn = !musicOn;
if (musicOn) {
const track = MUSIC[Aero.getTheme()] || MUSIC.aero;
bgm.src = track.src;
bgm.load();
bgm.play();
mtBtn.textContent = 'โโ';
mtLabel.textContent = track.label;
mtBtn.style.background = 'radial-gradient(circle at 30% 25%,white,oklch(75% 0.14 55) 60%,oklch(55% 0.15 35))';
} else {
bgm.pause();
mtBtn.textContent = 'โถ';
mtLabel.textContent = 'music off';
mtBtn.style.background = 'radial-gradient(circle at 30% 25%,white,oklch(82% 0.12 220) 60%,oklch(50% 0.13 240))';
}
});
// swap track live when theme changes while music is playing
window.addEventListener('themechange', applyMusicTheme);
// autoplay on load; fall back to first click if browser blocks it
(function() {
const track = MUSIC[Aero.getTheme()] || MUSIC.aero;
bgm.src = track.src;
bgm.load();
bgm.play().then(() => {
musicOn = true;
mtBtn.textContent = 'โโ';
mtLabel.textContent = track.label;
mtBtn.style.background = 'radial-gradient(circle at 30% 25%,white,oklch(75% 0.14 55) 60%,oklch(55% 0.15 35))';
}).catch(() => {
document.addEventListener('click', () => {
const t = MUSIC[Aero.getTheme()] || MUSIC.aero;
bgm.src = t.src;
bgm.load();
bgm.play().then(() => {
musicOn = true;
mtBtn.textContent = 'โโ';
mtLabel.textContent = t.label;
mtBtn.style.background = 'radial-gradient(circle at 30% 25%,white,oklch(75% 0.14 55) 60%,oklch(55% 0.15 35))';
});
}, { once: true });
});
})();
// counter
document.getElementById('cc').innerHTML = Aero.counterHTML(0, 'visitors');
Aero.fetchVisitorCount()
.then(n => {
document.getElementById('cc').innerHTML = Aero.counterHTML(n, 'visitors');
})
.catch(() => {});
// now playing
document.getElementById('np-card').innerHTML = Aero.nowPlayingHTML(false);
Aero.animateEq(document.getElementById('np-card'));
// fetch last.fm
Aero.fetchLastFm()
.then(tracks => {
if (tracks && tracks.length > 0) {
document.getElementById('np-card').innerHTML = Aero.nowPlayingHTML(false, tracks[0]);
Aero.animateEq(document.getElementById('np-card'));
const recentDiv = document.getElementById('np-recent');
if (tracks.length > 1) {
recentDiv.innerHTML = tracks.slice(1, 4).map(t => {
const ago = t.when ? Math.floor((Date.now() - t.when) / 60000) : 0;
const timeStr = ago < 60 ? ago + 'm' : Math.floor(ago / 60) + 'h';
return `<div style="display:flex;justify-content:space-between;"><span>${t.artist ? t.artist + ' โ ' : ''}${t.name}</span><span style="opacity:0.6">${timeStr}</span></div>`;
}).join('');
}
}
})
.catch(() => {});
// clock
function tick() {
const d = new Date();
document.getElementById('clock').textContent =
d.toLocaleTimeString([], { hour: 'numeric', minute: '2-digit' });
}
tick(); setInterval(tick, 30000);
// guestbook send (fake but cute)
const gbBtn = document.getElementById('gb-send');
if (gbBtn) {
gbBtn.addEventListener('click', async () => {
const name = document.getElementById('gb-name').value.trim();
const email = document.getElementById('gb-email').value.trim();
const message = document.getElementById('gb-msg').value.trim();
const status = document.getElementById('gb-status');
if (!name || !email || !message) { status.textContent = 'โ fill in all three fields โ'; return; }
status.textContent = 'sendingโฆ';
gbBtn.disabled = true;
try {
const res = await fetch('https://tylerhoang.xyz/api/contact', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ name, email, message }),
});
const data = await res.json().catch(() => ({}));
if (res.ok) {
status.textContent = 'โ sent! talk soon';
document.getElementById('gb-name').value = '';
document.getElementById('gb-email').value = '';
document.getElementById('gb-msg').value = '';
} else {
status.textContent = data.error || 'โ something went wrong';
}
} catch {
status.textContent = 'โ could not reach server';
} finally {
gbBtn.disabled = false;
setTimeout(() => { status.textContent = 'โ takes ~2 days for a reply โ'; }, 5000);
}
});
}
/* ============= FAUX BROWSER =============
Articles live in the ARTICLES array below.
Each `body` is plain HTML โ use <p>, <h2>, <blockquote>, <em>, <code>,
and <span class="ilink" data-go="/articles/slug"> for in-page links.
============================================== */
const ARTICLES = [
{
slug: 'personal-library',
title: 'Personal <em>Library</em>',
date: '2022-01-01',
tag: 'books',
excerpt: 'Cookbooks, piano methods, and fake books I actually own and use.',
body: `
<p>I'm not going to pretend that I'm an avid reader, but I do own a few books that I reference regularly. Here's what's on the shelf.</p>
<h2>Cooking</h2>
<p><em>Mastering the Art of French Cooking</em> by Julia Child is one of the best cookbooks ever made. Dense, encyclopedic, filled with techniques and detailed illustrations. Not just a recipe book โ a guide on how to think about cooking. I've referenced it countless times when I don't know what to make for dinner, and every time the dish turns out great.</p>
<p><em>The Food Lab</em> by J. Kenji Lรณpez-Alt is the modernized version. Cooking at a scientific level, every technique explained with a <em>why</em>. Say what you want about Kenji, but this book is the real deal. I'd call it a modernized Julia Child โ it really is more of an encyclopedia than a cookbook. You don't need to read all of it. Just look at what interests you.</p>
<p><em>Mastering the Art of Chinese Cooking</em> by Eileen Yin-Fei Lo covers hundreds of recipes with cultural context and history. My knowledge of Chinese cooking is limited but a lot of the material in there looks delicious. <em>Complete Chinese Cookbook</em> by Ken Hom came highly recommended by basically everyone trying to get into Chinese cooking.</p>
<p><em>Tokyo Cult Recipes</em> by Maori Murota โ lots of pictures, lots of text, lots of recipes. My friend had a copy and recommended I check it out.</p>
<h2>Piano</h2>
<p><em>Jazz Piano Method</em> by Mark Davis has everything you need as a total beginner to start your journey as a jazz pianist. It's not a long book, but don't rush through it โ the exercises are dense and it might take a whole year to really absorb everything in it. Develop the muscle memory. Don't get frustrated.</p>
<p><em>Jazz Piano โ Methods and Songbook for Professional Playing</em> by Kent Hewitt was my first jazz piano book. Not quite as polished as the Mark Davis book, but the content is amazing. Hewitt puts soul into it, explains things simply, and makes learning fun. Once you start getting better though, you'll need to rely more on just listening and playing.</p>
<p><em>The Real Book, 6th Edition</em> โ industry standard for jazz lead sheets. Many inaccuracies, but if you could only have one fake book this is the one. Use it as a guide to learn melodies, then try to memorize the changes and embellish the melody without looking.</p>
<p><em>The Disney Fake Book</em> is great fun. Watch out for alternate keys โ <em>Someday My Prince Will Come</em> is written in F instead of Bโญ for some reason.</p>
`,
},
{
slug: 'music-list',
title: 'Music <em>Collection</em>',
date: '2022-01-01',
tag: 'music',
excerpt: 'Everything in my library. ~500 albums from jazz to hyperpop to city pop.',
body: `
<p>Generated from my music directory via <code>tree</code>. No commentary, just the list.</p>
<pre style="font-size:11px;line-height:1.6;color:inherit;background:rgba(0,0,0,0.04);padding:16px;border-radius:8px;overflow-x:auto;white-space:pre-wrap">Music
โโโ 100 gecs
โ โโโ 1000 gecs
โ โโโ mememe
โโโ 100 gecs feat. Charli XCX, Rico Nasty, Kero Kero Bonito
โ โโโ ringtone (remix)
โโโ 2814
โ โโโ ๆฐใใๆฅใฎ่ช็
โโโ 3776
โ โโโ ๆญณๆ่จ
โโโ 385
โ โโโ ่ณใฟใใใใใ
โโโ Aimer
โ โโโ BEST SELECTION "blanc"
โ โโโ BEST SELECTION "noir"
โ โโโ Penny Rain
โ โโโ Sun Dance
โโโ Aiobahn feat. nayuta
โ โโโ ้ใใใๆฅใจๅใธ
โโโ All That Jazz
โ โโโ EVER JAZZ
โ โโโ Ghibli Jazz
โ โโโ Ghibli Jazz 2
โโโ Art Blakey & The Jazz Messengers
โ โโโ The Big Beat
โโโ Astra King
โ โโโ Silver
โโโ BABYMETAL
โ โโโ BABYMETAL
โ โโโ METAL GALAXY
โ โโโ METAL RESISTANCE
โโโ BENEE
โ โโโ Hey U X
โโโ Bill Conti
โ โโโ Rocky: Original Motion Picture Score
โโโ Bill Evans
โ โโโ Everybody Digs Bill Evans
โ โโโ Some Other Time: The Lost Session From the Black Forest
โ โโโ You Must Believe in Spring
โโโ Bill Evans & Jim Hall
โ โโโ Intermodulation
โ โโโ Undercurrent
โโโ Bill Evans Trio
โ โโโ Explorations
โ โโโ Portrait in Jazz
โ โโโ Sunday at the Village Vanguard
โ โโโ Waltz for Debby
โโโ Billie Eilish
โ โโโ Happier Than Ever
โ โโโ WHEN WE ALL FALL ASLEEP, WHERE DO WE GO?
โโโ Billie Holiday
โ โโโ Billie's Best
โโโ Bjรถrk
โ โโโ Homogenic
โ โโโ Vespertine
โโโ Bjรถrk & Trรญรณ Guรฐmundar Ingรณlfssonar
โ โโโ Gling-Glรณ
โโโ Blonde Redhead
โ โโโ 23
โโโ Boredoms
โ โโโ Super รฆ
โ โโโ VISION CREATION NEWSUN
โโโ C418
โ โโโ Minecraft, Volume Alpha
โ โโโ Minecraft, Volume Beta
โโโ Casiopea
โ โโโ Casiopea
โ โโโ Mint Jams
โโโ Charles Mingus
โ โโโ Mingus Ah Um
โโโ Choro Club
โ โโโ ใจใณใใ่ฒทใๅบใ็ด่ก -Quiet Country Cafe- Original Soundtrack
โโโ Compilations
โ โโโ EVANGELION FINALLY
โ โโโ SUPER EUROBEAT presents INITIAL D ~D SELECTION~
โ โโโ Super Eurobeat Presents Initial D Fifth Stage D Selection
โ โโโ Super Eurobeat Presents Initial D Second Stage Non-Stop Selection
โ โโโ The Original Jazz Masters Series, Volume 1
โ โโโ mikgazer vol.1
โโโ DAOKO
โ โโโ DAOKO
โ โโโ THANK YOU BLUE
โ โโโ anima
โโโ Daft Punk
โ โโโ Discovery
โ โโโ Homework
โ โโโ Human After All
โ โโโ Random Access Memories
โโโ Death Grips
โ โโโ Exmilitary
โ โโโ No Love Deep Web
โ โโโ The Money Store
โโโ EGOIST
โ โโโ GREATEST HITS 2011-2017 "ALTER EGO"
โโโ Eric Dolphy
โ โโโ Out to Lunch!
โโโ Fiona Apple
โ โโโ Fetch the Bolt Cutters
โโโ Fleetwood Mac
โ โโโ Then Play On
โโโ Friday Night Plans
โ โโโ Plastic Love
โโโ Godspeed You! Black Emperor
โ โโโ Lift Yr. Skinny Fists Like Antennas to Heaven!
โโโ Gus Dapperton
โ โโโ Moodna, Once with Grace
โ โโโ You Think You're a Comic!
โโโ Gรกbor Szabรณ
โ โโโ Dreams
โโโ Hello Sleepwalkers
โ โโโ Masked Monkey Awakening
โโโ Hyper Potions, Synthion & MYLK
โ โโโ Maboroshi
โโโ Japanese Breakfast
โ โโโ Jubilee
โโโ John Coltrane
โ โโโ A Love Supreme
โ โโโ Giant Steps
โ โโโ My Favorite Things
โโโ John Coltrane Quartet
โ โโโ Ballads
โโโ Justin Hurwitz, Benj Pasek & Justin Paul
โ โโโ La La Land: Original Motion Picture Soundtrack
โโโ KANA-BOON
โ โโโ DOPPEL
โ โโโ TIME
โโโ KOTO
โ โโโ ใฐใใฐใใฆใใผใใใใใฐใ
โ โโโ ใใฉใใใใฏ ใใฉใใใ (Platonic Planet)
โโโ Kanye West
โ โโโ 808s & Heartbreak
โ โโโ My Beautiful Dark Twisted Fantasy
โโโ Kazumi Tateishi Trio
โ โโโ GHIBLI meets JAZZ ~Beautiful Songs~
โ โโโ Smile ~Beautiful Song in Jazz~
โโโ Keith Jarrett
โ โโโ The Kรถln Concert
โโโ Ken Ishii
โ โโโ Jelly Tones
โโโ Kendrick Lamar
โ โโโ DAMN.
โ โโโ To Pimp a Butterfly
โโโ Kero Kero Bonito
โ โโโ Bonito Generation
โ โโโ Civilisation I
โ โโโ Flamingo
โ โโโ Heartbeat
โ โโโ Intro Bonito
โ โโโ TOTEP
โ โโโ The Princess and the Clock
โ โโโ Time 'n' Place
โโโ Kim Petras
โ โโโ Slut Pop
โโโ King Crimson
โ โโโ In the Court of the Crimson King
โโโ Lamp
โ โโโ ๆไบบใธ
โโโ Lena Raine
โ โโโ Minecraft Nether Update (Original Game Soundtrack)
โโโ LiSA
โ โโโ LiSA BEST -Day-
โ โโโ LiSA BEST -Way-
โ โโโ ็ด
่ฎ่ฏ
โโโ Lil Mariko
โ โโโ Lil Mariko
โโโ Lil Pump
โ โโโ Lil Pump
โโโ Linked Horizon
โ โโโ ็ๅฎใธใฎ้ฒๆ
โโโ M.O.O.N.
โ โโโ Moon - EP
โโโ MASS OF THE FERMENTING DREGS
โ โโโ MASS OF THE FERMENTING DREGS
โ โโโ No New World
โ โโโ ใผใญใณใณใใ่ฒใจใใฉใใฎไธ็
โโโ MONDO GROSSO
โ โโโ ไฝๅบฆใงใๆฐใใ็ใพใใ
โโโ MYTH & ROID
โ โโโ PANTA RHEI
โ โโโ TIT FOR TAT
โ โโโ VORACITY
โ โโโ eYe's
โ โโโ shadowgraph
โโโ Magdalena Bay
โ โโโ Mercurial World
โโโ Masayoshi Minoshima
โ โโโ Bad Apple!!
โโโ Matt Uelmen
โ โโโ Diablo II Soundtrack
โโโ Melt-Banana
โ โโโ Cell-Scape
โ โโโ Fetch
โโโ Miles Davis
โ โโโ Kind of Blue
โโโ Mingus Big Band
โ โโโ Nostalgia in Times Square
โโโ Moe Shop
โ โโโ Moe Moe
โ โโโ Moshi Moshi
โโโ My Bloody Valentine
โ โโโ Loveless
โโโ NUMBER GIRL
โ โโโ NUM-HEAVYMETALLIC
โ โโโ SCHOOL GIRL DISTORTIONAL ADDICT
โโโ Nacio Herb Brown
โ โโโ Singin' in the Rain
โโโ Neutral Milk Hotel
โ โโโ In the Aeroplane Over the Sea
โโโ Night Tempo
โ โโโ Fantasy
โโโ Nirvana
โ โโโ Nevermind
โโโ Ogre You Asshole
โ โโโ OGRE YOU ASSHOLE
โโโ Olivia Rodrigo
โ โโโ SOUR
โโโ Otoboke Beaver
โ โโโ Itekoma Hits
โโโ Otomo Yoshihide's New Jazz Ensemble
โ โโโ Dreams
โโโ POLYSICS
โ โโโ Hey! Bob! My Friend!
โโโ PSYQUI feat. Such
โ โโโ ใในใใชใใฏใใคใใฌใผใซ
โโโ Panchiko
โ โโโ D_E_A_T_H_M_E_T_A_L
โโโ Party In Backyard & PewDiePie
โ โโโ Bitch Lasagna
โโโ Paul Hardcastle / Pigbag
โ โโโ Papa's Got A Brand New Pigbag
โโโ Perfume
โ โโโ COSMIC EXPLORER
โ โโโ Cling Cling
โ โโโ Future Pop
โ โโโ GAME
โ โโโ JPN
โ โโโ LEVEL3
โ โโโ โฟ
โ โโโ ใใใใใใคใญ
โโโ RADWIMPS
โ โโโ Weathering With You
โ โโโ Your Name (Original Motion Picture Soundtrack)
โโโ Red Velvet
โ โโโ Perfect Velvet
โโโ Reol
โ โโโ Sigma
โ โโโ ใจใณใใฌในEP
โ โโโ ไบๅฎไธ
โ โโโ ๆฅตๅฝฉ่ฒ
โ โโโ ้ๅญๅก
โโโ Rina Sawayama
โ โโโ SAWAYAMA
โโโ SAINT PEPSI
โ โโโ Hit Vibes
โโโ SOIL&"PIMP"SESSIONS
โ โโโ 6
โ โโโ Pimp of The Year
โโโ SOPHIE
โ โโโ Faceshopping
โ โโโ OIL OF EVERY PEARL'S UN-INSIDES
โโโ SUGAR BABE
โ โโโ SONGS
โโโ SUPERCAR
โ โโโ HIGHVISION
โโโ Sarah Vaughan
โ โโโ Sarah Vaughan
โโโ Shibayan Records
โ โโโ Adrastea
โ โโโ TOHO BOSSA NOVA 2
โ โโโ TOHO BOSSA NOVA 5
โ โโโ TOHO BOSSA NOVA 7
โ โโโ TOHO BOSSA NOVA 8
โ โโโ TOHO BOSSA NOVA 9
โโโ Shinichi Osawa
โ โโโ The One
โโโ Snail's House
โ โโโ Ordinary Songs
โ โโโ Ordinary Songs 2
โ โโโ Snรถ
โโโ Sonny Clark
โ โโโ Leapin' and Lopin'
โโโ Stan Getz / Joรฃo Gilberto featuring Antรดnio Carlos Jobim
โ โโโ Getz/Gilberto
โโโ THE ORAL CIGARETTES
โ โโโ FIXION
โโโ TK
โ โโโ unravel
โโโ TOHO JAZZ MESSENGERS
โ โโโ girls apartment
โ โโโ girls apartment 2
โโโ Taylor Swift
โ โโโ Red (Taylor's version)
โโโ Tessa Violet
โ โโโ Bad Ideas
โโโ The Beatles
โ โโโ Abbey Road
โโโ The Dave Brubeck Quartet
โ โโโ Time Out
โโโ The Strokes
โ โโโ Is This It
โโโ The Velvet Underground
โ โโโ The Velvet Underground & Nico
โโโ Tomggg
โ โโโ Butter Sugar Cream
โโโ Tzusing
โ โโโ ๆฑๆนไธๆ
โโโ WhaleDontSleep
โ โโโ ใญใใใพใก (feat. yama)
โโโ YUC'e
โ โโโ macaron moon
โโโ YUKIKA
โ โโโ ์์ธ์ฌ์
โโโ Yaeji
โ โโโ EP2
โโโ Yellow Magic Orchestra
โ โโโ Naughty Boys
โ โโโ Solid State Survivor
โ โโโ Yellow Magic Orchestra
โโโ Yeule
โ โโโ Serotonin II
โโโ Yunomi
โ โโโ ใใฎใใใ
โโโ Yunomi feat. TORIENA
โ โโโ ๅคงๆฑๆธใณใณใใญใผใฉใผ EP
โโโ Yunomi feat. nicamoq
โ โโโ ใใฎใฟใฃใใซใ่ถใใฆ EP
โโโ Yunomi feat. ใญใผใฉใผใฌใผใซ
โ โโโ ใธใงใชใผใใฃใใทใฅ
โโโ Yunomi feat. ๆก็ฎฑ
โ โโโ ใใฉใฏใซใทใฅใฌใผใฉใณใ
โโโ Zazen Boys
โ โโโ ZAZEN BOYS
โโโ Zedd
โ โโโ Clarity
โโโ Zedd & Alessia Cara
โ โโโ Stay
โโโ bbno$
โ โโโ my oh my
โโโ masara
โ โโโ Love10
โโโ mus.hiba
โ โโโ White Girl
โโโ pidalso
โ โโโ The Ocean Waves OST Piano Cover Collection
โโโ toe
โ โโโ the book about my idle plot on a vague anxiety
โโโ tricot
โ โโโ A N D
โ โโโ T H E
โ โโโ ็ใฃ้ป
โโโ ใใใใ
โ โโโ heart of android
โโโ ใใฎใๅธๅฝ
โ โโโ eureka
โโโ ใใใใผใฑใฟใ
ใฑใฟใ
โ โโโ Nanda Collection
โ โโโ ใญใฃใณใใฃใผใฌใผใตใผ
โโโ ใใฃใจ็ๅคไธญใงใใใฎใซใ
โ โโโ ไปใฏไปใง่ชใใฏ็ฌใฟใง
โ โโโ ๆฝๆฝ่ฉฑ
โโโ ใฏใฃใดใใใใฉ
โ โโโ ้ขจ่กใใพใ
โโโ ใผใใใกใฎใใใจใใใ
โ โโโ ใใฟ
โโโ ใฎใฌP
โ โโโ No titleโ
โโโ ใทใผใใใซใ
โ โโโ COWBOY BEBOP
โโโ ใในใใจ
โ โโโ ๆผๅบๅฎถๅบๆผ
โโโ ใใณใฏใใชใณๆฑไบฌ
โ โโโ Single Collection Vol.2
โโโ ใใฃใใทใฅใใณใบ
โ โโโ Long Season
โ โโโ ็ฉบไธญใญใฃใณใ
โโโ ใใฌใใชใใฏ
โ โโโ oddloop
โ โโโ ใใฌใใชใบใ
โ โโโ ใใฌใใชใบใ 2
โโโ ใใฌใใท
โ โโโ ใญใฅใใฉ
โโโ ใใซใซใใใในใใฃใณใฐใฌใค
โ โโโ JET
โ โโโ ๆฐไธ็ด
โโโ ใใซใ
ใญBIGWAVE
โ โโโ WAVESใฆใงใผใใน - EP
โ โโโ ๆ็ฉบROMANTIC
โโโ ใใใช
โ โโโ shinsekai
โ โโโ ใใใใใพใใฆใใฏใใใพใใฆใใใใชใงใใ
โ โโโ ใปใซใณใ
โ โโโ ใใกใผในใ
โ โโโ ๆธ
ๆฐด
โโโ ใจใซใทใซ
โ โโโ ใ ใใๅใฏ้ณๆฅฝใ่พใใ
โ โโโ ใจใซใ
โ โโโ ๅค่ใ้ช้ญใใใ
โ โโโ ็ไฝ
โ โโโ ่ฑใซไบก้
โ โโโ ่ฒ ใ็ฌใซใขใณใณใผใซใฏใใใชใ
โโโ ใฉใใชใผใตใใผใกใใ
โ โโโ LSC
โโโ ไธๆใฎใใณใฟใทใข
โ โโโ ใฌใผใซใบใใซใผใปใใใใผใตใใ
โโโ ไฝไบๅฅฝๅญ
โ โโโ ่ฌ่ฑ้ก
โโโ ๅ
ซ็ฅ็ดๅญ
โ โโโ FULL MOON
โโโ ๅใจใใฆๆ้จ
โ โโโ Inspiration is DEAD
โโโ ๅ็ฅ็ฒ
โ โโโ Lust
โโโ ๅๅคๅถไฟฎ
โ โโโ Benzaiten
โโโ ๅๆฌ้พไธ
โ โโโ Merry Christmas Mr. Lawrence
โโโ ๅคงๆฃฎ้ๅญ
โ โโโ ๅคงๆฃฎ้ๅญ
โ โโโ ๆด่ณ
โโโ ๅคงๆฏ่ฏ็ๅธ
โ โโโ TRUE ROMANCE
โโโ ๅคง่ฒซๅฆๅญ
โ โโโ Mignonne
โ โโโ SUNSHOWER
โ โโโ copine
โโโ ๅฎๅค็ฐใใซใซ
โ โโโ ULTRA BLUE
โโโ ๅฑฑไธ้้
โ โโโ FOR YOU
โโโ ๅฑฑๅดใใณ
โ โโโ ้ฃใปใณใปใพใปใ
โโโ ๆธๅท็ด
โ โโโ ๅฅฝใๅฅฝใๅคงๅฅฝใ
โ โโโ ็ๅงซๆง
โโโ ๆฐไบๆญฃไบบ
โ โโโ MASAHITO ARAI +1
โโโ ๆฅใญใใ
โ โโโ LOVETHEISM
โ โโโ ใขใใ ใปใใผใใปใใถใผ
โ โโโ ๆฅใจไฟฎ็พ
โโโ ๆ้
โ โโโ Heaven Beach
โ โโโ TIMELY!!
โโโ ๆๅฒกๅฎ
โ โโโ Bamboo
โโโ ๆฑไบฌใใฉในในใฟใคใซ
โ โโโ ใใฉในใฟใธใใช
โโโ ๆพไธ่ช
โ โโโ FIRST LIGHT
โโโ ๆคๅๆๆช
โ โโโ ๅ ็พๅบ ็ฒพๆถฒ ๆ ใ่ฑ
โ โโโ ็ก็ฝชใขใฉใใชใขใ
โโโ ๆคๅๆๆชรSOIL&"PIMP"SESSIONS
โ โโโ ใซใชใฝใกไนๅฅณ๏ผDEATH JAZZ ver.๏ผ
โโโ ๆฐดๆๆฅใฎใซใณใใใฉ
โ โโโ SUPERMAN
โ โโโ ใฌใฉใใดใน
โโโ ๆฐธ็ฐ่
โ โโโ ๆตทใใใใใ
โโโ ๆฒขไบ็พ็ฉบ
โ โโโ ใซใฉใใซใ
โโโ ๆดฅใ
ไบใพใ
โ โโโ ๆใใใฉๅฟใใณใใ
โโโ ๆธ
ๆฐด้ๆ
โ โโโ ๆกๅฑฑๅญ
โโโ ็ธๅฏพๆง็่ซ
โ โโโ ใใคใใกใคๆฐๆธ
โโโ ็ข้้กๅญ
โ โโโ JAPANESE GIRL
โ โโโ ใใ ใใพใ
โโโ ็ฅ่ใใพใฃใฆใกใใ
โ โโโ ใคใพใใญ
โโโ ็ฆๅฑ
่ฏ
โ โโโ Live at Vidro '77
โ โโโ Mellow Dream
โ โโโ My Favorite Tune
โ โโโ Ryo Fukui In New York
โ โโโ Scenery
โโโ ็ซนๅ
ใพใใ
โ โโโ Love Songs
โ โโโ Variety
โโโ ็ฑณๆดฅ็ๅธซ
โ โโโ Flamingo / TEENAGE RIOT
โโโ ็ดฐ้ๆด่ฃใ้ดๆจ่ใๅฑฑไธ้้
โ โโโ Pacific
โโโ ่
้ใใๅญ
โ โโโ ๅ้ใฎใขใใญใณ KIDS ON THE SLOPE ORIGINAL SOUNDTRACK
โโโ ่ๆฑ ๆกๅญ
โ โโโ ADVENTURE
โโโ ้ๆBOYZ
โ โโโ ๅใจๅใฎ็ฌฌไธๆฌกไธ็ๅคงๆฆ็ๆๆ้ฉๅฝ
โโโ ้ๅฎฎ่ฒดๅญ
โ โโโ Love Trip
โโโ ้่ๅธๅญ
โ โโโ 0
โ โโโ ใใใณใ
โ โโโ ใขใใณใฎ้ขจ
โโโ ้ฃฏๅณถ็็
โ โโโ Rosรฉ
โโโ ้ซๆฉๆดๅญ / Claire
โ โโโ ๆฎ้
ทใชๅคฉไฝฟใฎใใผใผ / FLY ME TO THE MOON
โโโ ๋ฐํ์ง
โ โโโ Before I Die
โ โโโ IF U WANT IT
โโโ ์ด๋ฌ์ ์๋
์ค๋์์ด์จํด
โ โโโ Max & Match
โโโ ์ฅ์ค์ฃผ
โโโ Dream
507 directories</pre>
`,
},
{
slug: 'software-and-hardware',
title: 'Software & <em>Hardware</em>',
date: '2022-01-01',
tag: 'linux',
excerpt: 'What I run day-to-day. CachyOS, hyprland, vim, and a lot of opinions.',
body: `
<p>A lot of people like to know what hardware and software I run on a day-to-day basis, so here it is.</p>
<h2>Hardware</h2>
<p><strong>PC:</strong> AMD Ryzen 5 5600x ยท AMD Radeon 7900XT ยท 2ร16GB G.Skill Trident 3600MHz ยท Thermalright Phantom Spirit 120 SE ยท XPG Core Reactor 850W 80+ Gold.</p>
<p><strong>Laptop:</strong> Lenovo ThinkPad T480s.</p>
<p><strong>Mouse:</strong> Logitech G305 wireless. Just works. Great battery life, latency is not noticeable. Fits my hands well. One issue: after years of use, the scroll wheel gets shotty.</p>
<p><strong>Audio:</strong> Dedicated laptop running Daphile (Linux/Squeezebox) for bit-perfect playback โ Topping E30 DAC โ Topping L30 amp โ Onkyo receiver โ Edifier P17 speakers or SHP9500 headphones. IEMs: BLON BL03 and Moondrop Aria (2021) โ the Arias are mostly flat/neutral with a slight mid-bass hump, super fun to walk around with. Headphones: Beyerdynamic DT 770 Pro 250ฮฉ on the desktop, Phillips SHP9500 on the hifi rig. Mic: Samson Q2U dynamic XLR/USB into a Scarlett Focusrite 2i2.</p>
<h2>Software</h2>
<p><strong>OS:</strong> <em>CachyOS</em> โ I used to run Artix, basically Arch without systemd. I don't inherently have anything against systemd, but OpenRC has a fast startup time and I got used to it quickly. I was running Artix for a couple of years and just wanted to change it up a bit.</p>
<p><strong>Terminal:</strong> <code>st</code> (simple terminal) by suckless, although foot is also a good one if you're on wayland</p>
<p><strong>Browser:</strong> Brave. Mozilla keeps destroying Firefox with every update, so I've decided to boycott Firefox and any Mozilla product. Install uBlock Origin and Decentraleyes at minimum, though Brave comes with decent ad/tracking blocking by default.</p>
<p><strong>Text editor:</strong> <code>vim</code>. I used emacs for about a month โ didn't hate it, but it didn't fit my workflow. I was already too used to vim.</p>
<p><strong>Window manager:</strong> hyprland. Before that <a href="http://github.com/tyhoang/dwm">dwm</a>. Before that, herbstluftwm. bspwm and i3 are also great โ they all basically do the same thing anyway.</p>
<h2>Utilities</h2>
<p><strong>File manager:</strong> vifm โ dual-pane, vim bindings, super customizable.</p>
<p><strong>Mail:</strong> Thunderbird.</p>
<p><strong>XMPP:</strong> Gajim on Linux, Conversations on Android, both with OMEMO.</p>
<p><strong>Voice:</strong> Mumble (and Discord when I can't get friends to switch).</p>
<p><strong>Music:</strong> mpd + ncmpcpp + beet for library organization.</p>
<p><strong>Video:</strong> mpv โ lightweight, massively scriptable.</p>
<p><strong>RSS:</strong> newsboat. Most sites have an RSS feed; take advantage of them.</p>
<p><strong>Torrents:</strong> rtorrent via Flood UI.</p>
<p><strong>Images:</strong> sxiv</p>
<p><strong>PDF:</strong> zathura.</p>
<p><strong>Image editing:</strong> GIMP, imagemagick for quick tasks.</p>
<p><strong>Documents:</strong> LibreOffice for spreadsheets/slides, LaTeX for anything that needs to look good.</p>
<blockquote>All of the software I use is free and open source. Software that respects my freedom to use, share, and maintain privacy. Proprietary services like Discord, Google Chrome, and Amazon exist to extort your personal data. Switch to libre software.</blockquote>
`,
},
];
const ARTICLE_INDEX = Object.fromEntries(ARTICLES.map(a => [a.slug, a]));
const HOST = 'fun.tylerhoang.xyz';
const browserHistory = { stack: [], idx: -1 };
function fmtDate(iso) {
const d = new Date(iso);
return d.toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' }).toLowerCase();
}
function renderIndex() {
const items = ARTICLES.map((a, i) => `
<div class="idx-art" data-go="/articles/${a.slug}">
<div class="idx-art-num">${String(i + 1).padStart(2, '0')}</div>
<div>
<div class="idx-art-title">${a.title}</div>
<div class="idx-art-excerpt">${a.excerpt}</div>
</div>
<div class="idx-art-meta">
<div>${fmtDate(a.date)}</div>
<div><span class="idx-art-tag">${a.tag}</span></div>
</div>
</div>
`).join('');
return `
<div class="idx-hero">
<div class="idx-eyebrow">/notes โ Tyler Hoang</div>
<h1 class="idx-title">Things I've been <em>thinking about</em>.</h1>
<p class="idx-sub">Half-finished essays from a banker who'd rather be playing piano. New ones land when they land โ usually monthly, never on a schedule.</p>
</div>
<div class="idx-list">${items}</div>
`;
}
function renderArticle(slug) {
const a = ARTICLE_INDEX[slug];
if (!a) return `<div class="art-page"><h1 class="art-title">404 โ not found</h1><p>That page isn't here.</p><span class="art-back" data-go="/articles">โ back to notes</span></div>`;
const i = ARTICLES.findIndex(x => x.slug === slug);
const next = ARTICLES[(i + 1) % ARTICLES.length];
return `
<article class="art-page">
<span class="art-back" data-go="/articles">โ all notes</span>
<div class="art-eyebrow">${a.tag} ยท ${fmtDate(a.date)}</div>
<h1 class="art-title">${a.title}</h1>
<div class="art-byline">by Tyler Hoang ยท ~${Math.max(2, Math.round(a.body.replace(/<[^>]+>/g,'').split(/\s+/).length / 200))} min read</div>
<div class="art-body">${a.body}</div>
<div class="art-foot">
<span>โ thanks for reading</span>
<span class="more" data-go="/articles/${next.slug}">next: ${next.title.replace(/<[^>]+>/g,'')} โ</span>
</div>
</article>
`;
}
function pathToContent(path) {
if (path === '/articles' || path === '/articles/') return renderIndex();
const m = path.match(/^\/articles\/([a-z0-9-]+)$/);
if (m) return renderArticle(m[1]);
return `<div class="art-page"><h1 class="art-title">404</h1><p>No page at <code>${path}</code>.</p><span class="art-back" data-go="/articles">โ back</span></div>`;
}
function updateChrome(path) {
document.getElementById('br-host').textContent = HOST;
document.getElementById('br-path').textContent = path;
const isArt = /^\/articles\/[a-z0-9-]+$/.test(path);
const slug = isArt ? path.split('/').pop() : null;
const titleTxt = isArt && ARTICLE_INDEX[slug]
? `${ARTICLE_INDEX[slug].title.replace(/<[^>]+>/g,'')} โ fun.tylerhoang.xyz`
: 'Notes โ fun.tylerhoang.xyz';
document.getElementById('br-title').textContent = titleTxt;
document.querySelectorAll('.browser-bookmarks .bm').forEach(bm => {
bm.classList.toggle('active', bm.dataset.go === path);
});
document.getElementById('br-back').disabled = browserHistory.idx <= 0;
document.getElementById('br-fwd').disabled = browserHistory.idx >= browserHistory.stack.length - 1;
}
function loadPath(path, pushHist = true) {
const page = document.getElementById('br-page');
const status = document.getElementById('br-status');
const progress = document.getElementById('br-progress');
status.textContent = `Contacting fun.tylerhoang.xyzโฆ`;
progress.style.display = 'block';
progress.querySelector('.progress-bar').style.width = '20%';
setTimeout(() => {
progress.querySelector('.progress-bar').style.width = '70%';
status.textContent = `Reading ${path}โฆ`;
}, 80);
setTimeout(() => {
page.innerHTML = pathToContent(path);
page.scrollTop = 0;
if (pushHist) {
browserHistory.stack = browserHistory.stack.slice(0, browserHistory.idx + 1);
browserHistory.stack.push(path);
browserHistory.idx = browserHistory.stack.length - 1;
}
updateChrome(path);
progress.querySelector('.progress-bar').style.width = '100%';
setTimeout(() => {
progress.style.display = 'none';
progress.querySelector('.progress-bar').style.width = '0%';
status.textContent = 'Done';
}, 120);
}, 220);
}
// delegated click handler โ anything with data-go inside the browser navigates
document.getElementById('w-browser').addEventListener('click', (e) => {
const t = e.target.closest('[data-go]');
if (t) { e.preventDefault(); loadPath(t.dataset.go); }
});
document.getElementById('br-back').addEventListener('click', () => {
if (browserHistory.idx > 0) { browserHistory.idx--; loadPath(browserHistory.stack[browserHistory.idx], false); }
});
document.getElementById('br-fwd').addEventListener('click', () => {
if (browserHistory.idx < browserHistory.stack.length - 1) { browserHistory.idx++; loadPath(browserHistory.stack[browserHistory.idx], false); }
});
document.getElementById('br-home').addEventListener('click', () => loadPath('/articles'));
document.getElementById('br-go').addEventListener('click', () => {
loadPath(document.getElementById('br-path').textContent.trim() || '/articles');
});
document.getElementById('br-reload').addEventListener('click', (e) => {
const btn = e.currentTarget;
btn.classList.remove('spinning'); void btn.offsetWidth; btn.classList.add('spinning');
loadPath(browserHistory.stack[browserHistory.idx] || '/articles', false);
});
// initial page load
loadPath('/articles');
// fetch films
Aero.fetchFilms()
.then(data => {
try {
const films = Array.isArray(data) ? data : (data.films || data.data || []);
const filmsList = document.getElementById('films-list');
if (films.length > 0) {
const esc = s => String(s == null ? '' : s).replace(/[&<>"']/g, c => ({'&':'&','<':'<','>':'>','"':'"',"'":'''}[c]));
filmsList.innerHTML = films.slice(0, 4).map((film) => {
const rating = Math.max(0, Math.min(3, Number(film.stars ?? film.rating ?? 0)));
const stars = Array.from({ length: 3 }, (_, i) =>
i < rating ? '<span class="star on">โ
</span>' : '<span class="star">โ
</span>'
).join('');
let when = '';
const raw = film.date_watched || film.watchedAt;
if (raw) {
const d = new Date(raw);
if (!isNaN(d)) {
const days = Math.floor((Date.now() - d) / 86400000);
if (days <= 0) when = 'today';
else if (days === 1) when = '1d ago';
else if (days < 7) when = days + 'd ago';
else if (days < 30) when = Math.floor(days / 7) + 'w ago';
else when = Math.floor(days / 30) + 'mo ago';
} else {
when = String(raw);
}
}
const poster = film.poster_url || film.posterUrl;
const posterStyle = poster
? `background: url('${esc(poster).replace(/'/g, '%27')}') center / cover;`
: `background: linear-gradient(135deg, oklch(70% 0.13 220), oklch(40% 0.10 250));`;
const sub = film.director ? esc(film.director) : (film.note ? esc(film.note) : '');
return `
<div class="film-row">
<div class="film-poster" style="${posterStyle}"></div>
<div class="film-meta">
<div class="film-title">${esc(film.title)} <span class="film-year">${esc(film.year || '')}</span></div>
<div class="film-rating">${stars}<span style="opacity:0.6;margin-left:8px;">${when}</span></div>
${sub ? `<div class="film-note">${sub}</div>` : ''}
</div>
</div>
`;
}).join('');
}
const statsDiv = document.getElementById('films-stats');
if (data.total !== undefined || data.count !== undefined) {
const total = data.total || data.count;
let statsHtml = `<div><strong style="color: oklch(28% 0.08 230); font-size: 13px;">${total}</strong> watched</div>`;
if (data.thisYear !== undefined) {
statsHtml += `<div><strong style="color: oklch(28% 0.08 230); font-size: 13px;">${data.thisYear}</strong> this year</div>`;
}
statsDiv.innerHTML = statsHtml;
}
} catch (err) {
console.error('Films parse error:', err);
}
})
.catch(err => {
console.error('Films fetch error:', err);
});
</script>
</body>
</html>
|