-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.js
More file actions
6058 lines (5590 loc) · 264 KB
/
Copy pathscript.js
File metadata and controls
6058 lines (5590 loc) · 264 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
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
/* ═══════════════════════════════════════════════════
NiklasOS — script.js
Pure Vanilla JS — No dependencies
═══════════════════════════════════════════════════ */
'use strict';
// ─────────────────────────────────────────────────
// WINDOW CONFIGS
// ─────────────────────────────────────────────────
const WIN_CONFIGS = {
about: {
title: 'Brave',
color: 'orange',
defaultW: 640, defaultH: 640,
svgPath: 'M12 2L4 6v6c0 5.5 3.4 10.7 8 13 4.6-2.3 8-7.5 8-13V6L12 2zM12 8c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z',
},
career: {
title: 'Arbeitsplatz',
color: 'amber',
defaultW: 960, defaultH: 720,
svgPath: 'M2 8h24v17H2zM9 8V6a2 2 0 012-2h6a2 2 0 012 2v2M2 14h24',
},
terminal: {
title: 'Terminal',
color: 'green',
defaultW: 720, defaultH: 460,
svgPath: 'M2 4h24v20H2zM7 11l4 4-4 4M13 19h8',
},
sysmon: {
title: 'Task-Manager',
color: 'purple',
defaultW: 920, defaultH: 620,
svgPath: 'M2 4h24v20H2zM4 20l4-7 4 4 4-8 4 6 4-12',
},
bambu: {
title: 'Bambu Studio',
color: 'teal',
defaultW: 760, defaultH: 580,
svgPath: 'M4 14h20v10H4zM8 14V8l6-4 6 4v6M14 4v10',
},
homeassistant: {
title: 'Home Assistant',
color: 'orange',
defaultW: 920, defaultH: 580,
svgPath: 'M3 13L14 4l11 9M7 13h14v11H7zM11 18h6v6h-6z',
},
trash: {
title: 'Papierkorb',
color: 'red',
defaultW: 540, defaultH: 460,
svgPath: 'M5 8h18M10 8V6a2 2 0 012-2h4a2 2 0 012 2v2M9 8l1 16h8l1-16M12 12v8M16 12v8',
},
eigenedateien: {
title: 'Eigene Dateien',
color: 'yellow',
defaultW: 580, defaultH: 460,
svgPath: 'M3 7h8l2 3h12v15H3V7z',
},
// Mobile-only apps
claudeapp: {
title: 'Claude',
color: 'orange',
defaultW: 460, defaultH: 500,
svgPath: 'M12 3C7 3 4 7 4 12s3 9 8 9c2 0 4-1 5.5-2.5M20 9c0-3-2-6-5-7',
},
outlook: {
title: 'Outlook',
color: 'blue',
defaultW: 900, defaultH: 600,
svgPath: 'M2 6h20v16H2zM22 6L12 14 2 6M7 10h6M7 14h4',
},
teams: {
title: 'Teams',
color: 'indigo',
defaultW: 780, defaultH: 540,
svgPath: 'M16 11a4 4 0 10-8 0 4 4 0 008 0zM3 20v-1a7 7 0 0114 0v1M20 8a3 3 0 110 6M23 20v-1a5 5 0 00-3-4.6',
},
jira: {
title: 'Jira',
color: 'blue',
defaultW: 540, defaultH: 500,
svgPath: 'M14 4L4 14l4 4 10-10-4-4zM10 8l-6 6 4 4 6-6',
},
github: {
title: 'GitHub',
color: 'purple',
defaultW: 520, defaultH: 480,
svgPath: 'M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 00-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0020 4.77 5.07 5.07 0 0019.91 1S18.73.65 16 2.48a13.38 13.38 0 00-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 005 4.77a5.44 5.44 0 00-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 009 18.13V22',
},
filesapp: {
title: 'Dateien',
color: 'amber',
defaultW: 460, defaultH: 460,
svgPath: 'M3 7h8l2 3h12v15H3V7z',
},
photos: {
title: 'Google Fotos',
color: 'blue',
defaultW: 580, defaultH: 520,
svgPath: 'M14 3a11 11 0 100 22A11 11 0 0014 3zM8 10h12M14 4v10',
},
// Game apps
snake: {
title: 'Snake',
color: 'green',
defaultW: 420, defaultH: 500,
svgPath: 'M6 20c0-4 3-4 3-8s-3-4-3-8M10 4h4c2 0 3 1 3 3v2c0 2-1 3-3 3h-2c-2 0-3 1-3 3v2c0 2 1 3 3 3h4M22 8a2 2 0 100-4 2 2 0 000 4',
},
minesweeper: {
title: 'Minesweeper',
color: 'red',
defaultW: 460, defaultH: 540,
svgPath: 'M14 3v4M7 7l3 3M21 7l-3 3M14 11a3 3 0 100 6 3 3 0 000-6zM5 21h18M8 21l2-7M20 21l-2-7',
},
games: {
title: 'Games',
color: 'red',
defaultW: 500, defaultH: 420,
svgPath: 'M6 4h16v16H6zM2 8h4M2 12h4M2 16h4M11 9v6M8 12h6',
},
solitaire: {
title: 'Solitär',
color: 'green',
defaultW: 720, defaultH: 560,
svgPath: 'M4 4h6v8H4zM14 4h6v8H14zM9 12h6v8H9z',
},
memory: {
title: 'Memory',
color: 'purple',
defaultW: 440, defaultH: 480,
svgPath: 'M4 4h8v8H4zM16 4h8v8H16zM4 16h8v8H4zM16 16h8v8H16z',
},
tetris: {
title: 'Tetris',
color: 'teal',
defaultW: 380, defaultH: 540,
svgPath: 'M6 2h4v4H6zM10 2h4v4H10zM10 6h4v4H10zM14 6h4v4H14z',
},
pong: {
title: 'Pong',
color: 'blue',
defaultW: 420, defaultH: 500,
svgPath: 'M4 4h2v20H4zM22 4h2v20H22zM13 14a2 2 0 100-4 2 2 0 000 4z',
},
tictactoe: {
title: 'Tic-Tac-Toe',
color: 'pink',
defaultW: 380, defaultH: 460,
svgPath: 'M10 4v20M18 4v20M4 10h20M4 18h20',
},
flappybird: {
title: 'Flappy Bird',
color: 'yellow',
defaultW: 360, defaultH: 540,
svgPath: 'M12 8a4 4 0 108 0 4 4 0 00-8 0zM6 2v24M22 2v10M22 18v6',
},
sudoku: {
title: 'Sudoku',
color: 'amber',
defaultW: 440, defaultH: 540,
svgPath: 'M3 3h22v22H3zM3 10.3h22M3 17.6h22M10.3 3v22M17.6 3v22',
},
blog: {
title: 'Texteditor',
color: 'green',
defaultW: 960, defaultH: 680,
svgPath: 'M4 4h20v20H4zM8 8h12M8 12h8M8 16h10',
},
projects: {
title: 'Projekte',
color: 'blue',
defaultW: 800, defaultH: 580,
svgPath: 'M3 7h8l2 3h12v15H3V7zM10 15h8M10 19h5',
},
placeholder: {
title: 'Mehr',
color: 'indigo',
defaultW: 0, defaultH: 0,
svgPath: 'M3 7h8l2 3h12v15H3V7z',
},
};
// ─────────────────────────────────────────────────
// STATE
// ─────────────────────────────────────────────────
let zCounter = 100;
let activeWindowId = null;
const openWindows = new Map(); // id → { el, state, savedPos, savedSize, cleanup }
let windowOpenCount = 0;
let _blogTargetPost = null; // Blog-Beitrag, zu dem direkt gesprungen werden soll (z. B. aus Google Fotos)
// ─────────────────────────────────────────────────
// WINDOW CLEANUP REGISTRY
// ─────────────────────────────────────────────────
// Builder registrieren ihren Teardown (Timer, requestAnimationFrame, document-
// Listener), damit beim Schließen nichts auf bereits entferntem DOM weiterläuft.
// Desktop: Cleanup hängt am Fenster-State (openWindows). Mobile: Einzelfenster,
// daher eine modulweite Liste.
let _mobileCleanups = [];
function registerCleanup(id, fn) {
const w = openWindows.get(id);
if (w) (w.cleanup || (w.cleanup = [])).push(fn);
else _mobileCleanups.push(fn);
}
function runCleanups(list) {
if (!list || !list.length) return;
list.splice(0).forEach(fn => { try { fn(); } catch (_) {} });
}
// document-Listener (z. B. keydown der Spiele) per AbortController bündeln –
// .abort() entfernt alle auf einmal, auch anonyme Handler.
function windowSignal(id) {
const ac = new AbortController();
registerCleanup(id, () => ac.abort());
return ac.signal;
}
// ─────────────────────────────────────────────────
// WINDOW MANAGER
// ─────────────────────────────────────────────────
// Map packages/projects to Task-Manager tabs
const TM_TAB_REDIRECT = { projects: 'dienste' }; // 'packages' → 'appverlauf' entfällt (Tab deaktiviert)
let _tmInitialTab = null;
function openWindow(id) {
// Redirect packages/projects → Task-Manager with specific tab
if (TM_TAB_REDIRECT[id]) {
const tab = TM_TAB_REDIRECT[id];
if (openWindows.has('sysmon')) {
const w = openWindows.get('sysmon');
if (w.state === 'minimized') restoreWindow('sysmon');
else focusWindow('sysmon');
// Switch to the target tab
const btn = w.el.querySelector(`.tm-nav-item[data-tab="${tab}"]`);
if (btn) btn.click();
return;
}
// Open sysmon fresh with this tab
_tmInitialTab = tab;
id = 'sysmon';
}
if (!WIN_CONFIGS[id]) return;
// If already open: restore/focus
if (openWindows.has(id)) {
const w = openWindows.get(id);
if (w.state === 'minimized') restoreWindow(id);
else focusWindow(id);
return;
}
const cfg = WIN_CONFIGS[id];
const el = createWindowEl(id, cfg);
document.getElementById('windows-layer').appendChild(el);
const taskbarH = 44;
const maxW = window.innerWidth;
const maxH = window.innerHeight - taskbarH;
const w = Math.min(cfg.defaultW, maxW - 40);
const h = Math.min(cfg.defaultH, maxH - 40);
const offsetN = windowOpenCount % 8;
const x = Math.min(Math.max(20, (maxW - w) / 2 + offsetN * 22 - 88), maxW - w - 20);
const y = Math.min(Math.max(20, (maxH - h) / 2 + offsetN * 22 - 88), maxH - h - 20);
el.style.width = w + 'px';
el.style.height = h + 'px';
el.style.left = x + 'px';
el.style.top = y + 'px';
openWindows.set(id, { el, state: 'open', savedPos: { x, y }, savedSize: { w, h } });
windowOpenCount++;
focusWindow(id);
updateTaskbar();
initWindowContent(id, el);
// Multitasking achievement
if (openWindows.size >= 8 && typeof showAchievement === 'function') {
showAchievement('Multitasking-Experte', 'RAM: 97%. Aber es läuft.');
}
}
function closeWindow(id) {
const w = openWindows.get(id);
if (!w) return;
runCleanups(w.cleanup);
w.el.classList.add('closing');
w.el.addEventListener('animationend', () => {
w.el.remove();
}, { once: true });
openWindows.delete(id);
if (activeWindowId === id) activeWindowId = null;
updateTaskbar();
}
function minimizeWindow(id) {
const w = openWindows.get(id);
if (!w || w.state === 'minimized') return;
w.state = 'minimized';
w.el.classList.add('minimized');
if (activeWindowId === id) {
activeWindowId = null;
// Focus topmost remaining
const remaining = [...openWindows.entries()].filter(([, v]) => v.state === 'open');
if (remaining.length) focusWindow(remaining[remaining.length - 1][0]);
}
updateTaskbar();
}
function restoreWindow(id) {
const w = openWindows.get(id);
if (!w) return;
w.el.classList.remove('minimized', 'maximized');
w.state = 'open';
if (w.savedPos && !w.maximized) {
w.el.style.left = w.savedPos.x + 'px';
w.el.style.top = w.savedPos.y + 'px';
w.el.style.width = w.savedSize.w + 'px';
w.el.style.height = w.savedSize.h + 'px';
}
w.maximized = false;
focusWindow(id);
updateTaskbar();
}
function toggleMaximize(id) {
const w = openWindows.get(id);
if (!w) return;
if (w.maximized) {
w.el.classList.remove('maximized');
w.el.style.left = w.savedPos.x + 'px';
w.el.style.top = w.savedPos.y + 'px';
w.el.style.width = w.savedSize.w + 'px';
w.el.style.height = w.savedSize.h + 'px';
w.maximized = false;
} else {
w.savedPos = { x: parseInt(w.el.style.left), y: parseInt(w.el.style.top) };
w.savedSize = { w: w.el.offsetWidth, h: w.el.offsetHeight };
w.el.classList.add('maximized');
w.maximized = true;
}
}
function focusWindow(id) {
const w = openWindows.get(id);
if (!w) return;
zCounter++;
w.el.style.zIndex = zCounter;
// Remove active from others
openWindows.forEach((ow, oid) => {
ow.el.classList.toggle('active', oid === id);
});
activeWindowId = id;
updateTaskbar();
}
function minimizeAll() {
[...openWindows.keys()].forEach(id => minimizeWindow(id));
}
// ─────────────────────────────────────────────────
// CREATE WINDOW ELEMENT
// ─────────────────────────────────────────────────
function createWindowEl(id, cfg) {
const el = document.createElement('div');
el.className = 'window';
el.dataset.windowId = id;
// mini icon SVG for title bar
const colorMap = { blue: '#2563eb', amber: '#d97706', green: '#059669', purple: '#7c3aed', teal: '#0d9488', orange: '#ea580c', indigo: '#4f46e5', pink: '#db2777', cyan: '#0891b2', red: '#dc2626' };
const iconColor = colorMap[cfg.color] || '#52b788';
el.innerHTML = `
<div class="win-titlebar" data-window-id="${id}">
<div class="win-btns">
<button class="win-btn close-btn" data-action="close" aria-label="Schließen"></button>
<button class="win-btn min-btn" data-action="min" aria-label="Minimieren"></button>
<button class="win-btn max-btn" data-action="max" aria-label="Maximieren"></button>
</div>
<div class="win-icon" style="background:${iconColor}">
<svg viewBox="0 0 28 28" fill="none" style="width:16px;height:16px">
<path d="${cfg.svgPath}" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="win-title">${cfg.title}</div>
<div class="win-meta" id="win-meta-${id}"></div>
</div>
<div class="win-body" id="win-body-${id}"></div>
`;
// Title bar button events
el.querySelector('.close-btn').addEventListener('click', e => { e.stopPropagation(); closeWindow(id); });
el.querySelector('.min-btn').addEventListener('click', e => { e.stopPropagation(); minimizeWindow(id); });
el.querySelector('.max-btn').addEventListener('click', e => { e.stopPropagation(); toggleMaximize(id); });
// Double-click titlebar to maximize
el.querySelector('.win-titlebar').addEventListener('dblclick', () => toggleMaximize(id));
// Focus on click
el.addEventListener('mousedown', () => focusWindow(id));
// Drag
setupDrag(el, el.querySelector('.win-titlebar'), id);
return el;
}
// ─────────────────────────────────────────────────
// DRAG
// ─────────────────────────────────────────────────
// Ein einziger globaler Drag-Controller statt zwei document-Listener PRO Fenster
// (die nie entfernt wurden und sich mit jedem geöffneten Fenster aufstauten).
let _dragState = null;
let _globalDragInit = false;
function initGlobalDrag() {
if (_globalDragInit) return;
_globalDragInit = true;
document.addEventListener('mousemove', e => {
if (!_dragState) return;
const { windowEl, startX, startY, origX, origY } = _dragState;
const newX = origX + (e.clientX - startX);
const newY = origY + (e.clientY - startY);
const taskbarH = 44;
const maxX = window.innerWidth - windowEl.offsetWidth;
const maxY = window.innerHeight - taskbarH - 34; // keep titlebar visible
windowEl.style.left = Math.max(-windowEl.offsetWidth + 80, Math.min(newX, maxX + windowEl.offsetWidth - 80)) + 'px';
windowEl.style.top = Math.max(0, Math.min(newY, maxY)) + 'px';
});
document.addEventListener('mouseup', () => {
if (!_dragState) return;
const { windowEl, id } = _dragState;
_dragState = null;
const w = openWindows.get(id);
if (w && !w.maximized) {
w.savedPos = { x: parseInt(windowEl.style.left), y: parseInt(windowEl.style.top) };
w.savedSize = { w: windowEl.offsetWidth, h: windowEl.offsetHeight };
}
});
}
function setupDrag(windowEl, titlebarEl, id) {
titlebarEl.addEventListener('mousedown', e => {
if (e.target.classList.contains('win-btn')) return;
const w = openWindows.get(id);
if (w && w.maximized) return;
_dragState = {
windowEl, id,
startX: e.clientX, startY: e.clientY,
origX: parseInt(windowEl.style.left) || 0,
origY: parseInt(windowEl.style.top) || 0,
};
e.preventDefault();
});
}
// ─────────────────────────────────────────────────
// TASKBAR
// ─────────────────────────────────────────────────
function updateTaskbar() {
const container = document.getElementById('tb-windows');
container.innerHTML = '';
const colorMap = { blue: '#2563eb', amber: '#d97706', green: '#059669', purple: '#7c3aed', teal: '#0d9488', orange: '#ea580c', indigo: '#4f46e5', pink: '#db2777', cyan: '#0891b2', red: '#dc2626' };
openWindows.forEach((w, id) => {
const cfg = WIN_CONFIGS[id];
const btn = document.createElement('button');
btn.className = 'tb-win-btn' + (id === activeWindowId ? ' active' : '') + (w.state === 'minimized' ? ' minimized-btn' : '');
const iconColor = colorMap[cfg.color] || '#52b788';
btn.innerHTML = `
<div class="tb-win-icon" style="background:${iconColor}">
<svg viewBox="0 0 28 28" fill="none" style="width:14px;height:14px">
<path d="${cfg.svgPath}" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<span>${cfg.title}</span>
`;
btn.title = cfg.title;
btn.addEventListener('click', () => {
if (w.state === 'minimized') restoreWindow(id);
else if (id === activeWindowId) minimizeWindow(id);
else focusWindow(id);
});
container.appendChild(btn);
});
}
// ─────────────────────────────────────────────────
// INIT WINDOW CONTENT
// ─────────────────────────────────────────────────
function initWindowContent(id, el) {
const body = el.querySelector('.win-body');
const contentFns = {
about: buildAbout,
career: buildCareer,
terminal: buildTerminal,
sysmon: buildSysmon,
bambu: buildBambu,
homeassistant: buildHA,
trash: buildTrash,
eigenedateien: buildEigeneDateien,
claudeapp: buildClaudeApp,
outlook: buildOutlook,
teams: buildTeams,
jira: buildJira,
github: buildGitHub,
filesapp: buildFilesApp,
snake: buildSnake,
minesweeper: buildMinesweeper,
photos: buildPhotos,
games: buildGames,
solitaire: buildSolitaire,
memory: buildMemory,
tetris: buildTetris,
pong: buildPong,
tictactoe: buildTicTacToe,
flappybird: buildFlappyBird,
sudoku: buildSudoku,
blog: buildBlog,
projects: buildProjects,
};
if (contentFns[id]) {
if (id === 'sysmon' && typeof _tmInitialTab !== 'undefined' && _tmInitialTab) {
contentFns[id](body, id, _tmInitialTab);
_tmInitialTab = null;
} else {
contentFns[id](body, id);
}
}
}
// ─────────────────────────────────────────────────
// ABOUT.MD CONTENT
// ─────────────────────────────────────────────────
function buildAbout(body) {
body.style.padding = '0';
body.style.overflow = 'hidden';
body.style.display = 'flex';
body.style.flexDirection = 'column';
body.innerHTML = `
<div class="brave-chrome">
<div class="brave-toolbar">
<div class="brave-nav-btns">
<button class="brave-nav-btn" disabled aria-label="Zurück">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M10 3L5 8l5 5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
</button>
<button class="brave-nav-btn" disabled aria-label="Vorwärts">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M6 3l5 5-5 5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
</button>
<button class="brave-nav-btn" aria-label="Aktualisieren">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M13 8A5 5 0 103 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/><path d="M13 5v3h-3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
</button>
</div>
<div class="brave-address-bar">
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" style="color:#52b788;flex-shrink:0"><path d="M7 1.5C4 1.5 2 4 2 7s2 5.5 5 5.5 5-2.5 5-5.5-2-5.5-5-5.5zM7 1.5v11M2 7h10M2.5 4.5Q4.5 6 7 6t4.5-1.5M2.5 9.5Q4.5 8 7 8t4.5 1.5" stroke="currentColor" stroke-width="1.2"/></svg>
<span class="brave-url">niklasfauteck.de</span>
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" style="color:#52b788;margin-left:auto;flex-shrink:0"><path d="M7 1l1.5 3 3.5.5-2.5 2.5.6 3.5L7 9l-3.1 1.5.6-3.5L2 4.5 5.5 4z" stroke="currentColor" stroke-width="1.2" stroke-linejoin="round"/></svg>
</div>
<div class="brave-toolbar-right">
<button class="brave-nav-btn" aria-label="Brave Shields">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M8 1L2 3v4c0 3 2.5 5.7 6 7 3.5-1.3 6-4 6-7V3L8 1z" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round"/><path d="M5.5 8l1.5 1.5L10.5 6" stroke="#fb923c" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></svg>
</button>
<button class="brave-nav-btn" aria-label="Menü">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none"><circle cx="8" cy="4" r="1.2" fill="currentColor"/><circle cx="8" cy="8" r="1.2" fill="currentColor"/><circle cx="8" cy="12" r="1.2" fill="currentColor"/></svg>
</button>
</div>
</div>
</div>
<div class="brave-content">
<div class="about-content">
<h1>Niklas Fauteck</h1>
<div class="about-role">Andere planen die Transformation. Ich starte sie. Mit Strategie, KI und einem Faible fürs Liefern.</div>
<hr class="about-hr">
<h2>Digitale Ideen werden Realität — mit Strategie, KI und dem richtigen Sparringspartner.</h2>
<p>Digitale Transformation entscheidet sich für mich nicht in Strategie-Runden, sondern an dem Tag, an dem jemand den ersten Prototyp ins Laufen bringt.</p>
<p>Ich kenne die Stelle, an der die meisten Unternehmen ins Stocken geraten: zwischen Fachabteilung und IT. Als Head of Digital Transformation Kommunikation bei RTL Deutschland habe ich gebaut, automatisiert und erklärt – bis aus Ideen funktionierende Systeme wurden. Dieses Wissen bringe ich jetzt zu Organisationen und Menschen, die digitale Transformation nicht nur verwalten wollen.</p>
<p>Zuvor durfte ich viele Jahre in der PR für VOX und RTL+ dafür sorgen, dass Formate wie „Sing meinen Song", „Kitchen Impossible" oder „Goodbye Deutschland!" die Aufmerksamkeit bekommen, die sie verdienen – on air, online und überall dazwischen.</p>
<p>Mein Antrieb: Kommunikation, die wirkt. Prozesse, die laufen. Und Projekte, die nicht nur auf dem Papier gut aussehen, sondern echten Mehrwert schaffen.</p>
<p>Und ich bleibe nicht in der Strategie: Mit KI als Werkzeug baue ich Prototypen und kleine Tools selbst – „Vibecoding“ nenne ich das. So weiß ich aus erster Hand, was zwischen Idee und lauffähigem System wirklich passiert.</p>
<p>Andere planen. Ich starte.</p>
<div class="about-cta">
<button class="btn-primary" onclick="openWindow('career')">💼 Arbeitsplatz öffnen</button>
<button class="btn-ghost" onclick="openWindow('terminal')">$ Terminal starten</button>
<button class="btn-ghost" onclick="openWindow('outlook')">→ Kontakt</button>
</div>
</div>
</div>
`;
}
// ─────────────────────────────────────────────────
// CAREER / FILE MANAGER
// ─────────────────────────────────────────────────
const CAREER_DATA = [
{
id: 'rtl',
icon: '🏢',
name: 'seit 08/2023',
sub: 'RTL Deutschland',
title: 'Head of Digital Transformation Kommunikation',
company: 'RTL Deutschland',
period: 'seit 08/2023',
responsibilities: [
'Ich verantworte die strategische und operative Weiterentwicklung digitaler Systeme und Prozesse innerhalb der Unternehmenskommunikation.',
'Konzeption und Umsetzung skalierbarer digitaler Plattformen und Workflows (Media Hub, PICTRON, MDC)',
'Einführung und Weiterentwicklung automatisierter sowie KI-gestützter Prozesse',
'Product Owner für zentrale Kommunikationssysteme inkl. Roadmap-Planung und Go-Live-Verantwortung',
'Budget-, Stakeholder- und Schnittstellenmanagement in interdisziplinären Projektteams',
],
impact: [
'Zentrale digitale Plattform für 1.700+ Journalist:innen aufgebaut und weiterentwickelt',
'Systematische Prozessautomation und KI-Integration im redaktionellen Umfeld',
'Kulturwandel hin zu datengetriebenen, pragmatisch umgesetzten Entscheidungen',
],
},
{
id: 'newsdesk',
icon: '📰',
name: '08/2020 – 08/2023',
sub: 'RTL Deutschland',
title: 'Leiter Newsdesk Kommunikation / Senior Manager Kommunikation & PR',
company: 'RTL Deutschland',
period: '08/2020 – 08/2023',
responsibilities: [
'Ich habe den zentralen Newsdesk Kommunikation geleitet und die Weiterentwicklung der Kommunikationsprozesse verantwortet.',
'Weiterentwicklung des Media Hub als zentrale digitale Plattform für Presse- und Unternehmenskommunikation',
'Steuerung komplexer Kommunikations- und Digitalprojekte in enger Zusammenarbeit mit IT und Fachbereichen',
'Etablierung klarer Prozesse, Rollen und Schnittstellen zur Verbesserung von Effizienz und Transparenz',
],
impact: [
'Erfolgreiche Tool-Rollouts mit hoher Nutzerakzeptanz und nachhaltiger Nutzung',
'Strukturierte digitale Kommunikationsprozesse mit messbarer Effizienzsteigerung',
],
},
{
id: 'vox2',
icon: '📺',
name: '03/2019 – 08/2020',
sub: 'VOX / RTL+',
title: 'Senior Manager Kommunikation & PR',
company: 'VOX / RTL+',
period: '03/2019 – 08/2020',
responsibilities: [
'Ich habe die strategische und operative Kommunikationsarbeit im Umfeld nationaler TV- und Streamingformate verantwortet.',
'Themenkoordination und strategische Planung der externen Kommunikation',
'Krisenkommunikation sowie Entwicklung konsistenter Narrative über verschiedene Kanäle',
'Digitale Formatkommunikation in enger Abstimmung mit Redaktion, Marketing und Produktion',
],
impact: [
'Fundiertes Verständnis für Plattform-Logiken und digitale Verbreitungswege',
'Erste systematische Verbindung von Content-Denken und technischen Möglichkeiten',
],
},
{
id: 'vox1',
icon: '📣',
name: '08/2015 – 03/2019',
sub: 'VOX',
title: 'Presse- & Junior-Pressereferent',
company: 'VOX',
period: '08/2015 – 03/2019',
responsibilities: [
'Ich habe in der Presse- und Öffentlichkeitsarbeit für TV-Formate und Senderkommunikation mitgearbeitet.',
'Planung und Umsetzung von Pressearbeit und Kommunikationskampagnen',
'Koordination von Inhalten zwischen Redaktion, Produktion und externen Partnern',
],
impact: [
'Entdeckung der Leidenschaft für Schnittstellen zwischen Kommunikation und Technologie',
'Erste systematische Prozessoptimierung und Digitalisierung im PR-Umfeld',
],
},
{
id: 'hbrs',
icon: '🎓',
name: '2009 – 2013',
sub: 'H-BRS',
title: 'B.Sc. Technikjournalismus / PR',
company: 'Hochschule Bonn-Rhein-Sieg',
period: '2009 – 2013',
responsibilities: [
'Ich habe Technikjournalismus / PR an der Hochschule Bonn-Rhein-Sieg studiert.',
'Schwerpunkt: Vermittlung komplexer technischer und wissenschaftlicher Inhalte für unterschiedliche Zielgruppen',
'Bachelorarbeit: "Technikkommunikation in populärkulturellen Referaten. Eine Untersuchung zum Unterhaltungswert und zur wissenschaftlichen Informationsvermittlung in Science Slam Kurzvorträgen"',
],
impact: [
'Fundiertes Fundament für die Verbindung von Technologie, Wissenschaftskommunikation und PR',
],
},
];
function buildCareerMobile(body) {
body.style.padding = '0';
body.style.overflow = 'hidden';
body.style.display = 'flex';
body.style.flexDirection = 'column';
body.style.background = '#f7f8f6';
body.innerHTML = `
<div class="mob-career-wrap">
<div class="mob-career-header">
<span>💼</span>
<span>Karriere</span>
</div>
<div class="mob-career-timeline">
${CAREER_DATA.map((e, i) => `
<div class="mob-career-item" data-career-idx="${i}">
<div class="mob-career-connector">
<div class="mob-career-dot"></div>
${i < CAREER_DATA.length - 1 ? '<div class="mob-career-line"></div>' : ''}
</div>
<div class="mob-career-card">
<div class="mob-career-card-header">
<div>
<div class="mob-career-period">${e.period}</div>
<div class="mob-career-title">${e.title}</div>
<div class="mob-career-company">${e.company}</div>
</div>
<div class="mob-career-toggle">▼</div>
</div>
<div class="mob-career-details" style="display:none">
<div class="mob-career-section-label">Verantwortung</div>
<ul class="mob-career-list">
${e.responsibilities.map(r => `<li>${r}</li>`).join('')}
</ul>
${e.impact.length ? `
<div class="mob-career-section-label" style="margin-top:10px">Impact</div>
<ul class="mob-career-list mob-career-list-impact">
${e.impact.map(r => `<li>${r}</li>`).join('')}
</ul>
` : ''}
</div>
</div>
</div>
`).join('')}
</div>
</div>
`;
// Expand/collapse on tap
body.querySelectorAll('.mob-career-item').forEach(item => {
const header = item.querySelector('.mob-career-card-header');
const details = item.querySelector('.mob-career-details');
const toggle = item.querySelector('.mob-career-toggle');
header.addEventListener('click', () => {
const open = details.style.display !== 'none';
details.style.display = open ? 'none' : 'block';
toggle.textContent = open ? '▼' : '▲';
item.querySelector('.mob-career-dot').classList.toggle('active', !open);
});
});
// Open first item by default
const firstItem = body.querySelector('.mob-career-item');
if (firstItem) {
const d = firstItem.querySelector('.mob-career-details');
const t = firstItem.querySelector('.mob-career-toggle');
const dot = firstItem.querySelector('.mob-career-dot');
if (d) d.style.display = 'block';
if (t) t.textContent = '▲';
if (dot) dot.classList.add('active');
}
}
// Drive letters for career entries
const CAREER_DRIVES = ['C:', 'D:', 'E:', 'F:', 'G:'];
const CAREER_DRIVE_COLORS = ['#3b82f6', '#10b981', '#f59e0b', '#8b5cf6', '#ec4899'];
const CAREER_DRIVE_FILLS = [85, 60, 40, 30, 20]; // fake usage %
function buildCareer(body) {
if (window.innerWidth < 768) return buildCareerMobile(body);
body.style.padding = '0';
body.style.overflow = 'hidden';
body.style.display = 'flex';
body.style.flexDirection = 'column';
body.style.background = '#f0f0f0';
const drivesHtml = CAREER_DATA.map((e, i) => `
<div class="ap-drive${i === 0 ? ' active' : ''}" data-career-id="${e.id}" tabindex="0">
<div class="ap-drive-icon">
<svg viewBox="0 0 48 48" fill="none" width="40" height="40">
<rect x="4" y="14" width="40" height="26" rx="3" fill="${CAREER_DRIVE_COLORS[i]}" opacity="0.15" stroke="${CAREER_DRIVE_COLORS[i]}" stroke-width="1.8"/>
<rect x="4" y="14" width="40" height="10" rx="3" fill="${CAREER_DRIVE_COLORS[i]}" opacity="0.3"/>
<circle cx="38" cy="19" r="3" fill="${CAREER_DRIVE_COLORS[i]}"/>
<circle cx="30" cy="19" r="3" fill="${CAREER_DRIVE_COLORS[i]}" opacity="0.5"/>
<rect x="8" y="30" width="${Math.round(32 * CAREER_DRIVE_FILLS[i] / 100)}" height="5" rx="2" fill="${CAREER_DRIVE_COLORS[i]}" opacity="0.7"/>
<rect x="8" y="30" width="32" height="5" rx="2" stroke="${CAREER_DRIVE_COLORS[i]}" stroke-width="1" fill="none"/>
</svg>
</div>
<div class="ap-drive-info">
<div class="ap-drive-label">${e.sub}</div>
<div class="ap-drive-letter">(${CAREER_DRIVES[i] || '?:'})</div>
<div class="ap-drive-period">${e.period}</div>
</div>
</div>
`).join('');
body.innerHTML = `
<div class="ap-wrap">
<div class="ap-toolbar">
<div class="ap-toolbar-btns">
<div class="ap-toolbar-btn" title="Zurück">‹</div>
<div class="ap-toolbar-btn" title="Vor">›</div>
<div class="ap-toolbar-btn" title="Hoch">↑</div>
</div>
<div class="ap-path">/Niklas/Arbeitsplatz</div>
<a href="full/cv-niklas-fauteck.pdf" download="Niklas_Fauteck_CV.pdf" class="ap-cv-download" title="Lebenslauf herunterladen">
<svg viewBox="0 0 16 16" fill="none" width="13" height="13"><path d="M8 2v8M5 7l3 3 3-3M3 12h10" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
CV (PDF)
</a>
<div class="ap-view-btns">
<div class="ap-toolbar-btn ap-btn-active" title="Symbole">⊞</div>
<div class="ap-toolbar-btn" title="Liste">☰</div>
</div>
</div>
<div class="ap-body">
<div class="ap-sidebar">
<div class="ap-sidebar-section">Orte</div>
<div class="ap-sidebar-item active" data-nav="career">
<svg viewBox="0 0 16 16" fill="none" width="14" height="14"><rect x="1" y="5" width="14" height="10" rx="1.5" stroke="currentColor" stroke-width="1.3"/><path d="M5 5V4a2 2 0 014 0v1" stroke="currentColor" stroke-width="1.3"/></svg>
Arbeitsplatz
</div>
<div class="ap-sidebar-item" data-nav="eigenedateien">
<svg viewBox="0 0 16 16" fill="none" width="14" height="14"><path d="M1 4h6l1.5 2H15v8H1V4z" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round"/></svg>
Eigene Dateien
</div>
<div class="ap-sidebar-item" data-nav="outlook">
<svg viewBox="0 0 16 16" fill="none" width="14" height="14"><rect x="1" y="3" width="14" height="11" rx="1.5" stroke="currentColor" stroke-width="1.3"/><path d="M1 3l7 5 7-5" stroke="currentColor" stroke-width="1.3"/></svg>
Outlook
</div>
<div class="ap-sidebar-item" data-nav="trash">
<svg viewBox="0 0 16 16" fill="none" width="14" height="14"><path d="M3 5h10M6 5V3a1 1 0 011-1h2a1 1 0 011 1v2M5 5l.7 9h4.6l.7-9" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></svg>
Papierkorb
</div>
</div>
<div class="ap-main">
<div class="ap-section-label">Laufwerke</div>
<div class="ap-drives-grid" id="ap-drives-grid">
${drivesHtml}
</div>
<div class="ap-detail-pane" id="ap-detail-pane" style="display:none"></div>
</div>
</div>
<div class="ap-statusbar" id="ap-statusbar">5 Objekte</div>
</div>
`;
// Show first by default
showCareerDetail(body, CAREER_DATA[0].id);
body.querySelectorAll('.ap-drive').forEach(el => {
el.addEventListener('click', () => {
body.querySelectorAll('.ap-drive').forEach(e => e.classList.remove('active'));
el.classList.add('active');
showCareerDetail(body, el.dataset.careerId);
});
el.addEventListener('dblclick', () => {
// double click could expand detail, same as single for now
});
});
body.querySelectorAll('.ap-sidebar-item[data-nav]').forEach(el => {
el.addEventListener('click', () => {
const t = el.dataset.nav;
if (t !== 'career') openWindow(t);
});
});
}
function showCareerDetail(body, careerId) {
const data = CAREER_DATA.find(e => e.id === careerId);
// Support both old fm-detail-pane and new ap-detail-pane
const pane = body.querySelector('#ap-detail-pane') || body.querySelector('#fm-detail-pane');
if (!data || !pane) return;
pane.style.display = 'block';
pane.innerHTML = `
<div class="ap-detail-header">
<span class="ap-detail-icon">${data.icon}</span>
<div>
<div class="ap-detail-title">${data.title}</div>
<div class="ap-detail-company">${data.company}</div>
<div class="ap-detail-period">${data.period}</div>
</div>
</div>
<div class="ap-detail-section">
<h4>Verantwortung</h4>
<ul class="ap-detail-list">
${data.responsibilities.map(r => `<li>${r}</li>`).join('')}
</ul>
</div>
${data.impact.length ? `
<div class="ap-detail-section">
<h4>Wirkung</h4>
<ul class="ap-detail-list">
${data.impact.map(i => `<li>${i}</li>`).join('')}
</ul>
</div>` : ''}
`;
}
// ─────────────────────────────────────────────────
// TERMINAL
// ─────────────────────────────────────────────────
const TERM_COMMANDS = {
help: () => [
{ t: 'success', v: 'Verfügbare Befehle:' },
{ t: 'empty' },
{ t: 'accent', v: ' whoami → Kurze Selbstbeschreibung' },
{ t: 'accent', v: ' ls → Verzeichnisse anzeigen' },
{ t: 'accent', v: ' cat values.txt → Werte und Prinzipien' },
{ t: 'accent', v: ' cat about.txt → Kurzprofil' },
{ t: 'accent', v: ' cat README.md → Projekt-Dokumentation' },
{ t: 'accent', v: ' now → Aktueller Fokus' },
{ t: 'accent', v: ' anti_patterns → Was ich ablehne' },
{ t: 'accent', v: ' history → Interaktionshistorie' },
{ t: 'accent', v: ' fortune → Weisheit des Tages' },
{ t: 'accent', v: ' man niklas → Manual Page' },
{ t: 'accent', v: ' neofetch → System-Info' },
{ t: 'accent', v: ' cowsay <text> → ASCII-Kuh' },
{ t: 'accent', v: ' matrix → 🐇' },
{ t: 'accent', v: ' coffee → ☕' },
{ t: 'accent', v: ' clear → Terminal leeren' },
{ t: 'empty' },
{ t: 'success', v: 'Für Recruiter & Auftraggeber:' },
{ t: 'empty' },
{ t: 'accent', v: ' download cv → Lebenslauf herunterladen (PDF)' },
{ t: 'accent', v: ' availability → Verfügbarkeit' },
{ t: 'accent', v: ' contact → Kontaktdaten' },
],
whoami: () => [
{ t: 'out', v: 'niklas-fauteck' },
{ t: 'empty' },
{ t: 'out', v: 'Projektmanager & Coach für Digitale Transformation und KI-gestütztes Vibecoding.' },
{ t: 'out', v: 'Verbindet Kommunikation, Technologie und digitale Transformation.' },
{ t: 'empty' },
{ t: 'dim', v: 'Systemdenker. Pragmatiker. Neugierig.' },
],
ls: () => [
{ t: 'accent', v: 'career/ interests/ stack/ values/ contact/' },
{ t: 'dim', v: 'README.md about.txt values.txt' },
],
'ls career': () => [
{ t: 'dim', v: '# /Niklas/Karriere/' },
{ t: 'accent', v: '2023-heute/ 2020-2023/ 2019-2020/ 2015-2019/ 2009-2013/' },
],
'ls interests': () => [
{ t: 'accent', v: '3d-printing/ smart-home/ darts/ ki-vibecoding/ automation/' },
],
'ls stack': () => [
{ t: 'accent', v: 'ai/ collaboration/ infrastructure/ analytics/' },
],
'cat about.txt': () => [
{ t: 'bold', v: '# Niklas Fauteck — Kurzprofil' },
{ t: 'empty' },
{ t: 'out', v: 'Ich verbinde Kommunikation, Technologie und digitale Transformation –' },
{ t: 'out', v: 'und baue Systeme, die Menschen wirklich nutzen.' },
{ t: 'empty' },
{ t: 'dim', v: 'Standort: Troisdorf bei Köln, Deutschland' },
{ t: 'dim', v: 'Verfügbar: Gespräche, Projekte, Kaffee' },
],
'cat readme.md': () => [
{ t: 'bold', v: '# NiklasOS — Personal Branding OS' },
{ t: 'empty' },
{ t: 'dim', v: 'Statische Portfolio-Website als interaktives Betriebssystem.' },
{ t: 'dim', v: 'Vanilla HTML · CSS · JavaScript — Zero Dependencies.' },
{ t: 'empty' },
{ t: 'success', v: '[Features]' },
{ t: 'out', v: ' Boot-Sequenz & Login Terminal (~20 Befehle)' },
{ t: 'out', v: ' Fenstermanager (Drag/Resize) Spiele (Snake, Tetris, ...)' },
{ t: 'out', v: ' Task-Manager Bambu Studio & Home Assistant' },
{ t: 'out', v: ' Desktop-Kontextmenü Globale Suche' },
{ t: 'out', v: ' Mobile Lock/Home-Screen Fake Calls & Messages' },
{ t: 'empty' },
{ t: 'success', v: '[Architektur]' },
{ t: 'out', v: ' index.html → Semantisches HTML5, Schema.org' },
{ t: 'out', v: ' style.css → CSS3, Custom Properties, Responsive' },
{ t: 'out', v: ' script.js → Vanilla JS, ~4.500 Zeilen' },
{ t: 'out', v: ' /full/ → Klassische Portfolio-Variante' },
{ t: 'empty' },
{ t: 'success', v: '[Stack]' },
{ t: 'out', v: ' HTML5 · CSS3 · Vanilla JS · Google Fonts' },
{ t: 'out', v: ' Kein Build-Prozess · Kein Backend · Kein Framework' },
{ t: 'empty' },
{ t: 'success', v: '[Sicherheit]' },
{ t: 'out', v: ' Kein Tracking · Keine Cookies · Keine API' },
{ t: 'out', v: ' KI-Crawler blockiert (robots.txt)' },
{ t: 'out', v: ' Input-Sanitierung via escapeHtml()' },
{ t: 'empty' },
{ t: 'dim', v: '© Niklas Fauteck — Alle Rechte vorbehalten.' },
{ t: 'dim', v: 'Vollständige README: github.com/Fauteck/website' },
],
'cat values.txt': () => [
{ t: 'bold', v: '# values.txt' },
{ t: 'empty' },
{ t: 'success', v: '→ Menschen vor Tools' },
{ t: 'success', v: '→ Wirkung vor Buzzwords' },
{ t: 'success', v: '→ Verstehen vor Empfehlen' },