-
Notifications
You must be signed in to change notification settings - Fork 258
Expand file tree
/
Copy pathindex.html
More file actions
1367 lines (1201 loc) · 48.3 KB
/
Copy pathindex.html
File metadata and controls
1367 lines (1201 loc) · 48.3 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">
<meta name="description" content="CodeWiki - The first open-source framework for holistic, structured repository-level documentation across multilingual codebases">
<meta name="keywords" content="code documentation, AI, repository documentation, CodeWiki, automated documentation">
<meta name="author" content="CodeWiki Team">
<!-- Open Graph / Social Media -->
<meta property="og:type" content="website">
<meta property="og:title" content="CodeWiki - Automated Repository-Level Documentation">
<meta property="og:description" content="Open-source, AI-generated repository documentation across 11 programming languages">
<meta property="og:url" content="https://fsoft-ai4code.github.io/CodeWiki/">
<meta property="og:image" content="https://fsoft-ai4code.github.io/CodeWiki/img/black-background-logo.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="https://fsoft-ai4code.github.io/CodeWiki/img/black-background-logo.png">
<link rel="icon" type="image/png" href="./img/icon.png">
<title>CodeWiki - Automated Repository-Level Documentation at Scale</title>
<style>
:root {
--primary-color: #2563eb;
--secondary-color: #1e40af;
--accent-color: #3b82f6;
--dark-bg: #0f172a;
--light-bg: #f8fafc;
--text-dark: #1e293b;
--text-light: #64748b;
--border-color: #e2e8f0;
--success-color: #10b981;
--warning-color: #f59e0b;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
line-height: 1.6;
color: var(--text-dark);
background-color: #ffffff;
}
/* Navigation */
nav {
background: var(--dark-bg);
color: white;
padding: 1rem 2rem;
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
.nav-brand {
font-size: 1.5rem;
font-weight: bold;
color: white;
text-decoration: none;
}
.nav-links {
display: flex;
gap: 2rem;
list-style: none;
flex-wrap: wrap;
}
.nav-links a {
color: white;
text-decoration: none;
transition: color 0.3s;
font-weight: 500;
}
.nav-links a:hover {
color: var(--accent-color);
}
/* Hero Section */
.hero {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
color: white;
padding: 4rem 2rem;
text-align: center;
}
.hero h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
line-height: 1.2;
}
.hero p {
font-size: 1.25rem;
margin-bottom: 2rem;
max-width: 800px;
margin-left: auto;
margin-right: auto;
opacity: 0.95;
}
.badges {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
margin-bottom: 2rem;
}
.badge {
background: rgba(255,255,255,0.2);
padding: 0.5rem 1rem;
border-radius: 20px;
font-size: 0.9rem;
backdrop-filter: blur(10px);
}
.cta-buttons {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
.btn {
padding: 0.75rem 2rem;
border-radius: 6px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s;
display: inline-block;
border: 2px solid transparent;
}
.btn-primary {
background: white;
color: var(--primary-color);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.btn-secondary {
background: transparent;
color: white;
border-color: white;
}
.btn-secondary:hover {
background: white;
color: var(--primary-color);
}
/* Container */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 4rem 2rem;
}
section {
margin-bottom: 4rem;
}
h2 {
font-size: 2rem;
margin-bottom: 1.5rem;
color: var(--text-dark);
border-bottom: 3px solid var(--primary-color);
padding-bottom: 0.5rem;
display: inline-block;
}
h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: var(--text-dark);
}
/* Architecture Diagram */
.architecture {
background: var(--light-bg);
padding: 3rem 2rem;
border-radius: 10px;
text-align: center;
}
.architecture img {
max-width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
/* Features Grid */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.feature-card {
background: white;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
border-left: 4px solid var(--primary-color);
transition: transform 0.3s;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.feature-icon {
font-size: 2.5rem;
margin-bottom: 1rem;
}
/* Table Styles */
table {
width: 100%;
border-collapse: collapse;
margin: 2rem 0;
background: white;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
border-radius: 8px;
overflow: hidden;
}
th {
background: var(--primary-color);
color: white;
padding: 1rem;
text-align: left;
font-weight: 600;
}
td {
padding: 1rem;
border-bottom: 1px solid var(--border-color);
}
tr:last-child td {
border-bottom: none;
}
tr:hover {
background: var(--light-bg);
}
/* Code Block */
pre {
background: var(--dark-bg);
color: #e2e8f0;
padding: 1.5rem;
border-radius: 8px;
overflow-x: auto;
margin: 1rem 0;
}
code {
font-family: 'Monaco', 'Courier New', monospace;
font-size: 0.9rem;
}
/* Video Section */
.video-container {
position: relative;
padding-bottom: 56.25%; /* 16:9 aspect ratio */
height: 0;
overflow: hidden;
max-width: 100%;
background: #000;
border-radius: 10px;
margin: 2rem 0;
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
/* Stats */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin: 2rem 0;
}
.stat-card {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: white;
padding: 2rem;
border-radius: 10px;
text-align: center;
box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}
.stat-number {
font-size: 2.5rem;
font-weight: bold;
margin-bottom: 0.5rem;
}
.stat-label {
font-size: 1rem;
opacity: 0.9;
}
/* Languages */
.languages {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin: 1.5rem 0;
}
.language-tag {
background: var(--light-bg);
padding: 0.5rem 1rem;
border-radius: 6px;
border: 2px solid var(--border-color);
font-weight: 500;
color: var(--text-dark);
}
/* Footer */
footer {
background: var(--dark-bg);
color: white;
padding: 3rem 2rem;
text-align: center;
}
.footer-links {
display: flex;
gap: 2rem;
justify-content: center;
margin-bottom: 2rem;
flex-wrap: wrap;
}
.footer-links a {
color: white;
text-decoration: none;
transition: color 0.3s;
}
.footer-links a:hover {
color: var(--accent-color);
}
/* Responsive */
@media (max-width: 768px) {
.hero h1 {
font-size: 2rem;
}
.hero p {
font-size: 1rem;
}
.nav-container {
flex-direction: column;
gap: 1rem;
}
.nav-links {
gap: 1rem;
}
h2 {
font-size: 1.5rem;
}
.container {
padding: 2rem 1rem;
}
}
/* Highlight */
.highlight {
background: #fef3c7;
padding: 0.2rem 0.5rem;
border-radius: 4px;
font-weight: 600;
}
.success {
color: var(--success-color);
}
</style>
<style>
:root {
--primary-color: #ff7a00;
--secondary-color: #e85d00;
--accent-color: #ff9a2e;
--dark-bg: #071526;
--light-bg: #f4f6f8;
--text-dark: #10233e;
--text-light: #5c6878;
--border-color: #dce2e9;
--success-color: #16875b;
--warning-color: #ff7a00;
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: #fbfcfd;
color: var(--text-dark);
overflow-x: hidden;
}
nav {
padding: 0.8rem 2rem;
background: #071526;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: none;
backdrop-filter: blur(18px);
}
.nav-container { max-width: 1280px; }
.nav-brand {
display: inline-flex;
align-items: center;
width: 176px;
height: 48px;
}
.nav-brand img {
width: 100%;
height: auto;
display: block;
}
.nav-links { gap: 1.6rem; }
.nav-links a {
color: #dce5ef;
font-size: 0.9rem;
letter-spacing: 0.01em;
}
.nav-links a:hover { color: #ff9a2e; }
.hero {
position: relative;
isolation: isolate;
overflow: hidden;
min-height: 650px;
padding: 6.5rem 2rem 5.5rem;
text-align: left;
background:
radial-gradient(circle at 78% 48%, rgba(255, 122, 0, 0.18), transparent 24rem),
radial-gradient(circle at 8% 15%, rgba(35, 78, 132, 0.35), transparent 28rem),
#071526;
}
.hero::before {
content: "";
position: absolute;
inset: 0;
z-index: -1;
opacity: 0.35;
background-image:
linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
background-size: 64px 64px;
mask-image: linear-gradient(to bottom, black, transparent 92%);
}
.hero-inner {
width: min(1280px, 100%);
margin: 0 auto;
display: grid;
grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
gap: 4rem;
align-items: center;
}
.hero-copy { max-width: 760px; }
.eyebrow {
display: inline-flex;
align-items: center;
gap: 0.6rem;
margin-bottom: 1.5rem;
color: #ffad55;
font-size: 0.76rem;
font-weight: 800;
letter-spacing: 0.16em;
text-transform: uppercase;
}
.eyebrow::before {
content: "";
width: 24px;
height: 2px;
background: #ff7a00;
}
.hero h1 {
max-width: 760px;
margin: 0 0 1.35rem;
font-size: clamp(3rem, 6vw, 5.8rem);
line-height: 0.98;
letter-spacing: -0.055em;
text-wrap: balance;
}
.hero h1 span {
color: #ff8311;
text-shadow: 0 0 34px rgba(255, 122, 0, 0.22);
}
.hero p {
max-width: 660px;
margin: 0 0 2rem;
color: #bdc9d7;
font-size: 1.16rem;
line-height: 1.75;
}
.badges {
justify-content: flex-start;
gap: 0.55rem;
margin-bottom: 2rem;
}
.badge {
padding: 0.45rem 0.8rem;
color: #dfe7f0;
background: rgba(255,255,255,.06);
border: 1px solid rgba(255,255,255,.1);
border-radius: 999px;
font-size: 0.78rem;
}
.cta-buttons { justify-content: flex-start; }
.btn {
padding: 0.78rem 1.35rem;
border-radius: 10px;
font-size: 0.9rem;
letter-spacing: 0.01em;
}
.btn-primary {
color: #fff;
background: linear-gradient(135deg, #ff8a12, #f16600);
box-shadow: 0 8px 26px rgba(255, 122, 0, .2);
}
.btn-primary:hover {
box-shadow: 0 12px 32px rgba(255, 122, 0, .32);
}
.btn-secondary {
color: #eef3f8;
border-color: rgba(255,255,255,.28);
background: rgba(255,255,255,.035);
}
.btn-secondary:hover {
color: white;
border-color: rgba(255,255,255,.55);
background: rgba(255,255,255,.09);
}
.hero-note {
margin-top: 1.5rem !important;
margin-bottom: 0 !important;
font-size: 0.9rem !important;
color: #8fa0b4 !important;
}
.hero-note a { color: #ffad55 !important; text-underline-offset: 3px; }
.hero-visual {
position: relative;
display: grid;
place-items: center;
aspect-ratio: 1;
max-width: 470px;
margin-left: auto;
}
.hero-visual::before,
.hero-visual::after {
content: "";
position: absolute;
border: 1px solid rgba(255, 151, 44, .28);
border-radius: 50%;
}
.hero-visual::before { inset: 7%; animation: orbit 24s linear infinite; }
.hero-visual::after { inset: 22%; border-style: dashed; animation: orbit 18s linear reverse infinite; }
.hero-mark {
position: relative;
z-index: 2;
width: 56%;
filter: drop-shadow(0 26px 42px rgba(0,0,0,.38));
}
.orbit-dot {
position: absolute;
z-index: 3;
width: 10px;
height: 10px;
border-radius: 50%;
background: #ff8613;
box-shadow: 0 0 20px #ff7a00;
}
.orbit-dot.one { top: 7%; left: 50%; }
.orbit-dot.two { right: 12%; bottom: 24%; width: 7px; height: 7px; }
.orbit-dot.three { left: 18%; bottom: 18%; width: 6px; height: 6px; }
@keyframes orbit { to { transform: rotate(360deg); } }
.container {
max-width: 1180px;
padding: 6rem 2rem;
}
section { margin-bottom: 6rem; }
h2 {
display: block;
max-width: 820px;
padding: 0;
border: 0;
color: #0d2038;
font-size: clamp(2rem, 4vw, 3rem);
letter-spacing: -0.04em;
line-height: 1.1;
}
h2::after {
content: "";
display: block;
width: 44px;
height: 4px;
margin-top: 0.85rem;
border-radius: 99px;
background: #ff7a00;
}
h3 { color: #142842; }
.highlight {
color: #9b4300;
background: #fff0df;
}
.stats-grid { gap: 1rem; margin-top: 2.5rem; }
.stat-card {
position: relative;
overflow: hidden;
min-height: 170px;
padding: 2rem 1.6rem;
text-align: left;
background: #0b1e35;
border: 1px solid #173453;
border-radius: 16px;
box-shadow: 0 12px 35px rgba(10, 29, 52, .12);
}
.stat-card::after {
content: "";
position: absolute;
right: -34px;
bottom: -54px;
width: 130px;
height: 130px;
border: 24px solid rgba(255,122,0,.08);
border-radius: 50%;
}
.stat-number { color: #ff8a12; letter-spacing: -0.04em; }
.stat-label { color: #c3ceda; font-size: .9rem; line-height: 1.45; }
.architecture {
padding: clamp(1rem, 4vw, 3rem);
background: #f1f4f7;
border: 1px solid #dfe5eb;
border-radius: 20px;
}
.architecture img {
border: 1px solid #d8e0e7;
border-radius: 12px;
box-shadow: 0 24px 55px rgba(11, 30, 53, .12);
}
.features-grid { gap: 1rem; }
.feature-card {
padding: 1.7rem;
border: 1px solid #e0e6ec;
border-left: 1px solid #e0e6ec;
border-radius: 15px;
box-shadow: 0 8px 28px rgba(16, 35, 62, .06);
}
.feature-card:hover {
transform: translateY(-4px);
border-color: rgba(255,122,0,.45);
box-shadow: 0 18px 38px rgba(16, 35, 62, .11);
}
.feature-icon {
display: grid;
place-items: center;
width: 44px;
height: 44px;
margin-bottom: 1.1rem;
font-size: 1.35rem;
background: #fff1e4;
border: 1px solid #ffd2aa;
border-radius: 12px;
}
.language-tag {
border: 1px solid #dde4eb;
border-radius: 999px;
background: white;
}
table {
border: 1px solid #dfe5eb;
border-radius: 14px;
box-shadow: 0 10px 32px rgba(16, 35, 62, .07);
}
th { background: #102640; }
tr:hover { background: #fff8f1; }
pre {
background: #081728;
border: 1px solid #183550;
border-radius: 12px;
box-shadow: 0 16px 35px rgba(7, 21, 38, .13);
}
footer {
background: #071526;
border-top: 3px solid #ff7a00;
}
.footer-brand {
display: block;
width: 190px;
margin: 0 auto 1.5rem;
}
.footer-links a:hover { color: #ff9a2e; }
@media (max-width: 920px) {
nav { padding-inline: 1rem; }
.nav-container { flex-wrap: nowrap; }
.nav-links { display: none; }
.hero { min-height: auto; padding-top: 5rem; }
.hero-inner { grid-template-columns: 1fr; text-align: center; }
.hero-copy { width: 100%; min-width: 0; margin: 0 auto; }
.eyebrow, .badges, .cta-buttons { justify-content: center; }
.hero p { margin-left: auto; margin-right: auto; }
.hero-visual { width: min(390px, 90vw); margin: 0 auto; order: -1; }
}
@media (max-width: 640px) {
.hero { padding: 3.5rem 1.1rem 4rem; }
.hero-inner { gap: 2.5rem; }
.hero h1 {
max-width: 100%;
font-size: clamp(2.35rem, 12vw, 3.2rem);
text-wrap: wrap;
}
.hero p { font-size: 1rem; }
.hero-visual { width: min(280px, 80vw); }
.container { padding: 4rem 1rem; }
section { margin-bottom: 4.5rem; }
.features-grid { grid-template-columns: 1fr; }
.stats-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
.stat-card { min-height: 150px; padding: 1.35rem; }
.stat-number { font-size: 2rem; }
table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
.hero-visual::before,
.hero-visual::after { animation: none; }
}
</style>
</head>
<body>
<!-- Navigation -->
<nav>
<div class="nav-container">
<a href="#" class="nav-brand" aria-label="CodeWiki home">
<img src="./img/black-background-logo.png" alt="CodeWiki">
</a>
<ul class="nav-links">
<li><a href="#about">About</a></li>
<li><a href="#features">Features</a></li>
<li><a href="#results">Results</a></li>
<li><a href="#demo">Demo</a></li>
<li><a href="#installation">Installation</a></li>
<li><a href="./docs/index.html">Repo Docs</a></li>
<li><a href="#citation">Citation</a></li>
</ul>
</div>
</nav>
<!-- Hero Section -->
<div class="hero">
<div class="hero-inner">
<div class="hero-copy">
<div class="eyebrow">Open source · CodeWiki 2.0</div>
<h1>Turn source code into a <span>living technical wiki.</span></h1>
<p>CodeWiki maps the dependencies across an entire repository, then coordinates AI agents to explain its architecture, modules, and data flows.</p>
<div class="badges">
<span class="badge">Python 3.12+</span>
<span class="badge">11 languages</span>
<span class="badge">Incremental updates</span>
<span class="badge">MCP ready</span>
</div>
<div class="cta-buttons">
<a href="https://github.com/FSoft-AI4Code/CodeWiki" class="btn btn-primary" target="_blank" rel="noopener noreferrer">View on GitHub</a>
<a href="https://fsoft-ai4code.github.io/codewiki-demo/" class="btn btn-secondary" target="_blank" rel="noopener noreferrer">Explore live docs</a>
<a href="https://aclanthology.org/2026.findings-acl.288/" class="btn btn-secondary" target="_blank" rel="noopener noreferrer">Read the paper</a>
</div>
<p class="hero-note">
CodeWiki documents itself. <a href="./docs/index.html">Browse this repository’s generated wiki →</a>
</p>
</div>
<div class="hero-visual" aria-hidden="true">
<span class="orbit-dot one"></span>
<span class="orbit-dot two"></span>
<span class="orbit-dot three"></span>
<img class="hero-mark" src="./img/icon.png" alt="">
</div>
</div>
</div>
<!-- Main Content -->
<div class="container">
<!-- About Section -->
<section id="about">
<h2>About</h2>
<p style="font-size: 1.1rem; line-height: 1.8; margin-top: 1.5rem;">
Developers spend nearly <span class="highlight">58% of their time</span> understanding codebases, yet maintaining comprehensive documentation remains challenging. While recent Large Language Models (LLMs) show promise for function-level documentation, they fail at the repository level, where capturing architectural patterns and cross-module interactions is essential.
</p>
<p style="font-size: 1.1rem; line-height: 1.8; margin-top: 1rem;">
<strong>CodeWiki</strong> is an open-source framework for holistic repository-level documentation across eleven programming languages. It builds the dependency graph, decomposes it into a module hierarchy, and has recursive agents write text and diagrams. <strong>Version 2.0</strong> makes the graph more complete, documents build, CI, container, and configuration files alongside code, and keeps documentation current with component-level incremental updates.
</p>
<div class="stats-grid">
<div class="stat-card">
<div class="stat-number">82.23</div>
<div class="stat-label">Weighted Rubric Score, CodeWiki 2.0 (DeepWiki: 65.06)</div>
</div>
<div class="stat-card">
<div class="stat-number">+12.44</div>
<div class="stat-label">Average Gain of 2.0 over 1.0</div>
</div>
<div class="stat-card">
<div class="stat-number">11</div>
<div class="stat-label">Programming Languages</div>
</div>
<div class="stat-card">
<div class="stat-number">1.4M</div>
<div class="stat-label">Max LOC Tested</div>
</div>
</div>
</section>
<!-- Architecture -->
<section id="architecture">
<h2>Framework Architecture</h2>
<div class="architecture">
<img src="./img/framework-overview.png" alt="CodeWiki Framework Architecture" />
<p style="margin-top: 1.5rem; color: var(--text-light);">
<strong>Figure 1:</strong> CodeWiki Framework operates in three main phases: (1) Repository analysis and hierarchical decomposition,
(2) Recursive documentation generation with dynamic delegation, (3) Hierarchical assembly and synthesis
</p>
</div>
</section>
<!-- Key Features -->
<section id="features">
<h2>Key Innovations</h2>
<div class="features-grid">
<div class="feature-card">
<div class="feature-icon">🔄</div>
<h3>Hierarchical Decomposition</h3>
<p>Dynamic programming-inspired strategy that breaks complex repositories into manageable modules while preserving architectural coherence. Handles codebases from 86K to 1.4M lines of code.</p>
</div>
<div class="feature-card">
<div class="feature-icon">🤖</div>
<h3>Recursive Agentic System</h3>
<p>Multi-agent architecture with dynamic delegation capabilities that enables adaptive processing based on module complexity, maintaining quality at repository-level scope.</p>
</div>
<div class="feature-card">
<div class="feature-icon">📊</div>
<h3>Multi-Modal Synthesis</h3>
<p>Generates comprehensive documentation including textual descriptions, architecture diagrams, data flows, and sequence diagrams for holistic understanding.</p>
</div>
<div class="feature-card">
<div class="feature-icon">🕸️</div>
<h3>More Complete Graphs <span style="font-size:0.7em; color: var(--text-light);">2.0</span></h3>
<p>Free functions become documentation units. Call resolution in C, C++, Java, and C# is scope-, namespace-, and import-aware, and library calls are filtered out. Ruby and Scala added.</p>
</div>
<div class="feature-card">
<div class="feature-icon">📦</div>
<h3>Artifact-Aware Generation <span style="font-size:0.7em; color: var(--text-light);">2.0</span></h3>
<p>Dockerfiles, CI workflows, build files, manifests, packaging, configuration, and schemas join the dependency graph and get documented next to the code they build or configure.</p>
</div>
<div class="feature-card">
<div class="feature-icon">🔁</div>
<h3>Incremental Updates <span style="font-size:0.7em; color: var(--text-light);">2.0</span></h3>
<p><code>codewiki generate --update</code> diffs the saved graph against the current code and patches only the pages the change affects. One commit on svelte: $0.34 instead of $21.48 for a full build.</p>
</div>
<div class="feature-card">
<div class="feature-icon">🔌</div>
<h3>Subscription Mode & MCP <span style="font-size:0.7em; color: var(--text-light);">2.0</span></h3>
<p>Run on a Claude or Codex subscription with no API key, or start <code>codewiki mcp</code> and let Cursor, Claude Desktop, Claude Code, or CodeBuddy drive the toolchain.</p>
</div>
</div>
<h3 style="margin-top: 3rem;">Multilingual Support</h3>
<div class="languages">
<span class="language-tag">🐍 Python</span>
<span class="language-tag">☕ Java</span>
<span class="language-tag">📜 JavaScript</span>
<span class="language-tag">📘 TypeScript</span>
<span class="language-tag">🔧 C</span>
<span class="language-tag">⚙️ C++</span>
<span class="language-tag">💎 C#</span>
<span class="language-tag">🎯 Kotlin</span>
<span class="language-tag">🐘 PHP</span>
<span class="language-tag">♦️ Ruby</span>
<span class="language-tag">🔺 Scala</span>
</div>
</section>
<!-- Results -->
<section id="results">
<h2>Benchmark Results</h2>
<p style="font-size: 1.1rem; margin-bottom: 2rem;">
Evaluated on <strong>CodeWikiBench</strong>: seven repositories, 486 rubric requirements, the same LLM judge for every system. Scores are weighted rubric scores from 0 to 100. DeepWiki and CodeWiki 1.0 were re-run under the same setting as 2.0 (September 2026), so they differ from the numbers in the paper. README files and <code>docs/</code> were excluded from CodeWiki's inputs.
</p>
<h3>Score by Repository</h3>
<table>
<thead>
<tr>
<th>Repository</th>
<th>Language</th>
<th>LoC</th>
<th>DeepWiki</th>