-
Notifications
You must be signed in to change notification settings - Fork 657
Expand file tree
/
Copy pathClover History.html
More file actions
1041 lines (908 loc) · 38.1 KB
/
Copy pathClover History.html
File metadata and controls
1041 lines (908 loc) · 38.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- SEO & Social Media Preview -->
<title>The Clover UEFI Bootloader - History, Devs & Downloads</title>
<meta name="description" content="The official hub for The Clover UEFI Bootloader. A legacy of macOS booting, firmware emulation, and Hackintosh innovation.">
<!-- Favicon -->
<link rel="icon" type="image/png" href="https://raw.githubusercontent.com/CloverHackyColor/CloverBootloader/refs/heads/master/Logo/Clover-Logo-Default-256x256%401x.png">
<!-- Open Graph / Social Media Tags -->
<meta property="og:title" content="The Clover UEFI Bootloader">
<meta property="og:description" content="A legacy of macOS booting, firmware emulation, and Hackintosh innovation. Download, history, and developer hub.">
<meta property="og:image" content="https://raw.githubusercontent.com/CloverHackyColor/CloverBootloader/refs/heads/master/Logo/Clover-Logo-Default-256x256%401x.png">
<meta property="og:url" content="https://cloverhackycolor.github.io/">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary_large_image">
<style>
:root {
--bg-color: #0d1117;
--card-bg: #161b22;
--border-color: #30363d;
--text-color: #c9d1d9;
--text-muted: #8b949e;
--accent-color: #3fb950;
--accent-hover: #2ea043;
--link-color: #58a6ff;
--clover-green: #2ea043;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
line-height: 1.6;
padding: 0;
}
.container {
max-width: 900px;
margin: 0 auto;
padding: 2rem 1rem;
}
/* Hero Section */
.hero {
text-align: center;
padding: 3rem 1rem;
border-bottom: 1px solid var(--border-color);
margin-bottom: 3rem;
}
/* Wrapper handles the floating up and down motion */
.logo-wrapper {
position: relative;
width: 140px;
height: 140px;
margin: 0 auto 2.5rem;
animation: float-pulse 5s ease-in-out infinite;
transition: transform 0.3s ease;
cursor: pointer;
overflow: visible;
}
.logo-wrapper:hover {
transform: scale(1.1);
animation-play-state: paused;
}
/* Boundary specifically for the canvas so it doesn't block the page */
.canvas-boundary {
position: absolute;
top: -150px; left: -150px;
width: 440px; height: 440px;
pointer-events: none;
overflow: hidden;
z-index: 4;
}
/* Logo image handles the vibrant glowing box-shadow pulse */
.hero img.logo {
width: 140px;
height: 140px;
border-radius: 20px;
border: 2px solid var(--clover-green);
margin-bottom: 0;
background-color: var(--card-bg);
position: absolute;
top: 0; left: 0;
z-index: 1;
animation: glow-pulse 5s ease-in-out infinite;
transition: box-shadow 0.3s ease;
}
.logo-wrapper:hover img.logo {
box-shadow: 0 0 40px 5px rgba(46, 160, 67, 0.8), 0 0 80px 10px rgba(46, 160, 67, 0.4);
}
/* Up and down floating motion */
@keyframes float-pulse {
0% { transform: translateY(0); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0); }
}
/* Vibrant glowing box-shadow pulse */
@keyframes glow-pulse {
0% {
box-shadow: 0 5px 15px rgba(46, 160, 67, 0.3), 0 0 20px rgba(46, 160, 67, 0.2);
}
50% {
box-shadow: 0 20px 30px rgba(46, 160, 67, 0.5), 0 0 40px 5px rgba(46, 160, 67, 0.6);
filter: brightness(1.2);
}
100% {
box-shadow: 0 5px 15px rgba(46, 160, 67, 0.3), 0 0 20px rgba(46, 160, 67, 0.2);
}
}
/* ORBITING LIGHT FRAME ANIMATION (SVG) */
.orbit-light {
position: absolute;
top: 0; left: 0;
width: 140px;
height: 140px;
z-index: 2;
pointer-events: none;
overflow: visible;
}
.orbit-light rect {
fill: none;
stroke: #00ff00;
stroke-width: 2.5;
stroke-linecap: round;
stroke-dasharray: 50 477;
animation: orbit-frame 4s linear infinite;
filter: drop-shadow(0 0 5px #00ff00) drop-shadow(0 0 10px #2ea043) drop-shadow(0 0 15px #2ea043);
}
@keyframes orbit-frame {
to {
stroke-dashoffset: -527;
}
}
/* Canvas for Explosion */
#fx-canvas {
display: block;
background-color: transparent;
width: 100%;
height: 100%;
}
.hero h1 {
font-size: 2.5rem;
background: linear-gradient(45deg, var(--text-color), var(--clover-green));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 0.5rem;
}
.hero .subtitle {
font-size: 1.2rem;
color: var(--text-muted);
margin-bottom: 1.5rem;
}
.hero-badges {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 2rem;
}
.hero-badges img {
height: 28px;
border-radius: 4px;
}
.btn-group {
display: flex;
justify-content: center;
gap: 1rem;
flex-wrap: wrap;
}
.btn {
display: inline-block;
padding: 0.7rem 1.5rem;
background-color: var(--card-bg);
border: 1px solid var(--border-color);
border-radius: 6px;
color: var(--text-color);
text-decoration: none;
font-size: 0.95rem;
font-weight: 500;
transition: 0.2s;
}
.btn:hover {
border-color: var(--accent-color);
color: var(--accent-color);
transform: translateY(-2px);
}
.btn-primary {
background-color: var(--accent-color);
color: #fff;
}
.btn-primary:hover {
background-color: var(--accent-hover);
color: #fff;
}
/* Section Styling */
.section {
margin-bottom: 4rem;
}
.section-title {
font-size: 1.5rem;
margin-bottom: 1.5rem;
border-left: 4px solid var(--clover-green);
padding-left: 1rem;
}
.section-text {
font-size: 1rem;
color: var(--text-muted);
margin-bottom: 1rem;
}
.section-text a {
color: var(--link-color);
text-decoration: none;
}
.section-text a:hover {
text-decoration: underline;
}
/* Timeline Styling */
.timeline {
position: relative;
padding-left: 2rem;
border-left: 2px solid var(--border-color);
margin-left: 1rem;
}
.timeline-item {
position: relative;
margin-bottom: 2.5rem;
}
.timeline-item::before {
content: '';
position: absolute;
left: -2.6rem;
top: 0.3rem;
width: 12px;
height: 12px;
border-radius: 50%;
background-color: var(--bg-color);
border: 2px solid var(--clover-green);
}
.timeline-item h3 {
color: var(--clover-green);
font-size: 1.1rem;
margin-bottom: 0.3rem;
}
.timeline-item p {
color: var(--text-muted);
font-size: 0.95rem;
}
/* Spoiler Styling */
.dev-spoiler {
background-color: var(--card-bg);
border: 1px solid var(--border-color);
border-radius: 8px;
padding: 1rem 1.5rem;
margin-top: 1.5rem;
}
.dev-spoiler summary {
cursor: pointer;
font-weight: 600;
color: var(--text-color);
display: flex;
align-items: center;
list-style: none; /* Remove default arrow */
transition: color 0.2s;
}
.dev-spoiler summary::-webkit-details-marker {
display: none; /* Remove default arrow in Safari/Chrome */
}
.dev-spoiler summary:hover {
color: var(--accent-color);
}
.dev-spoiler summary .arrow {
margin-right: 0.75rem;
display: inline-block;
transition: transform 0.2s ease;
color: var(--clover-green);
font-size: 1.2rem;
}
.dev-spoiler[open] summary .arrow {
transform: rotate(90deg); /* Rotate arrow when open */
}
/* Green Rounded Square Button Style for the Spoiler Note */
.dev-spoiler .spoiler-note {
margin-left: auto;
background-color: var(--accent-color);
color: #ffffff;
padding: 0.4rem 1rem;
border-radius: 8px; /* Rounded square shape */
font-size: 0.85rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
box-shadow: 0 0 10px rgba(46, 160, 67, 0.4);
transition: background-color 0.2s, transform 0.2s;
}
.dev-spoiler summary:hover .spoiler-note {
background-color: var(--accent-hover);
transform: scale(1.05);
}
/* Developers Grid */
.devs-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
gap: 1rem;
margin-top: 1.5rem;
border-top: 1px solid var(--border-color);
padding-top: 1.5rem;
}
.dev-card {
background-color: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 8px;
padding: 1rem 0.5rem;
text-align: center;
transition: 0.2s;
text-decoration: none;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.dev-card:hover {
border-color: var(--link-color);
transform: translateY(-3px);
}
.dev-card img {
width: 50px;
height: 50px;
border-radius: 50%;
margin-bottom: 0.5rem;
border: 2px solid var(--border-color);
}
.dev-card h4 {
font-size: 0.85rem;
color: var(--text-color);
margin-bottom: 0.2rem;
word-break: break-word;
}
.dev-card span {
font-size: 0.7rem;
color: var(--text-muted);
display: block;
}
/* Badges Layout for Credits */
.badges-container {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 1rem;
}
.badge-item {
display: flex;
align-items: center;
background-color: var(--card-bg);
border: 1px solid var(--border-color);
padding: 0.3rem 0.5rem;
border-radius: 6px;
}
.badge-item img {
height: 20px;
display: block;
}
/* Latest Releases */
.release-item {
background-color: var(--card-bg);
border: 1px solid var(--border-color);
border-radius: 6px;
padding: 1.5rem;
margin-bottom: 1rem;
}
.release-item h3 {
color: var(--link-color);
font-size: 1.1rem;
margin-bottom: 0.5rem;
}
.release-item .date {
font-size: 0.85rem;
color: var(--text-muted);
margin-bottom: 1rem;
}
.release-item p {
font-size: 0.9rem;
color: var(--text-muted);
margin-bottom: 1rem;
}
/* Themes Showcase */
.themes-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
margin-top: 1.5rem;
}
.theme-card {
background-color: var(--card-bg);
border: 1px solid var(--border-color);
border-radius: 8px;
overflow: hidden;
text-decoration: none;
transition: 0.2s;
display: block;
}
.theme-card:hover {
border-color: var(--link-color);
transform: translateY(-3px);
}
.theme-card img {
width: 100%;
height: auto;
display: block;
border-bottom: 1px solid var(--border-color);
}
.theme-card .theme-info {
padding: 1rem;
text-align: center;
}
.theme-card h4 {
color: var(--text-color);
font-size: 1rem;
margin-bottom: 0.2rem;
}
.theme-card span {
font-size: 0.8rem;
color: var(--text-muted);
}
/* Back to Top Button */
#back-to-top {
position: fixed;
bottom: 2rem;
right: 2rem;
width: 45px;
height: 45px;
background-color: var(--accent-color);
color: #fff;
border: none;
border-radius: 50%;
cursor: pointer;
font-size: 1.2rem;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
transition: 0.3s;
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
z-index: 1000;
}
#back-to-top.show {
opacity: 1;
visibility: visible;
}
#back-to-top:hover {
background-color: var(--accent-hover);
transform: translateY(-3px);
}
footer {
text-align: center;
margin-top: 4rem;
padding-top: 2rem;
border-top: 1px solid var(--border-color);
color: var(--text-muted);
font-size: 0.85rem;
}
footer a {
color: var(--text-muted);
text-decoration: none;
font-weight: 600;
}
footer a:hover {
color: var(--link-color);
text-decoration: underline;
}
</style>
</head>
<body>
<div class="container">
<!-- Hero Section -->
<div class="hero">
<div class="logo-wrapper" id="logo-wrapper">
<!-- Boundary Box for Canvas -->
<div class="canvas-boundary">
<canvas id="fx-canvas"></canvas>
</div>
<!-- SVG Light Orbiting Exactly on the Frame -->
<svg class="orbit-light" viewBox="0 0 140 140" xmlns="http://www.w3.org/2000/svg">
<!-- x=1, y=1, width=138, height=138 centers the 2.5px stroke exactly on the 2px border -->
<rect x="1" y="1" width="138" height="138" rx="19" ry="19" />
</svg>
<img src="https://raw.githubusercontent.com/CloverHackyColor/CloverBootloader/refs/heads/master/Logo/Clover-Logo-Default-256x256%401x.png" alt="Clover Bootloader Logo" class="logo">
</div>
<h1>The Clover UEFI Bootloader</h1>
<p class="subtitle">A legacy of macOS booting, firmware emulation, and Hackintosh innovation.</p>
<!-- Live Profile Stat Badges -->
<div class="hero-badges">
<img src="https://img.shields.io/badge/License-BSD--2--Clause-orange?style=for-the-badge" alt="License">
<img src="https://img.shields.io/badge/Language-C%2FC%2B%2B%20%7C%20Assembly-blue?style=for-the-badge" alt="Language">
<img src="https://img.shields.io/badge/EDK2-orange?style=for-the-badge" alt="Language">
<img src="https://img.shields.io/badge/Platform-UEFI%20%7C%20macOS-success?style=for-the-badge" alt="Platform">
<img src="https://img.shields.io/badge/Status-Actively%20Maintained-green?style=for-the-badge" alt="Status">
</div>
<div class="hero-badges" id="dynamic-stats">
<!-- Fetched dynamically by JS -->
</div>
<div class="btn-group">
<a href="https://github.com/CloverHackyColor/CloverBootloader/releases/latest" class="btn btn-primary">Download Latest</a>
<a href="https://github.com/CloverHackyColor/CloverBootloader" class="btn">View Source Code</a>
<a href="https://github.com/CloverHackyColor/CloverBootloader/wiki" class="btn">Documentation</a>
</div>
</div>
<!-- History Section -->
<div class="section">
<h2 class="section-title">The History of Clover</h2>
<p class="section-text">
Clover was born out of necessity. As Apple transitioned away from BIOS and adopted EFI/UEFI, the Hackintosh community required a new way to boot macOS. Chameleon, the legacy BIOS bootloader of the era, could no longer keep up.
</p>
<p class="section-text">
In 2011, developer <strong>Slice</strong> began work on a new UEFI bootloader based on EDK2, eventually bringing on board a team of brilliant developers. Clover revolutionized the Hackintosh scene by providing real-time SMBIOS emulation, ACPI patching, and kext injection.
</p>
<p class="section-text">
Today, while OpenCore has taken the spotlight for modern macOS installations, Clover remains a highly respected, actively maintained project under the <strong>CloverHackyColor</strong> organization, continuing to provide legacy support, alternative configurations, and a beloved GUI theme engine.
</p>
</div>
<!-- Timeline Section -->
<div class="section">
<h2 class="section-title">Evolution Over Time</h2>
<div class="timeline">
<div class="timeline-item">
<h3>2011 - The Beginning</h3>
<p>Slice starts the project based on EDK2 sources. The goal is to create a UEFI bootloader that doesn't require a real Mac or a BIOS legacy emulator to boot OS X.</p>
</div>
<div class="timeline-item">
<h3>2013 - Mainstream Adoption</h3>
<p>Clover becomes the standard for Hackintosh builds with the Introduction of a massive library of boot themes.</p>
</div>
<div class="timeline-item">
<h3>2015 - Expansion</h3>
<p>Support for Windows and Linux is refined. Advanced features like UEFI memory fixes (AptioMemoryFix) are integrated, making Hackintosh setups easier than ever.</p>
</div>
<div class="timeline-item">
<h3>2019 - The CloverHackyColor Era</h3>
<p>The project is officially moved to the <code>CloverHackyColor</code> organization on GitHub. A new team takes over maintenance, modernizing the codebase and continuing updates for newer macOS versions.</p>
</div>
<div class="timeline-item">
<h3>2020 - OpenCore Integration</h3>
<p>Developer <strong>jief_machak</strong>, with help from <strong>Slice</strong>, begins the monumental task of integrating OpenCore into Clover. This allows users to leverage OpenCore's modern memory fixes, secure boot, and APFS support directly within Clover's beloved GUI, bridging the gap between legacy and modern Hackintosh eras.</p>
</div>
<div class="timeline-item">
<h3>Present - Active Maintenance</h3>
<p>Clover continues to receive updates, maintaining compatibility with the latest macOS releases while preserving its classic configuration style and legacy hardware support.</p>
</div>
</div>
</div>
<!-- Developers Section -->
<div class="section">
<h2 class="section-title">The Developers</h2>
<p class="section-text">Clover was created by Slice, with help from a dedicated community of contributors over the years.</p>
<!-- Spoiler Wrapper (Closed by default) -->
<details class="dev-spoiler" id="dev-spoiler-container">
<summary>
<span class="arrow">▶</span>
Click to view all contributors
<span class="spoiler-note">See Dev's names</span>
</summary>
<div class="devs-grid" id="devs-grid">
<!-- Developers injected here by JS -->
</div>
</details>
</div>
<!-- Credits Section -->
<div class="section">
<h2 class="section-title">Special Credits</h2>
<h3 style="color: var(--text-color); margin-bottom: 0.5rem; font-size: 1.1rem;">Source Code Credits</h3>
<div class="badges-container" id="source-credits-grid"></div>
<h3 style="color: var(--text-color); margin-bottom: 0.5rem; margin-top: 2rem; font-size: 1.1rem;">Packages Credits</h3>
<div class="badges-container" id="package-credits-grid"></div>
</div>
<!-- Themes Showcase -->
<div class="section">
<h2 class="section-title">Theme Showcase</h2>
<p class="section-text">Clover is famous for its highly customizable GUI. Here are a few classic themes. You can find the full collection in the <a href="https://github.com/CloverHackyColor/CloverThemes" target="_blank">CloverThemes source repository</a>.</p>
<div class="themes-grid">
<a href="https://github.com/CloverHackyColor/CloverThemes" class="theme-card" target="_blank">
<img src="https://z-cdn-media.chatglm.cn/files/5580594d-2f01-49af-824f-5252d1f17adc.png?auth_key=1886047149-03dd3aa37fc64b9d8180e03e2444077e-0-452ae6f7ef4ba85004cebbaf60e9deae" alt="BGM Theme">
<div class="theme-info">
<h4>BGM</h4>
<span>Boot Manager</span>
</div>
</a>
<a href="https://github.com/CloverHackyColor/CloverThemes" class="theme-card" target="_blank">
<img src="https://z-cdn-media.chatglm.cn/files/e06b893c-3eec-4943-a3dd-e0fa20148084.png?auth_key=1886047149-939ce3f0a553426390ab26d3e9e22a8c-0-ac38604bcd96076304fe9814838f0cc0" alt="Cesium Theme">
<div class="theme-info">
<h4>Cesium</h4>
<span>System Selector</span>
</div>
</a>
<a href="https://github.com/CloverHackyColor/CloverThemes" class="theme-card" target="_blank">
<img src="https://z-cdn-media.chatglm.cn/files/ea1f79db-ae2c-4a91-863d-efd5596cf7bf.png?auth_key=1886047149-872923c1a92549f6a45f4c94096a434c-0-abbce72e74f5289e2bd3f40c3cbc0944" alt="Glass Theme">
<div class="theme-info">
<h4>Glass</h4>
<span>EFI Menu</span>
</div>
</a>
</div>
</div>
<!-- Community & Support -->
<div class="section">
<h2 class="section-title">Community & Support</h2>
<p class="section-text">Need help configuring your <code>config.plist</code> or ran into a bug? Join the community or check the resources below.</p>
<div class="btn-group" style="justify-content: flex-start;">
<a href="https://github.com/CloverHackyColor/CloverBootloader/issues" class="btn">Report a Bug</a>
<a href="https://github.com/CloverHackyColor/CloverBootloader/discussions" class="btn">GitHub Discussions</a>
<a href="https://www.insanelymac.com/forum/327-clover/" class="btn">InsanelyMac Clover</a>
<a href="https://applelife.ru/threads/clover.42089/" class="btn">AppleLife Clover</a>
</div>
</div>
<!-- Latest Releases Section -->
<div class="section">
<h2 class="section-title">Latest Releases</h2>
<div id="releases-container">
<p style="color: var(--text-muted);">Loading latest releases...</p>
</div>
</div>
<footer>
<p>Copyright © <span id="year"></span> CloverHackyColor. Licensed under BSD-3-Clause.</p>
<p>A heartfelt thank you to the entire Hackintosh community for your continued support.</p>
<p>Page build by <a href="https://github.com/chris1111" target="_blank">chris1111</a></p>
</footer>
</div>
<!-- Back to Top Button -->
<button id="back-to-top" title="Back to Top">↑</button>
<script>
// Set current year
document.getElementById('year').textContent = new Date().getFullYear();
// --- LOGO EXPLOSION LOGIC (SINGLE EXPLOSION) ---
const canvas = document.getElementById('fx-canvas');
const ctx = canvas.getContext('2d');
canvas.width = 440;
canvas.height = 440;
const cx = canvas.width / 2;
const cy = canvas.height / 2;
let particles = [];
let glow = 0;
let isAnimating = false;
class Particle {
constructor(type) {
this.x = cx;
this.y = cy;
const angle = Math.random() * Math.PI * 2;
const speed = Math.random() * 3 + 1; // Slower outward speed
this.vx = Math.cos(angle) * speed;
this.vy = Math.sin(angle) * speed;
this.life = 1;
this.decay = Math.random() * 0.008 + 0.004; // Slower decay (lasts longer)
this.type = type;
// Different sizes and colors based on type (Removed pure white)
if (type === 'heart') {
this.size = Math.random() * 6 + 4;
this.color = ['#00ff00', '#2ea043', '#3fb950'][Math.floor(Math.random()*3)];
} else if (type === 'spark') {
this.size = Math.random() * 8 + 4;
this.color = ['#aaffd0', '#7affc0', '#00ff00'][Math.floor(Math.random()*3)];
} else { // 'dot'
this.size = Math.random() * 3 + 1;
this.color = '#3fb950';
}
}
update() {
this.x += this.vx;
this.y += this.vy;
this.vx *= 0.98; // Air resistance
this.vy *= 0.98;
this.vy += 0.03; // Very slow gravity
this.life -= this.decay;
}
draw() {
const s = this.size * Math.max(0, this.life);
ctx.globalAlpha = Math.max(0, this.life);
ctx.fillStyle = this.color;
ctx.shadowBlur = 15;
ctx.shadowColor = this.color;
if (this.type === 'heart') {
// Draw a heart shape centered at x, y
ctx.beginPath();
ctx.moveTo(this.x, this.y + s * 0.75);
ctx.bezierCurveTo(this.x - s, this.y + s * 0.25, this.x - s, this.y - s * 0.5, this.x, this.y - s * 0.25);
ctx.bezierCurveTo(this.x + s, this.y - s * 0.5, this.x + s, this.y + s * 0.25, this.x, this.y + s * 0.75);
ctx.closePath();
ctx.fill();
} else if (this.type === 'spark') {
// Draw a 4-point sparkle star centered at x, y
ctx.beginPath();
ctx.moveTo(this.x, this.y - s);
ctx.lineTo(this.x + s * 0.2, this.y - s * 0.2);
ctx.lineTo(this.x + s, this.y);
ctx.lineTo(this.x + s * 0.2, this.y + s * 0.2);
ctx.lineTo(this.x, this.y + s);
ctx.lineTo(this.x - s * 0.2, this.y + s * 0.2);
ctx.lineTo(this.x - s, this.y);
ctx.lineTo(this.x - s * 0.2, this.y - s * 0.2);
ctx.closePath();
ctx.fill();
} else {
// Draw a circle
ctx.beginPath();
ctx.arc(this.x, this.y, s, 0, Math.PI * 2);
ctx.fill();
}
}
}
function triggerExplosion() {
glow = 1; // Trigger green glow
// Spawn a beautiful mix of hearts, sparks, and dots (FULL COUNT RESTORED)
for(let i=0; i<60; i++) particles.push(new Particle('heart'));
for(let i=0; i<80; i++) particles.push(new Particle('spark'));
for(let i=0; i<40; i++) particles.push(new Particle('dot'));
// Start the animation loop if it isn't already running
if (!isAnimating) {
isAnimating = true;
animate();
}
}
function animate() {
ctx.clearRect(0, 0, canvas.width, canvas.height);
ctx.globalCompositeOperation = 'lighter'; // Additive glow blending
// Draw Soft Radial Green Glow
if (glow > 0) {
ctx.globalAlpha = glow;
const grad = ctx.createRadialGradient(cx, cy, 0, cx, cy, 150);
grad.addColorStop(0, 'rgba(0, 255, 0, 0.9)');
grad.addColorStop(0.4, 'rgba(46, 160, 67, 0.5)');
grad.addColorStop(1, 'rgba(0, 0, 0, 0)');
ctx.fillStyle = grad;
ctx.fillRect(0, 0, canvas.width, canvas.height);
glow -= 0.04;
}
// Draw Particles
particles = particles.filter(p => p.life > 0);
particles.forEach(p => { p.update(); p.draw(); });
if (particles.length > 0 || glow > 0) {
requestAnimationFrame(animate);
} else {
ctx.clearRect(0, 0, canvas.width, canvas.height);
isAnimating = false; // Animation finished
}
}
// Trigger the single explosion after one full turn (4 seconds)
setTimeout(() => {
triggerExplosion();
}, 4000);
// --- DATA ARRAYS ---
const developers = [
{ name: "Slice", username: "SergeySlice" },
{ name: "Kabyl", username: "Kabyl" },
{ name: "usr-sse2", username: "usr-sse2" },
{ name: "jadran", username: "jadran" },
{ name: "Blackosx", username: "Blackosx" },
{ name: "dmazar", username: "dmazar" },
{ name: "STLVNUB", username: "STLVNUB" },
{ name: "pcj", username: "pcj" },
{ name: "apianti", username: "apianti" },
{ name: "JrCs", username: "JrCs" },
{ name: "pene", username: "pene" },
{ name: "FrodoKenny", username: "FrodoKenny" },
{ name: "skoczy", username: "skoczy" },
{ name: "ycr.ru", username: null },
{ name: "Oscar09", username: "Oscar09" },
{ name: "xsmile", username: "xsmile" },
{ name: "SoThOr", username: "SoThOr" },
{ name: "RehabMan", username: "RehabMan" },
{ name: "Download-Fritz", username: "Download-Fritz" },
{ name: "nms42", username: "nms42" },
{ name: "Sherlocks", username: "Sher1ocks" },
{ name: "Steve Z", username: "stevezz3" },
{ name: "Zenit432", username: "Zenit432" },
{ name: "cecekpawon", username: "cecekpawon" },
{ name: "stinga11", username: "stinga11" },
{ name: "TheRacerMaster", username: "TheRacerMaster" },
{ name: "solstice", username: "solstice" },
{ name: "Micky1979", username: "Micky1979" },
{ name: "Needy", username: "Needy" },
{ name: "joevt", username: "joevt" },
{ name: "ErmaC", username: "ErmaC" },
{ name: "vit9696", username: "vit9696" },
{ name: "ath", username: "ath" },
{ name: "savvas", username: "savvas" },
{ name: "syscl", username: "syscl" },
{ name: "goodwin_c", username: "goodwin-c" },
{ name: "clovy", username: "clovy" },
{ name: "jief_machak", username: "jief666" },
{ name: "chris1111", username: "chris1111" },
{ name: "vector_sigma", username: "vectorsigma72" },
{ name: "LAbyOne", username: "LAbyOne" },
{ name: "Florin9doi", username: "Florin9doi" },
{ name: "YBronst", username: "YBronst" },
{ name: "Hnanoto", username: "Hnanoto" }
];
const sourceCredits = [
{ name: "Intel", color: "0071C5" },
{ name: "Apple", color: "555555" },
{ name: "Oracle", color: "FF0000" },
{ name: "Chameleon", color: "F07C00" },
{ name: "rEFIt", color: "003366" },
{ name: "Xom", color: "8B008B" },
{ name: "nanosvg", color: "2ea043" }
];
const packageCredits = [
{ name: "Chameleon team", color: "F07C00" },
{ name: "crazybirdy", color: "58a6ff" },
{ name: "JrCs", color: "58a6ff" },
{ name: "chris1111", color: "58a6ff" }
];
// --- HTML INJECTION ---
const devsGrid = document.getElementById('devs-grid');
const sourceGrid = document.getElementById('source-credits-grid');
const packageGrid = document.getElementById('package-credits-grid');
developers.forEach(dev => {
const fallbackAvatar = 'https://avatars.githubusercontent.com/u/0?v=4&s=80';
const avatarUrl = dev.username ? `https://github.com/${dev.username}.png?size=80` : fallbackAvatar;
const link = dev.username ? `https://github.com/${dev.username}` : "#";
const card = `
<a href="${link}" class="dev-card" target="_blank" rel="noopener noreferrer">
<img src="${avatarUrl}" alt="${dev.name}" loading="lazy" onerror="this.onerror=null;this.src='${fallbackAvatar}';">
<h4>${dev.name}</h4>
<span>Contributor</span>
</a>
`;
devsGrid.innerHTML += card;
});
sourceCredits.forEach(item => {
const encodedName = encodeURIComponent(item.name);
const badgeUrl = `https://img.shields.io/badge/${encodedName}-Source_Code-${item.color}?style=flat-square`;
sourceGrid.innerHTML += `<div class="badge-item"><img src="${badgeUrl}" alt="${item.name}"></div>`;
});
packageCredits.forEach(item => {
const encodedName = encodeURIComponent(item.name);
const badgeUrl = `https://img.shields.io/badge/${encodedName}-Package_Contact-6f42c1?style=flat-square`;
packageGrid.innerHTML += `<div class="badge-item"><img src="${badgeUrl}" alt="${item.name}"></div>`;
});
// --- FETCH LIVE STATS & RELEASES ---
async function fetchDynamicData() {
const statsContainer = document.getElementById('dynamic-stats');
const releasesContainer = document.getElementById('releases-container');
try {
// Fetch Repository Stats
const repoResponse = await fetch('https://api.github.com/repos/CloverHackyColor/CloverBootloader');
if (!repoResponse.ok) throw new Error('Failed to fetch repo stats');
const repoData = await repoResponse.json();
// Fetch Latest Release Tag
const releaseResponse = await fetch('https://api.github.com/repos/CloverHackyColor/CloverBootloader/releases/latest');
let latestTag = "Unknown";
if (releaseResponse.ok) {
const releaseData = await releaseResponse.json();
latestTag = releaseData.tag_name;
}
// Generate Live Badges
statsContainer.innerHTML = `
<img src="https://img.shields.io/badge/Stars-${repoData.stargazers_count}-yellow?style=for-the-badge" alt="GitHub Stars">
<img src="https://img.shields.io/badge/Forks-${repoData.forks_count}-blue?style=for-the-badge" alt="GitHub Forks">
<img src="https://img.shields.io/badge/Latest_Release-${encodeURIComponent(latestTag)}-green?style=for-the-badge" alt="Latest Release">
`;
} catch (error) {
console.error('Error fetching stats:', error);
statsContainer.innerHTML = `<img src="https://img.shields.io/badge/Stats-Unavailable-red?style=for-the-badge" alt="Stats Unavailable">`;
}
try {
// Fetch 3 Latest Releases for Feed
const releasesResponse = await fetch('https://api.github.com/repos/CloverHackyColor/CloverBootloader/releases?per_page=3');
if (!releasesResponse.ok) throw new Error('Failed to fetch releases');
const releases = await releasesResponse.json();
if (releases.length === 0) {
releasesContainer.innerHTML = '<p style="color: var(--text-muted);">No releases found.</p>';
return;
}
releasesContainer.innerHTML = '';
releases.forEach(release => {
const date = new Date(release.published_at).toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' });