-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1221 lines (1110 loc) · 68 KB
/
index.html
File metadata and controls
1221 lines (1110 loc) · 68 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" class="dark scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WowoEngine - Advanced Development Tools</title>
<!-- SEO Meta Tags -->
<meta name="description"
content="WowoEngine - Advanced Open Source Infrastructure Tools. Building sovereign, high-performance database engines and development tools for the people.">
<meta name="keywords"
content="WowoEngine, SawitDB, Open Source, Database Engine, Infrastructure, Indonesia, Sovereign Tech, High Performance, Digital Infrastructure">
<meta name="author" content="WowoEngine Team">
<meta name="robots" content="index, follow">
<meta name="google-site-verification" content="Nc6Mdi4NuPjhc_V_hJAIvutdFoN1pcrgnDTbF-Ed6KI" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://wowoengine.github.io/">
<meta property="og:title" content="WowoEngine - Advanced Open Source Infrastructure Tools.">
<meta property="og:description"
content="Building sovereign, high-performance database engines and development tools for the people. Technology for the people, by the people.">
<meta property="og:image" content="https://wowoengine.github.io/assets/bg.png">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://wowoengine.github.io/">
<meta property="twitter:title" content="WowoEngine - Advanced Open Source Infrastructure Tools.">
<meta property="twitter:description"
content="Building sovereign, high-performance database engines and development tools for the people. Technology for the people, by the people.">
<meta property="twitter:image" content="https://wowoengine.github.io/assets/bg.png">
<link rel="canonical" href="https://wowoengine.github.io/">
<!-- Tailwind CSS -->
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: '#3B82F6',
secondary: '#10B981',
dark: '#0f172a',
darker: '#020617',
card: '#1e293b'
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
}
}
}
}
</script>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap" rel="stylesheet">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
body {
font-family: 'Inter', sans-serif;
}
/* Global Scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #020617;
}
::-webkit-scrollbar-thumb {
background: #334155;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #475569;
}
.clip-text-gradient {
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.animate-blob {
animation: blob 7s infinite;
}
.animation-delay-2000 {
animation-delay: 2s;
}
.animation-delay-4000 {
animation-delay: 4s;
}
@keyframes blob {
0% {
transform: translate(0px, 0px) scale(1);
}
33% {
transform: translate(30px, -50px) scale(1.1);
}
66% {
transform: translate(-20px, 20px) scale(0.9);
}
100% {
transform: translate(0px, 0px) scale(1);
}
}
.glass-card {
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.05);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.feature-card:hover {
background: rgba(255, 255, 255, 0.08);
transform: translateY(-5px);
}
@keyframes blink {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0;
}
}
.no-scrollbar::-webkit-scrollbar {
display: none;
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
/* Metric Grid Overlay */
.bg-grid {
background-size: 40px 40px;
background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}
.bg-grid-mask {
mask-image: radial-gradient(circle at center, black, transparent 80%);
-webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}
</style>
</head>
<body class="bg-darker text-white overflow-x-hidden selection:bg-primary selection:text-white">
<!-- Navbar -->
<nav class="fixed w-full z-50 top-0 start-0 border-b border-white/5 bg-darker/80 backdrop-blur-xl">
<div class="max-w-7xl flex flex-wrap items-center justify-between mx-auto p-4">
<a href="#" class="flex items-center space-x-3 rtl:space-x-reverse group">
<span class="self-center text-2xl font-bold whitespace-nowrap">WowoEngine</span>
</a>
<button id="mobile-menu-btn" data-collapse-toggle="navbar-default" type="button"
class="inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-800 focus:outline-none focus:ring-2 focus:ring-gray-600"
aria-controls="navbar-default" aria-expanded="false">
<span class="sr-only">Open main menu</span>
<svg class="w-5 h-5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none"
viewBox="0 0 17 14">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M1 1h15M1 7h15M1 13h15" />
</svg>
</button>
<div class="hidden w-full md:block md:w-auto" id="navbar-default">
<ul
class="font-medium flex flex-col p-4 md:p-0 mt-4 border border-gray-800 rounded-lg bg-gray-900/50 md:bg-transparent md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0">
<li>
<a href="#about"
class="block py-2 px-3 text-gray-300 rounded hover:text-white md:p-0 transition-all hover:translate-x-1 md:hover:translate-x-0">About</a>
</li>
<li>
<a href="#projects"
class="block py-2 px-3 text-gray-300 rounded hover:text-white md:p-0 transition-all hover:translate-x-1 md:hover:translate-x-0">Projects</a>
</li>
<li>
<a href="#community"
class="block py-2 px-3 text-gray-300 rounded hover:text-white md:p-0 transition-all hover:translate-x-1 md:hover:translate-x-0">Community</a>
</li>
<li>
<a href="https://github.com/WowoEngine" target="_blank"
class="block py-2 px-3 text-gray-300 rounded hover:text-white md:p-0 transition-all hover:translate-x-1 md:hover:translate-x-0">
GitHub <i class="fa-solid fa-arrow-up-right-from-square text-xs ml-1 opacity-50"></i>
</a>
</li>
<li>
<a href="https://trakteer.id/wowoengine" target="_blank"
class="block py-2 px-3 text-gray-300 rounded hover:text-pink-500 md:p-0 transition-all hover:translate-x-1 md:hover:translate-x-0 group"
title="Traktir Kopi">
<i class="fa-solid fa-mug-hot text-lg group-hover:scale-110 transition-transform"></i>
</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="relative min-h-screen flex items-center justify-center overflow-hidden pt-20">
<!-- Background Effects -->
<div class="absolute top-0 left-0 w-full h-full overflow-hidden -z-10">
<!-- Background Image -->
<img src="assets/bg.png" alt="Hero Background"
class="absolute inset-0 w-full h-full object-cover opacity-20 invert">
<div
class="absolute top-[-10%] left-[-10%] w-96 h-96 bg-primary/20 rounded-full mix-blend-screen filter blur-[100px] opacity-30 animate-blob">
</div>
<div
class="absolute top-[20%] right-[-10%] w-96 h-96 bg-secondary/20 rounded-full mix-blend-screen filter blur-[100px] opacity-30 animate-blob animation-delay-2000">
</div>
<div
class="absolute -bottom-32 left-1/2 w-96 h-96 bg-purple-500/20 rounded-full mix-blend-screen filter blur-[100px] opacity-30 animate-blob animation-delay-4000">
</div>
<!-- Grid Pattern -->
<div class="absolute inset-0 bg-grid bg-grid-mask z-0 pointer-events-none"></div>
<div class="absolute inset-0 bg-[url('https://grainy-gradients.vercel.app/noise.svg')] opacity-20"></div>
</div>
<div class="max-w-7xl mx-auto px-4 z-10 text-center">
<div class="mb-8 opacity-0 translate-y-10 hero-badge inline-block">
<span
class="bg-white/5 border border-white/10 text-white text-xs font-medium px-4 py-1.5 rounded-full backdrop-blur-sm">
The Future of Open Infrastructure
</span>
</div>
<h1 class="hero-title text-5xl md:text-8xl font-extrabold mb-8 tracking-tighter opacity-0 translate-y-10">
<span
class="bg-gradient-to-r from-red-500 via-orange-500 to-yellow-500 text-transparent bg-clip-text">"Trillion
Rupiah"</span><br> Sky Infrastructure?
</h1>
<p
class="hero-subtitle text-xl md:text-2xl text-gray-400 mb-12 max-w-3xl mx-auto opacity-0 translate-y-10 leading-relaxed font-light">
Why pay national budget prices for 99% downtime? <br>
<span class="text-white font-semibold">Teknologi canggih gak harus mahal.</span> We build tools for the
people.
</p>
<div class="hero-cta opacity-0 translate-y-10 flex flex-col md:flex-row gap-4 justify-center items-center">
<a href="#projects" id="explore-btn"
class="group relative inline-flex items-center justify-center px-8 py-3.5 text-base font-bold text-white transition-all duration-200 bg-primary/80 font-pj rounded-xl focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-900 border border-transparent hover:bg-primary hover:scale-105 hover:shadow-[0_0_20px_rgba(59,130,246,0.5)]">
Explore Projects
</a>
<a href="https://github.com/WowoEngine" target="_blank"
class="px-8 py-3.5 text-base font-bold text-gray-300 transition-all duration-200 bg-white/5 border border-white/10 rounded-xl hover:bg-white/10 hover:text-white backdrop-blur-sm">
<i class="fab fa-github text-lg mr-1"></i>
View on GitHub
</a>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="py-24 relative z-10">
<div class="max-w-7xl mx-auto px-4">
<div class="grid md:grid-cols-2 gap-12 items-start">
<!-- Text Content -->
<div class="mb-8 md:mb-0">
<h2 class="text-3xl md:text-5xl font-bold mb-6 text-white">About Us</h2>
<p class="text-gray-400 text-lg leading-relaxed mb-6">
WowoEngine is an open-source initiative dedicated to democratizing infrastructure technology. We
believe that high-performance, scalable, and secure software should be accessible to everyone,
not
just those with massive budgets.
</p>
<p class="text-gray-400 text-lg leading-relaxed">
Our mission is to build "Digital Infrastructure" that is sovereign, efficient, and free from the
complexity that slows down innovation. We are building tools for the people, by the people.
</p>
</div>
<!-- Features/Values Card -->
<div
class="glass-card p-8 rounded-3xl border border-white/5 bg-white/5 backdrop-blur-sm opacity-0 translate-y-10 feature-card">
<div class="space-y-8">
<div class="flex items-start gap-4">
<div
class="w-12 h-12 rounded-xl bg-blue-500/10 text-blue-500 flex items-center justify-center text-xl shrink-0">
<i class="fa-solid fa-code"></i>
</div>
<div>
<h3 class="text-white font-bold text-lg mb-1">Open Source</h3>
<p class="text-gray-500 text-sm leading-relaxed">Transparent code that you can trust and
verify. No black boxes.</p>
</div>
</div>
<div class="flex items-start gap-4">
<div
class="w-12 h-12 rounded-xl bg-green-500/10 text-green-500 flex items-center justify-center text-xl shrink-0">
<i class="fa-solid fa-bolt"></i>
</div>
<div>
<h3 class="text-white font-bold text-lg mb-1">Performance</h3>
<p class="text-gray-500 text-sm leading-relaxed">Optimized for speed and efficiency on
any hardware configuration.</p>
</div>
</div>
<div class="flex items-start gap-4">
<div
class="w-12 h-12 rounded-xl bg-purple-500/10 text-purple-500 flex items-center justify-center text-xl shrink-0">
<i class="fa-solid fa-users"></i>
</div>
<div>
<h3 class="text-white font-bold text-lg mb-1">Community Driven</h3>
<p class="text-gray-500 text-sm leading-relaxed">Built by a passionate community of
developers for developers.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Projects Section -->
<section id="projects" class="py-24 bg-gradient-to-b from-darker to-black relative">
<div class="max-w-7xl mx-auto px-4">
<div class="flex items-center justify-between mb-16">
<div>
<h2 class="section-title text-3xl md:text-5xl font-bold text-white mb-2">Projects</h2>
<p class="text-gray-500">Our contribution to the ecosystem.</p>
</div>
<div class="hidden md:block w-32 h-1 bg-white/10 rounded-full"></div>
</div>
<div class="space-y-12">
<!-- SawitDB -->
<div
class="project-card w-full glass-card rounded-3xl p-8 md:p-12 border border-white/10 hover:border-primary/50 transition-all duration-500 shadow-2xl opacity-0 translate-y-10">
<div class="grid md:grid-cols-2 gap-16 items-center">
<div class="order-2 md:order-1 text-left">
<div
class="inline-flex items-center gap-2 px-3 py-1 mb-6 text-xs font-semibold tracking-wider text-secondary uppercase bg-secondary/10 rounded-full border border-secondary/20">
<span class="w-2 h-2 rounded-full bg-secondary animate-pulse"></span>
Database Engine
</div>
<h3 class="text-4xl md:text-5xl font-bold mb-6 text-white tracking-tight">SawitDB</h3>
<div class="flex flex-wrap gap-3 mb-6" id="sawitdb-stats">
<a href="https://www.npmjs.com/package/@wowoengine/sawitdb" target="_blank"
class="inline-flex items-center gap-2 bg-[#CB3837]/10 border border-[#CB3837]/20 rounded-lg px-3 py-1.5 text-xs md:text-sm text-[#CB3837] hover:bg-[#CB3837]/20 transition-colors">
<i class="fa-brands fa-npm text-lg"></i>
<span>Install via NPM</span>
</a>
<a href="https://github.com/WowoEngine/SawitDB/stargazers" target="_blank"
class="inline-flex items-center gap-2 bg-white/5 border border-white/10 rounded-lg px-3 py-1.5 text-xs md:text-sm text-gray-300 hover:bg-white/10 transition-colors">
<i class="fa-regular fa-star text-yellow-400"></i>
<span id="star-count" class="font-mono">...</span> stars
</a>
<a href="https://github.com/WowoEngine/SawitDB/network/members" target="_blank"
class="inline-flex items-center gap-2 bg-white/5 border border-white/10 rounded-lg px-3 py-1.5 text-xs md:text-sm text-gray-300 hover:bg-white/10 transition-colors">
<i class="fa-solid fa-code-branch text-blue-400"></i>
<span id="fork-count" class="font-mono">...</span> forks
</a>
<a href="https://github.com/WowoEngine/SawitDB/issues" target="_blank"
class="inline-flex items-center gap-2 bg-white/5 border border-white/10 rounded-lg px-3 py-1.5 text-xs md:text-sm text-gray-300 hover:bg-white/10 transition-colors">
<i class="fa-regular fa-circle-dot text-green-400"></i>
<span id="issue-count" class="font-mono">...</span> issues
</a>
<a href="https://github.com/WowoEngine/SawitDB/watchers" target="_blank"
class="inline-flex items-center gap-2 bg-white/5 border border-white/10 rounded-lg px-3 py-1.5 text-xs md:text-sm text-gray-300 hover:bg-white/10 transition-colors">
<i class="fa-regular fa-eye text-cyan-400"></i>
<span id="watcher-count" class="font-mono">...</span> watchers
</a>
<span
class="inline-flex items-center gap-2 bg-white/5 border border-white/10 rounded-lg px-3 py-1.5 text-xs md:text-sm text-gray-300">
<i class="fa-solid fa-scale-balanced text-purple-400"></i>
<span id="license-type" class="font-mono">...</span>
</span>
</div>
<p class="text-gray-400 mb-8 leading-relaxed text-lg">
A philosophically driven database engine designed for high efficiency and local
sovereignty.
SawitDB challenges the status quo of expensive infrastructure with a lightweight,
powerful
alternative.
</p>
<div class="flex flex-wrap gap-4">
<a href="https://github.com/WowoEngine/SawitDB" target="_blank"
class="inline-flex items-center gap-2 text-black bg-white hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-white/20 font-bold rounded-xl text-sm px-6 py-3 text-center transition-all hover:scale-105">
<i class="fab fa-github text-lg mr-1"></i>
View on GitHub
</a>
<button id="contributors-btn"
class="inline-flex items-center gap-2 text-white bg-white/10 hover:bg-white/20 border border-white/10 focus:ring-4 focus:outline-none focus:ring-white/10 font-bold rounded-xl text-sm px-6 py-3 text-center transition-all hover:scale-105 backdrop-blur-sm">
<i class="fa-solid fa-users text-lg mr-1"></i>
Contributors
</button>
</div>
</div>
<div class="order-1 md:order-2 flex justify-center w-full">
<div
class="relative w-full h-72 md:h-auto md:aspect-video bg-black rounded-xl shadow-2xl overflow-hidden border border-gray-800 group-hover:border-primary/30 transition-colors ring-1 ring-white/5">
<!-- Code snippet simulation -->
<div
class="absolute top-0 left-0 w-full h-10 bg-[#0d1117] flex items-center px-4 space-x-2 border-b border-gray-800 z-10">
<div class="w-3 h-3 rounded-full bg-[#fa7970] hover:bg-[#ff5f56] transition-colors">
</div>
<div class="w-3 h-3 rounded-full bg-[#ffaa59] hover:bg-[#ffbd2e] transition-colors">
</div>
<div class="w-3 h-3 rounded-full bg-[#7ce38b] hover:bg-[#27c93f] transition-colors">
</div>
<div class="ml-4 text-xs text-gray-500 font-mono">user@server:~/sawitdb</div>
</div>
<!-- Terminal Content -->
<div
class="p-6 pt-16 font-mono text-xs md:text-sm h-full overflow-y-auto break-all relative no-scrollbar bg-[#0d1117]/80 backdrop-blur-sm">
<div id="terminal-content" class="text-gray-300 space-y-2 leading-relaxed"></div>
</div>
</div>
</div>
</div>
</div>
<!-- SawitDB-Go -->
<div
class="project-card w-full glass-card rounded-3xl p-8 md:p-12 border border-white/10 hover:border-cyan-500/50 transition-all duration-500 shadow-2xl opacity-0 translate-y-10">
<div class="grid md:grid-cols-2 gap-16 items-center">
<div class="order-2 md:order-1 text-left">
<div
class="inline-flex items-center gap-2 px-3 py-1 mb-6 text-xs font-semibold tracking-wider text-cyan-400 uppercase bg-cyan-400/10 rounded-full border border-cyan-400/20">
<span class="w-2 h-2 rounded-full bg-cyan-400 animate-pulse"></span>
Database Engine
</div>
<h3 class="text-4xl md:text-5xl font-bold mb-6 text-white tracking-tight">SawitDB-Go</h3>
<!-- Stats Badges -->
<div class="flex flex-wrap gap-3 mb-6" id="sawitdb-go-stats">
<a href="https://github.com/WowoEngine/SawitDB-Go/stargazers" target="_blank"
class="inline-flex items-center gap-2 bg-white/5 border border-white/10 rounded-lg px-3 py-1.5 text-xs md:text-sm text-gray-300 hover:bg-white/10 transition-colors">
<i class="fa-regular fa-star text-yellow-400"></i>
<span id="star-count-go" class="font-mono">...</span> stars
</a>
<a href="https://github.com/WowoEngine/SawitDB-Go/network/members" target="_blank"
class="inline-flex items-center gap-2 bg-white/5 border border-white/10 rounded-lg px-3 py-1.5 text-xs md:text-sm text-gray-300 hover:bg-white/10 transition-colors">
<i class="fa-solid fa-code-branch text-blue-400"></i>
<span id="fork-count-go" class="font-mono">...</span> forks
</a>
</div>
<p class="text-gray-400 mb-8 leading-relaxed text-lg">
The high-performance Go implementation of SawitDB. Optimized for low-latency,
concurrency, and resource-constrained environments.
</p>
<div class="flex flex-wrap gap-4">
<a href="https://github.com/WowoEngine/SawitDB-Go" target="_blank"
class="inline-flex items-center gap-2 text-black bg-white hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-white/20 font-bold rounded-xl text-sm px-6 py-3 text-center transition-all hover:scale-105">
<i class="fab fa-github text-lg mr-1"></i>
View on GitHub
</a>
</div>
</div>
<div class="order-1 md:order-2 flex justify-center w-full">
<div
class="relative w-full h-72 md:h-auto md:aspect-video bg-black rounded-xl shadow-2xl overflow-hidden border border-gray-800 group-hover:border-cyan-500/30 transition-colors ring-1 ring-white/5">
<!-- Code snippet simulation -->
<div
class="absolute top-0 left-0 w-full h-10 bg-[#0d1117] flex items-center px-4 space-x-2 border-b border-gray-800 z-10">
<div class="w-3 h-3 rounded-full bg-[#fa7970] hover:bg-[#ff5f56] transition-colors">
</div>
<div class="w-3 h-3 rounded-full bg-[#ffaa59] hover:bg-[#ffbd2e] transition-colors">
</div>
<div class="w-3 h-3 rounded-full bg-[#7ce38b] hover:bg-[#27c93f] transition-colors">
</div>
<div class="ml-4 text-xs text-gray-500 font-mono">user@server:~/sawitdb-go</div>
</div>
<!-- Terminal Content -->
<div
class="p-6 pt-16 font-mono text-xs md:text-sm h-full overflow-y-auto break-all relative no-scrollbar bg-[#0d1117]/80 backdrop-blur-sm">
<div id="terminal-content-go" class="text-gray-300 space-y-2 leading-relaxed"></div>
</div>
</div>
</div>
</div>
</div>
<!-- SawitDB-PHP -->
<div
class="project-card w-full glass-card rounded-3xl p-8 md:p-12 border border-white/10 hover:border-violet-500/50 transition-all duration-500 shadow-2xl opacity-0 translate-y-10">
<div class="grid md:grid-cols-2 gap-16 items-center">
<div class="order-2 md:order-1 text-left">
<div
class="inline-flex items-center gap-2 px-3 py-1 mb-6 text-xs font-semibold tracking-wider text-violet-400 uppercase bg-violet-400/10 rounded-full border border-violet-400/20">
<span class="w-2 h-2 rounded-full bg-violet-400 animate-pulse"></span>
Database Engine
</div>
<h3 class="text-4xl md:text-5xl font-bold mb-6 text-white tracking-tight">SawitDB-PHP</h3>
<!-- Stats Badges -->
<div class="flex flex-wrap gap-3 mb-6" id="sawitdb-php-stats">
<a href="https://packagist.org/packages/wowoengine/sawitdb-php" target="_blank"
class="inline-flex items-center gap-2 bg-[#F28D1A]/10 border border-[#F28D1A]/20 rounded-lg px-3 py-1.5 text-xs md:text-sm text-[#F28D1A] hover:bg-[#F28D1A]/20 transition-colors">
<i class="fa-brands fa-php text-lg"></i>
<span>Install via Composer</span>
</a>
<a href="https://github.com/WowoEngine/SawitDB-PHP/stargazers" target="_blank"
class="inline-flex items-center gap-2 bg-white/5 border border-white/10 rounded-lg px-3 py-1.5 text-xs md:text-sm text-gray-300 hover:bg-white/10 transition-colors">
<i class="fa-regular fa-star text-yellow-400"></i>
<span id="star-count-php" class="font-mono">...</span> stars
</a>
<a href="https://github.com/WowoEngine/SawitDB-PHP/network/members" target="_blank"
class="inline-flex items-center gap-2 bg-white/5 border border-white/10 rounded-lg px-3 py-1.5 text-xs md:text-sm text-gray-300 hover:bg-white/10 transition-colors">
<i class="fa-solid fa-code-branch text-blue-400"></i>
<span id="fork-count-php" class="font-mono">...</span> forks
</a>
</div>
<p class="text-gray-400 mb-8 leading-relaxed text-lg">
The official PHP port of SawitDB. Supports Vanilla PHP, CodeIgniter 4, and Laravel
integration.
Perfect for shared hosting environments.
</p>
<div class="flex flex-wrap gap-4">
<a href="https://github.com/WowoEngine/SawitDB-PHP" target="_blank"
class="inline-flex items-center gap-2 text-black bg-white hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-white/20 font-bold rounded-xl text-sm px-6 py-3 text-center transition-all hover:scale-105">
<i class="fab fa-github text-lg mr-1"></i>
View on GitHub
</a>
</div>
</div>
<div class="order-1 md:order-2 flex justify-center w-full">
<div
class="relative w-full h-72 md:h-auto md:aspect-video bg-black rounded-xl shadow-2xl overflow-hidden border border-gray-800 group-hover:border-violet-500/30 transition-colors ring-1 ring-white/5">
<!-- Code snippet simulation -->
<div
class="absolute top-0 left-0 w-full h-10 bg-[#0d1117] flex items-center px-4 space-x-2 border-b border-gray-800 z-10">
<div class="w-3 h-3 rounded-full bg-[#fa7970] hover:bg-[#ff5f56] transition-colors">
</div>
<div class="w-3 h-3 rounded-full bg-[#ffaa59] hover:bg-[#ffbd2e] transition-colors">
</div>
<div class="w-3 h-3 rounded-full bg-[#7ce38b] hover:bg-[#27c93f] transition-colors">
</div>
<div class="ml-4 text-xs text-gray-500 font-mono">user@server:~/sawitdb-php</div>
</div>
<!-- Terminal Content -->
<div
class="p-6 pt-16 font-mono text-xs md:text-sm h-full overflow-y-auto break-all relative no-scrollbar bg-[#0d1117]/80 backdrop-blur-sm">
<div id="terminal-content-php" class="text-gray-300 space-y-2 leading-relaxed">
</div>
</div>
</div>
</div>
</div>
</div>
<!-- SawitCore -->
<div
class="project-card w-full glass-card rounded-3xl p-8 md:p-12 border border-white/10 hover:border-yellow-500/50 transition-all duration-500 shadow-2xl opacity-0 translate-y-10">
<div class="grid md:grid-cols-2 gap-16 items-center">
<div class="order-2 md:order-1 text-left">
<div
class="inline-flex items-center gap-2 px-3 py-1 mb-6 text-xs font-semibold tracking-wider text-yellow-500 uppercase bg-yellow-500/10 rounded-full border border-yellow-500/20">
<span class="w-2 h-2 rounded-full bg-yellow-500 animate-pulse"></span>
Operating System
</div>
<h3 class="text-4xl md:text-5xl font-bold mb-6 text-white tracking-tight">SawitCore</h3>
<!-- Stats Badges -->
<div class="flex flex-wrap gap-3 mb-6" id="sawitcore-stats">
<a href="https://github.com/WowoEngine/SawitCore/stargazers" target="_blank"
class="inline-flex items-center gap-2 bg-white/5 border border-white/10 rounded-lg px-3 py-1.5 text-xs md:text-sm text-gray-300 hover:bg-white/10 transition-colors">
<i class="fa-regular fa-star text-yellow-400"></i>
<span id="star-count-core" class="font-mono">...</span> stars
</a>
<a href="https://github.com/WowoEngine/SawitCore/network/members" target="_blank"
class="inline-flex items-center gap-2 bg-white/5 border border-white/10 rounded-lg px-3 py-1.5 text-xs md:text-sm text-gray-300 hover:bg-white/10 transition-colors">
<i class="fa-solid fa-code-branch text-blue-400"></i>
<span id="fork-count-core" class="font-mono">...</span> forks
</a>
</div>
<p class="text-gray-400 mb-8 leading-relaxed text-lg">
A specialized Unikernel Database OS built with Rust. Runs directly on bare metal for
extreme Database performance and sterility.
</p>
<div class="flex flex-wrap gap-4">
<a href="https://github.com/WowoEngine/SawitCore" target="_blank"
class="inline-flex items-center gap-2 text-black bg-white hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-white/20 font-bold rounded-xl text-sm px-6 py-3 text-center transition-all hover:scale-105">
<i class="fab fa-github text-lg mr-1"></i>
View on GitHub
</a>
</div>
</div>
<div class="order-1 md:order-2 flex justify-center w-full">
<div
class="relative w-full h-72 md:h-auto md:aspect-video bg-black rounded-xl shadow-2xl overflow-hidden border border-gray-800 group-hover:border-yellow-500/30 transition-colors ring-1 ring-white/5">
<!-- Code snippet simulation -->
<div
class="absolute top-0 left-0 w-full h-10 bg-[#0d1117] flex items-center px-4 space-x-2 border-b border-gray-800 z-10">
<div class="w-3 h-3 rounded-full bg-[#fa7970] hover:bg-[#ff5f56] transition-colors">
</div>
<div class="w-3 h-3 rounded-full bg-[#ffaa59] hover:bg-[#ffbd2e] transition-colors">
</div>
<div class="w-3 h-3 rounded-full bg-[#7ce38b] hover:bg-[#27c93f] transition-colors">
</div>
<div class="ml-4 text-xs text-gray-500 font-mono">root@sawitcore:~#</div>
</div>
<!-- Terminal Content -->
<div
class="p-6 pt-16 font-mono text-xs md:text-sm h-full overflow-y-auto break-all relative no-scrollbar bg-[#0d1117]/80 backdrop-blur-sm">
<div id="terminal-content-core" class="text-gray-300 space-y-2 leading-relaxed">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Community Showcase Section -->
<section id="community" class="py-24 relative z-10 bg-[#050505]">
<div class="max-w-7xl mx-auto px-4">
<div class="flex items-center justify-between mb-12">
<div>
<h2 class="section-title text-3xl md:text-5xl font-bold text-white mb-2">Community Showcase</h2>
<p class="text-gray-500">Amazing projects built by our friends and community.</p>
</div>
<!-- <div class="hidden md:block w-32 h-1 bg-white/10 rounded-full"></div> -->
</div>
<div class="grid md:grid-cols-3 gap-6">
<!-- Gib.run -->
<div
class="group relative rounded-3xl p-6 bg-white/5 border border-white/5 hover:border-white/10 transition-all hover:-translate-y-1">
<div class="flex items-start justify-between mb-4">
<div
class="w-12 h-12 rounded-xl bg-purple-500/10 text-purple-400 flex items-center justify-center text-2xl">
<i class="fa-solid fa-rocket"></i>
</div>
<a href="https://github.com/arielfikru/gibrun" target="_blank"
class="text-gray-400 hover:text-white transition-colors">
<i class="fab fa-github text-xl"></i>
</a>
</div>
<h3 class="text-xl font-bold text-white mb-2 group-hover:text-purple-400 transition-colors">Gib.run
</h3>
<p class="text-sm text-gray-400 mb-6 line-clamp-2">
Redis framework for Go developers who prioritize acceleration, sustainability, and
high-performance downstreaming. by @arielfikru.
</p>
<a href="https://arielfikru.github.io/gibrun/" target="_blank"
class="inline-flex items-center text-sm font-semibold text-white hover:text-purple-400 transition-colors">
Visit Site <i class="fa-solid fa-arrow-right ml-2 text-xs"></i>
</a>
</div>
<!-- JokoUI -->
<div
class="group relative rounded-3xl p-6 bg-white/5 border border-white/5 hover:border-white/10 transition-all hover:-translate-y-1">
<div class="flex items-start justify-between mb-4">
<div
class="w-12 h-12 rounded-xl bg-blue-500/10 text-blue-400 flex items-center justify-center text-2xl">
<i class="fa-solid fa-layer-group"></i>
</div>
<a href="https://github.com/rayasabari/joko-ui" target="_blank"
class="text-gray-400 hover:text-white transition-colors">
<i class="fab fa-github text-xl"></i>
</a>
</div>
<h3 class="text-xl font-bold text-white mb-2 group-hover:text-blue-400 transition-colors">JokoUI
</h3>
<p class="text-sm text-gray-400 mb-6 line-clamp-2">
Free Tailwind Components for Sat-set Developers by rayasabari (RYSB).
</p>
<a href="https://www.jokoui.web.id/" target="_blank"
class="inline-flex items-center text-sm font-semibold text-white hover:text-blue-400 transition-colors">
Visit Site <i class="fa-solid fa-arrow-right ml-2 text-xs"></i>
</a>
</div>
<!-- Prabogo -->
<div
class="group relative rounded-3xl p-6 bg-white/5 border border-white/5 hover:border-white/10 transition-all hover:-translate-y-1">
<div class="flex items-start justify-between mb-4">
<div
class="w-12 h-12 rounded-xl bg-green-500/10 text-green-400 flex items-center justify-center text-2xl">
<i class="fa-solid fa-leaf"></i>
</div>
<a href="https://github.com/prabogo/prabogo" target="_blank"
class="text-gray-400 hover:text-white transition-colors">
<i class="fab fa-github text-xl"></i>
</a>
</div>
<h3 class="text-xl font-bold text-white mb-2 group-hover:text-green-400 transition-colors">Prabogo
</h3>
<p class="text-sm text-gray-400 mb-6 line-clamp-2">
A modern Go framework designed to simplify project development with interactive commands and
built-in AI assistance. by Moch Dieqy Dzulqaidar.
</p>
<a href="https://prabogo.com/" target="_blank"
class="inline-flex items-center text-sm font-semibold text-white hover:text-green-400 transition-colors">
Visit Site <i class="fa-solid fa-arrow-right ml-2 text-xs"></i>
</a>
</div>
</div>
</div>
</section>
<!-- Services Section -->
<section id="services" class="py-24 relative z-10 bg-darker border-t border-white/5">
<div class="max-w-7xl mx-auto px-4">
<div class="text-center max-w-3xl mx-auto mb-16">
<h2 class="section-title text-3xl md:text-5xl font-bold text-white mb-4">Engineering Services</h2>
<p class="text-gray-400 text-lg">
Need custom high-performance infrastructure? Hire the builders of SawitDB.
</p>
</div>
<div class="grid md:grid-cols-3 gap-8">
<!-- Web & Info Systems -->
<div class="glass-card p-8 rounded-3xl hover:bg-white/5 transition-all group">
<div
class="w-14 h-14 rounded-2xl bg-blue-500/10 text-blue-400 flex items-center justify-center text-2xl mb-6 group-hover:scale-110 transition-transform">
<i class="fa-solid fa-globe"></i>
</div>
<h3 class="text-xl font-bold text-white mb-3">Web & Info Systems</h3>
<p class="text-gray-400 text-sm leading-relaxed mb-6">
Comprehensive web solutions from landing pages to complex information systems. We build robust
APIs and fix critical bugs.
</p>
<ul class="space-y-2 mb-8">
<li class="flex items-center text-gray-500 text-sm">
<i class="fa-solid fa-check text-blue-500 mr-2 text-xs"></i> Website & Sistem Informasi
</li>
<li class="flex items-center text-gray-500 text-sm">
<i class="fa-solid fa-check text-blue-500 mr-2 text-xs"></i> API Dev & Bug Fixing
</li>
</ul>
</div>
<!-- Hardware & IoT -->
<div class="glass-card p-8 rounded-3xl hover:bg-white/5 transition-all group relative overflow-hidden">
<div class="absolute top-0 right-0 p-4 opacity-10">
<i class="fa-solid fa-microchip text-8xl"></i>
</div>
<div
class="w-14 h-14 rounded-2xl bg-violet-500/10 text-violet-400 flex items-center justify-center text-2xl mb-6 group-hover:scale-110 transition-transform relative z-10">
<i class="fa-solid fa-robot"></i>
</div>
<h3 class="text-xl font-bold text-white mb-3 relative z-10">Hardware & IoT</h3>
<p class="text-gray-400 text-sm leading-relaxed mb-6 relative z-10">
End-to-end hardware development. From Arduino/Raspberry Pi prototyping to professional PCB
design and assembly.
</p>
<ul class="space-y-2 mb-8 relative z-10">
<li class="flex items-center text-gray-500 text-sm">
<i class="fa-solid fa-check text-violet-500 mr-2 text-xs"></i> IoT & Embedded Systems
</li>
<li class="flex items-center text-gray-500 text-sm">
<i class="fa-solid fa-check text-violet-500 mr-2 text-xs"></i> PCB Design & Assembly
</li>
</ul>
</div>
<!-- Academic & Custom -->
<div class="glass-card p-8 rounded-3xl hover:bg-white/5 transition-all group">
<div
class="w-14 h-14 rounded-2xl bg-orange-500/10 text-orange-400 flex items-center justify-center text-2xl mb-6 group-hover:scale-110 transition-transform">
<i class="fa-solid fa-graduation-cap"></i>
</div>
<h3 class="text-xl font-bold text-white mb-3">Academic & Custom</h3>
<p class="text-gray-400 text-sm leading-relaxed mb-6">
Standardized assistance for Final Projects (Tugas Akhir) and unique custom requests. Realize
your innovative ideas.
</p>
<ul class="space-y-2 mb-8">
<li class="flex items-center text-gray-500 text-sm">
<i class="fa-solid fa-check text-orange-500 mr-2 text-xs"></i> Project Tugas Akhir (TA)
</li>
<li class="flex items-center text-gray-500 text-sm">
<i class="fa-solid fa-check text-orange-500 mr-2 text-xs"></i> Custom Requests
</li>
</ul>
</div>
</div>
<div class="mt-12 text-center">
<a href="https://bit.ly/patradev" target="_blank"
class="inline-flex items-center justify-center px-8 py-3.5 text-base font-bold text-white transition-all duration-200 bg-white/10 hover:bg-white/20 border border-white/10 rounded-xl backdrop-blur-sm group">
<i class="fa-regular fa-calendar-check mr-2 group-hover:text-primary transition-colors"></i>
Book a Consultation
</a>
<p class="mt-4 text-xs text-gray-600">Serious inquiries only. We value sovereignty.</p>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-black py-16 border-t border-white/5">
<div class="max-w-7xl mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-center mb-8">
<div class="mb-6 md:mb-0">
<span class="text-2xl font-bold text-white">WowoEngine</span>
<p class="text-gray-600 text-sm mt-2">Built for the people, by the people.</p>
</div>
<div class="flex space-x-6">
<a href="https://trakteer.id/wowoengine" target="_blank"
class="text-gray-400 hover:text-pink-500 transition-colors" title="Traktir Kami">
<i class="fa-solid fa-heart text-xl"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors"><i
class="fab fa-twitter text-xl"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition-colors"><i
class="fab fa-github text-xl"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition-colors"><i
class="fab fa-discord text-xl"></i></a>
</div>
</div>
<div class="border-t border-white/5 pt-8 text-center md:text-left">
<p class="text-gray-600 text-sm">© 2025 WowoEngine. Open Source and Free. <span class="text-gray-800">No
Anggaran Bocor.</span></p>
</div>
</div>
</footer>
<!-- Contributors Modal -->
<div id="contributors-modal" class="fixed inset-0 z-[100] hidden" aria-labelledby="modal-title" role="dialog"
aria-modal="true">
<!-- Background backdrop, show/hide based on modal state. -->
<div class="fixed inset-0 bg-black/80 backdrop-blur-sm transition-opacity opacity-0" id="modal-backdrop"></div>
<div class="fixed inset-0 z-10 w-screen overflow-y-auto">
<div class="flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0">
<!-- Modal panel -->
<div class="relative transform overflow-hidden rounded-2xl bg-darker border border-white/10 text-left shadow-2xl transition-all sm:my-8 sm:w-full sm:max-w-lg opacity-0 scale-95"
id="modal-panel">
<div class="bg-white/5 px-4 pb-4 pt-5 sm:p-6 sm:pb-4">
<div class="sm:flex sm:items-start">
<div class="mt-3 text-center sm:ml-4 sm:mt-0 sm:text-left w-full">
<h3 class="text-2xl font-bold leading-6 text-white mb-4" id="modal-title">Project
Contributors</h3>
<div class="mt-2">
<p class="text-sm text-gray-400 mb-6">Thanks to the amazing people who made this
possible.</p>
<!-- Contributors List -->
<div id="contributors-list"
class="space-y-4 max-h-60 overflow-y-auto pr-2 no-scrollbar">
<div class="text-center text-gray-500 py-4">
<i class="fa-solid fa-circle-notch fa-spin mr-2"></i> Loading
contributors...
</div>
</div>
</div>
</div>
</div>
</div>
<div class="bg-black/20 px-4 py-3 sm:flex sm:flex-row-reverse sm:px-6 border-t border-white/5">
<button type="button" id="close-modal-btn"
class="inline-flex w-full justify-center rounded-lg bg-white/10 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-white/20 sm:ml-3 sm:w-auto transition-colors">Close</button>
</div>
</div>
</div>
</div>
</div>
<!-- GSAP -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/ScrollTrigger.min.js"></script>
<script>
// --- Mobile Menu Logic ---
const btn = document.getElementById('mobile-menu-btn');
const menu = document.getElementById('navbar-default');
btn.addEventListener('click', () => {
menu.classList.toggle('hidden');
});
// Close mobile menu when a link is clicked
const menuLinks = menu.querySelectorAll('a');
menuLinks.forEach(link => {
link.addEventListener('click', () => {
if (!menu.classList.contains('hidden')) {
menu.classList.add('hidden');
}
});
});
// --- 1. Audio Logic ---
const exploreBtn = document.getElementById('explore-btn');
// Preload audio
const wowoAudio = new Audio('assets/wowo.mp3');
let hasPlayed = false;
if (exploreBtn) {
exploreBtn.addEventListener('click', () => {
if (!hasPlayed) {
wowoAudio.play().catch(e => console.log("Audio play failed:", e));
hasPlayed = true;
}
});
}
// --- 2. GSAP Animations ---
gsap.registerPlugin(ScrollTrigger);
const tl = gsap.timeline();
tl.to(".hero-badge", { y: 0, opacity: 1, duration: 0.5, ease: "power3.out" })
.to(".hero-title", { y: 0, opacity: 1, duration: 0.6, ease: "power3.out" }, "-=0.3")
.to(".hero-subtitle", { y: 0, opacity: 1, duration: 0.6, ease: "power3.out" }, "-=0.4")
.to(".hero-cta", { y: 0, opacity: 1, duration: 0.5, ease: "back.out(1.7)" }, "-=0.4");
// Feature Cards Stagger
// Use gsap.to for robust visibility handling (start invisible in CSS, animate to visible)
gsap.to(".feature-card", {
scrollTrigger: {
trigger: "#about",
start: "top 80%",
},
y: 0,
opacity: 1,
duration: 0.5,
stagger: 0.1,
ease: "power3.out"
});
gsap.to(".project-card", {
scrollTrigger: {
trigger: "#projects",
start: "top 70%",
onEnter: () => startTypingAnimation()
},
y: 0,
opacity: 1,
duration: 0.7,
stagger: 0.2,
ease: "power3.out"
});
// --- 3. Typing Animation ---
const terminalContent = document.getElementById('terminal-content');
const lines = [
{ text: "> git clone https://github.com/WowoEngine/SawitDB.git", class: "text-white" },
{ text: "Cloning into 'SawitDB'...", class: "text-gray-500", delay: 400 },
{ text: "> cd SawitDB", class: "text-white", delay: 800 },
{ text: "> node bin/sawit-server.js", class: "text-white", delay: 1200 },
{ text: "[INFO] SawitDB Server v1.0.0", class: "text-blue-400", delay: 1600 },
{ text: "[READY] 0.0.0.0:7878 // Waiting for harvest...", class: "text-yellow-400", delay: 2000 }
];
const linesGo = [
{ text: "> git clone https://github.com/WowoEngine/SawitDB-Go.git", class: "text-white" },
{ text: "Cloning into 'SawitDB-Go'...", class: "text-gray-500", delay: 400 },
{ text: "> cd SawitDB-Go", class: "text-white", delay: 800 },
{ text: "> go run cmd/sawit-server/main.go", class: "text-white", delay: 1200 },
{ text: "[INFO] SawitDB Go Server v1.0.0", class: "text-cyan-400", delay: 1600 },
{ text: "[READY] 0.0.0.0:7878 // Waiting for harvest...", class: "text-green-400", delay: 2000 }
];
const linesPhp = [
{ text: "> composer require wowoengine/sawitdb-php", class: "text-white" },
{ text: "Installing wowoengine/sawitdb-php (v1.0.0)...", class: "text-gray-500", delay: 400 },
{ text: "> php bin/sawit-server.php", class: "text-white", delay: 800 },
{ text: "[INFO] SawitDB PHP Server v1.0.0", class: "text-violet-400", delay: 1200 },
{ text: "[READY] 0.0.0.0:7878 // Waiting for harvest...", class: "text-violet-300", delay: 1600 }
];
const linesCore = [
{ text: "> cargo build --target x86_64-sawitcore.json", class: "text-white" },
{ text: "Compiling sawitcore-os v0.1.0...", class: "text-gray-500", delay: 400 },
{ text: "Finished release [optimized] target(s) in 0.45s", class: "text-green-400", delay: 800 },
{ text: "> bootimage runner", class: "text-white", delay: 1200 },
{ text: "SawitCore OS v0.1.0", class: "text-yellow-400", delay: 1600 },
{ text: "Sawit> manage", class: "text-white", delay: 2000 },
{ text: "--- SawitDB Management ---", class: "text-blue-400", delay: 2200 }
];
let typingStarted = false;
function typeLine(element, text, speed = 40) {
return new Promise(resolve => {
let i = 0;
element.innerHTML = '<span class="cursor"></span>';
const cursor = element.querySelector('.cursor');
function type() {
if (i < text.length) {
element.insertBefore(document.createTextNode(text.charAt(i)), cursor);
i++;