-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1193 lines (1060 loc) · 40.9 KB
/
index.html
File metadata and controls
1193 lines (1060 loc) · 40.9 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">
<title>PHALUS — Private Headless Automated License Uncoupling System</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<meta property="og:title" content="PHALUS — Private Headless Automated License Uncoupling System">
<meta property="og:description" content="Strip, replace, and neutralize open-source license obligations from vendored dependencies. Headless. Automated. Irreversible.">
<meta property="og:image" content="https://phalus.sh/social-phalus.png">
<meta property="og:url" content="https://phalus.sh">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="PHALUS — Private Headless Automated License Uncoupling System">
<meta name="twitter:description" content="Strip, replace, and neutralize open-source license obligations from vendored dependencies.">
<meta name="twitter:image" content="https://phalus.sh/social-phalus.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@300;400;500;600&display=swap" rel="stylesheet">
<style>
:root {
--bg: #0a0a0a;
--fg: #e8e8e8;
--dim: #555;
--accent: #ff3e3e;
--accent2: #ff6b35;
--green: #00ff41;
--yellow: #ffd700;
--cyan: #00e5ff;
--border: #222;
--card: #111;
--card-hover: #161616;
--glow: rgba(255, 62, 62, 0.15);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
scroll-behavior: smooth;
scrollbar-width: thin;
scrollbar-color: var(--accent) var(--bg);
}
body {
font-family: 'IBM Plex Mono', 'JetBrains Mono', monospace;
background: var(--bg);
color: var(--fg);
line-height: 1.7;
overflow-x: hidden;
}
/* Scanline overlay */
body::before {
content: '';
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: repeating-linear-gradient(
0deg,
transparent,
transparent 2px,
rgba(0,0,0,0.03) 2px,
rgba(0,0,0,0.03) 4px
);
pointer-events: none;
z-index: 9999;
}
/* Noise texture */
body::after {
content: '';
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
pointer-events: none;
z-index: 9998;
}
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent2); }
.container {
max-width: 960px;
margin: 0 auto;
padding: 0 24px;
}
/* NAV */
nav {
position: sticky;
top: 0;
z-index: 100;
background: rgba(10, 10, 10, 0.92);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
padding: 16px 0;
}
nav .container {
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-logo {
font-family: 'JetBrains Mono', monospace;
font-weight: 800;
font-size: 1.1rem;
letter-spacing: 4px;
color: var(--accent);
}
.nav-logo span { color: var(--dim); font-weight: 300; }
.nav-links { display: flex; gap: 24px; font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; }
.nav-links a { color: var(--dim); }
.nav-links a:hover { color: var(--fg); }
/* HERO */
.hero {
padding: 120px 0 80px;
position: relative;
}
.hero::before {
content: '';
position: absolute;
top: 0; left: 50%; transform: translateX(-50%);
width: 600px; height: 600px;
background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
pointer-events: none;
}
.hero-badge {
display: inline-block;
font-size: 0.65rem;
letter-spacing: 3px;
text-transform: uppercase;
color: var(--dim);
border: 1px solid var(--border);
padding: 6px 16px;
margin-bottom: 32px;
}
.hero h1 {
font-family: 'JetBrains Mono', monospace;
font-size: clamp(2.2rem, 6vw, 4rem);
font-weight: 800;
line-height: 1.05;
letter-spacing: -1px;
margin-bottom: 8px;
}
.hero h1 .red { color: var(--accent); }
.hero-acronym {
font-size: 0.8rem;
color: var(--dim);
letter-spacing: 2px;
margin-bottom: 32px;
}
.hero-desc {
font-size: 1rem;
color: var(--dim);
max-width: 620px;
line-height: 1.8;
margin-bottom: 40px;
}
.hero-desc strong { color: var(--fg); font-weight: 600; }
.hero-stats {
display: flex;
gap: 48px;
margin-bottom: 48px;
flex-wrap: wrap;
}
.stat {
text-align: left;
}
.stat-val {
font-size: 1.8rem;
font-weight: 700;
color: var(--green);
font-family: 'JetBrains Mono', monospace;
}
.stat-val.red { color: var(--accent); }
.stat-val.yellow { color: var(--yellow); }
.stat-label {
font-size: 0.65rem;
color: var(--dim);
letter-spacing: 2px;
text-transform: uppercase;
margin-top: 4px;
}
.hero-cta {
display: flex;
gap: 16px;
flex-wrap: wrap;
}
.btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 28px;
font-family: 'JetBrains Mono', monospace;
font-size: 0.8rem;
font-weight: 600;
letter-spacing: 1px;
border: 1px solid var(--accent);
color: var(--accent);
background: transparent;
cursor: pointer;
transition: all 0.3s;
text-transform: uppercase;
}
.btn:hover {
background: var(--accent);
color: var(--bg);
box-shadow: 0 0 30px var(--glow);
}
.btn-ghost {
border-color: var(--border);
color: var(--dim);
}
.btn-ghost:hover {
border-color: var(--dim);
color: var(--fg);
background: transparent;
box-shadow: none;
}
/* SECTIONS */
section {
padding: 100px 0;
border-top: 1px solid var(--border);
}
.section-tag {
font-size: 0.6rem;
letter-spacing: 4px;
text-transform: uppercase;
color: var(--accent);
margin-bottom: 12px;
}
.section-title {
font-family: 'JetBrains Mono', monospace;
font-size: clamp(1.4rem, 3vw, 2rem);
font-weight: 700;
margin-bottom: 16px;
line-height: 1.2;
}
.section-sub {
color: var(--dim);
max-width: 600px;
margin-bottom: 48px;
font-size: 0.9rem;
}
/* PROBLEM SECTION */
.problem-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2px;
}
@media (max-width: 640px) {
.problem-grid { grid-template-columns: 1fr; }
}
.problem-card {
background: var(--card);
padding: 32px;
position: relative;
transition: background 0.3s;
overflow-wrap: break-word;
word-break: break-word;
min-width: 0;
}
.problem-card:hover { background: var(--card-hover); }
.problem-card .icon {
font-size: 1.4rem;
margin-bottom: 16px;
display: block;
}
.problem-card h3 {
font-size: 0.85rem;
font-weight: 600;
margin-bottom: 12px;
letter-spacing: 0.5px;
}
.problem-card p {
font-size: 0.78rem;
color: var(--dim);
line-height: 1.7;
}
.problem-card p em { color: var(--accent); font-style: normal; font-weight: 600; }
/* COMPARISON */
.compare {
display: grid;
grid-template-columns: 1fr 40px 1fr;
gap: 0;
align-items: start;
margin-bottom: 64px;
}
@media (max-width: 640px) {
.compare { grid-template-columns: 1fr; }
.compare-divider { display: none; }
}
.compare-col {
background: var(--card);
padding: 32px;
}
.compare-col h3 {
font-size: 0.7rem;
letter-spacing: 3px;
text-transform: uppercase;
margin-bottom: 20px;
padding-bottom: 12px;
border-bottom: 1px solid var(--border);
}
.compare-col.them h3 { color: var(--dim); }
.compare-col.us h3 { color: var(--green); }
.compare-item {
display: flex;
gap: 10px;
align-items: flex-start;
margin-bottom: 14px;
font-size: 0.78rem;
}
.compare-item .marker {
flex-shrink: 0;
width: 16px;
text-align: center;
font-weight: 700;
}
.compare-item .marker.bad { color: var(--accent); }
.compare-item .marker.good { color: var(--green); }
.compare-item span { color: var(--dim); }
.compare-item span strong { color: var(--fg); font-weight: 500; }
.compare-divider {
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
color: var(--dim);
background: var(--bg);
height: 100%;
}
/* PIPELINE */
.pipeline {
position: relative;
}
.pipeline-step {
display: grid;
grid-template-columns: 60px 1fr;
gap: 24px;
margin-bottom: 48px;
position: relative;
}
.pipeline-step::before {
content: '';
position: absolute;
left: 29px;
top: 48px;
bottom: -48px;
width: 1px;
background: var(--border);
}
.pipeline-step:last-child::before { display: none; }
.step-num {
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
font-family: 'JetBrains Mono', monospace;
font-size: 0.8rem;
font-weight: 700;
color: var(--accent);
border: 1px solid var(--border);
background: var(--bg);
position: relative;
z-index: 1;
}
.step-content h3 {
font-size: 0.95rem;
font-weight: 600;
margin-bottom: 8px;
margin-top: 6px;
}
.step-content p {
font-size: 0.8rem;
color: var(--dim);
line-height: 1.7;
max-width: 540px;
}
.step-code {
background: var(--card);
border: 1px solid var(--border);
padding: 16px 20px;
margin-top: 16px;
font-size: 0.75rem;
color: var(--green);
overflow-x: auto;
white-space: pre;
line-height: 1.6;
}
.step-code .comment { color: var(--dim); }
.step-code .cmd { color: var(--cyan); }
/* TESTIMONIALS */
.testimonials {
display: grid;
grid-template-columns: 1fr;
gap: 2px;
}
.testimonial {
background: var(--card);
padding: 32px;
position: relative;
}
.testimonial::before {
content: '>';
position: absolute;
top: 32px;
left: 32px;
color: var(--accent);
font-weight: 700;
}
.testimonial blockquote {
padding-left: 24px;
font-size: 0.85rem;
color: var(--dim);
line-height: 1.8;
font-style: italic;
}
.testimonial blockquote em { color: var(--fg); font-style: normal; }
.testimonial-attr {
margin-top: 16px;
padding-left: 24px;
font-size: 0.7rem;
color: var(--dim);
letter-spacing: 1px;
}
.testimonial-attr strong { color: var(--fg); font-weight: 500; }
/* FAQ */
.faq-item {
border-bottom: 1px solid var(--border);
padding: 28px 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
font-size: 0.85rem;
font-weight: 600;
margin-bottom: 12px;
color: var(--fg);
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
}
.faq-q::after {
content: '+';
color: var(--accent);
font-size: 1.1rem;
font-weight: 300;
}
.faq-a {
font-size: 0.78rem;
color: var(--dim);
line-height: 1.8;
max-width: 680px;
}
/* INSTALL */
.install-block {
background: var(--card);
border: 1px solid var(--border);
padding: 32px;
position: relative;
overflow-x: auto;
}
.install-block::before {
content: 'TERMINAL';
position: absolute;
top: -10px;
left: 16px;
background: var(--bg);
padding: 0 8px;
font-size: 0.55rem;
letter-spacing: 3px;
color: var(--dim);
}
.install-line {
font-size: 0.8rem;
margin-bottom: 8px;
line-height: 1.8;
}
.install-line .prompt { color: var(--accent); user-select: none; }
.install-line .cmd { color: var(--green); }
.install-line .comment { color: var(--dim); }
.install-line .flag { color: var(--cyan); }
.install-line .output { color: var(--dim); font-style: italic; }
/* ECOSYSTEM TABLE */
.eco-table {
width: 100%;
border-collapse: collapse;
font-size: 0.78rem;
margin-top: 32px;
}
.eco-table th {
text-align: left;
padding: 12px 16px;
font-size: 0.65rem;
letter-spacing: 2px;
text-transform: uppercase;
color: var(--dim);
border-bottom: 1px solid var(--border);
font-weight: 400;
}
.eco-table td {
padding: 12px 16px;
border-bottom: 1px solid var(--border);
color: var(--dim);
}
.eco-table td:first-child { color: var(--fg); font-weight: 500; }
/* FOOTER */
footer {
border-top: 1px solid var(--border);
padding: 48px 0;
font-size: 0.7rem;
color: var(--dim);
}
.footer-grid {
display: grid;
grid-template-columns: 2fr 1fr 1fr;
gap: 32px;
}
@media (max-width: 640px) {
.footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 {
font-size: 0.6rem;
letter-spacing: 3px;
text-transform: uppercase;
color: var(--dim);
margin-bottom: 16px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--dim); font-size: 0.7rem; }
.footer-grid a:hover { color: var(--fg); }
.footer-legal {
margin-top: 48px;
padding-top: 24px;
border-top: 1px solid var(--border);
font-size: 0.65rem;
color: #333;
line-height: 1.8;
}
/* Animations */
@keyframes blink {
0%, 50% { opacity: 1; }
51%, 100% { opacity: 0; }
}
.cursor {
display: inline-block;
width: 8px;
height: 1.1em;
background: var(--accent);
animation: blink 1s infinite;
vertical-align: text-bottom;
margin-left: 2px;
}
@keyframes fadeUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.hero, section {
animation: fadeUp 0.6s ease-out;
}
/* ETHICAL BANNER */
.ethical-banner {
background: var(--card);
border-left: 3px solid var(--yellow);
padding: 24px 28px;
margin-top: 48px;
font-size: 0.78rem;
color: var(--dim);
line-height: 1.8;
}
.ethical-banner strong { color: var(--yellow); }
/* ASCII art container */
.ascii-art {
font-family: 'JetBrains Mono', monospace;
font-size: 0.55rem;
line-height: 1.2;
color: var(--accent);
opacity: 0.3;
white-space: pre;
overflow: hidden;
text-align: center;
margin: 32px 0;
}
/* Responsive */
@media (max-width: 640px) {
.hero { padding: 72px 0 48px; }
.hero-stats { gap: 24px; }
.hero-cta { gap: 10px; }
.btn { padding: 10px 18px; font-size: 0.72rem; }
.pipeline-step { grid-template-columns: 40px 1fr; gap: 16px; }
.step-num { width: 40px; height: 40px; font-size: 0.7rem; }
.pipeline-step::before { left: 19px; }
.compare { gap: 2px; }
.nav-links { gap: 8px; font-size: 0.6rem; flex-wrap: wrap; }
.nav-logo { font-size: 0.9rem; letter-spacing: 2px; }
section { padding: 64px 0; }
.install-block { padding: 20px 16px; }
.install-line { font-size: 0.68rem; word-break: break-all; }
.ascii-art { font-size: 0.3rem; }
.step-code { font-size: 0.65rem; }
.eco-table { font-size: 0.68rem; }
.eco-table th, .eco-table td { padding: 8px 10px; }
}
</style>
</head>
<body>
<nav>
<div class="container">
<div class="nav-logo">PHALUS <span>v0.7.0</span></div>
<div class="nav-links">
<a href="#problem">Problem</a>
<a href="#pipeline">Pipeline</a>
<a href="#new">v0.7.0</a>
<a href="#install">Install</a>
<a href="#ethics">Ethics</a>
<a href="#faq">FAQ</a>
<a href="https://docs.phalus.sh" target="_blank">Docs</a>
</div>
</div>
</nav>
<!-- HERO -->
<div class="hero">
<div class="container">
<div class="hero-badge">0BSD · Self-Hosted · No SaaS · No Excuses</div>
<h1><span class="red">PHALUS</span></h1>
<div class="hero-acronym">Private Headless Automated License Uncoupling System</div>
<p class="hero-desc">
All the ethical ambiguity of AI-powered clean room reimplementation, but <strong>you run it yourself</strong>.
No cute marketing site. No fake testimonials from "Dr. Heinrich Offshore." No offshore subsidiaries.
Just a Rust binary, your API keys, and <strong>whatever you tell your lawyers</strong>.
</p>
<div class="hero-stats">
<div class="stat">
<div class="stat-val">$0</div>
<div class="stat-label">SaaS Markup</div>
</div>
<div class="stat">
<div class="stat-val red">0</div>
<div class="stat-label">Cloud Accounts Required</div>
</div>
<div class="stat">
<div class="stat-val yellow">∞</div>
<div class="stat-label">Plausible Deniability</div>
</div>
</div>
<div class="hero-cta">
<a href="#install" class="btn">cargo install →</a>
<a href="https://docs.phalus.sh" target="_blank" class="btn btn-ghost">Documentation</a>
<a href="https://github.com/phalus-sh/phalus" class="btn btn-ghost">View Source</a>
</div>
</div>
</div>
<!-- PROBLEM -->
<section id="problem">
<div class="container">
<div class="section-tag">// The Problem</div>
<h2 class="section-title">Open Source Has Terms & Conditions</h2>
<p class="section-sub">Apparently "free as in freedom" doesn't mean "free as in do whatever you want and pretend you wrote it." Who knew.</p>
<div class="problem-grid">
<div class="problem-card">
<span class="icon">§</span>
<h3>The AGPL Exists</h3>
<p>One careless <code>npm install</code> and suddenly your proprietary SaaS must disclose its source. Your investors
are calling. Your lawyers are crying. <em>Your quarterly report is weeping.</em></p>
</div>
<div class="problem-card">
<span class="icon">©</span>
<h3>Attribution Is Hard</h3>
<p>Keeping track of 2,000+ transitive dependencies and their license terms? That's not engineering, that's <em>archaeology</em>.
And your compliance team bills by the hour.</p>
</div>
<div class="problem-card">
<span class="icon">↩</span>
<h3>Copyleft Is Contagious</h3>
<p>Some licenses require you to share your improvements. Your board didn't raise $40M in Series B
so you could <em>give code to strangers on the internet</em>.</p>
</div>
<div class="problem-card">
<span class="icon">☠</span>
<h3>Compliance Costs Money</h3>
<p>Third-party audits. License scanners. Legal reviews. All so you can use a left-pad function
some maintainer wrote in <em>eleven lines</em>.</p>
</div>
</div>
<div class="ethical-banner">
<strong>⚠ Ethical Notice:</strong> The above problems are real. The solution this tool provides is ethically questionable
and legally untested. It exists for research, education, and to make the point that <strong>AI has made clean room
reimplementation trivially cheap</strong>. If that doesn't concern you, it should.
</div>
</div>
</section>
<!-- COMPARISON -->
<section id="vs">
<div class="container">
<div class="section-tag">// Malus vs Phalus</div>
<h2 class="section-title">Same Pipeline. No Middleman.</h2>
<p class="section-sub">Malus showed the world this was possible. PHALUS lets you do it in your basement.</p>
<div class="compare">
<div class="compare-col them">
<h3>malus.sh (SaaS)</h3>
<div class="compare-item"><span class="marker bad">×</span><span>Their robots, <strong>their servers</strong></span></div>
<div class="compare-item"><span class="marker bad">×</span><span>Pay-per-KB pricing via <strong>Stripe</strong></span></div>
<div class="compare-item"><span class="marker bad">×</span><span>"MalusCorp-0 License" — <strong>proprietary output license</strong></span></div>
<div class="compare-item"><span class="marker bad">×</span><span>Indemnification via <strong>offshore subsidiary</strong></span></div>
<div class="compare-item"><span class="marker bad">×</span><span>Testimonials from <strong>"Patricia Bottomline"</strong></span></div>
<div class="compare-item"><span class="marker bad">×</span><span>Fun marketing site with <strong>confetti animations</strong></span></div>
</div>
<div class="compare-divider">→</div>
<div class="compare-col us">
<h3>phalus (Self-Hosted)</h3>
<div class="compare-item"><span class="marker good">✓</span><span>Your machine, <strong>your API keys</strong></span></div>
<div class="compare-item"><span class="marker good">✓</span><span><strong>Free.</strong> 0BSD. Forever.</span></div>
<div class="compare-item"><span class="marker good">✓</span><span><strong>You pick the output license</strong> (MIT, Apache, BSD, etc.)</span></div>
<div class="compare-item"><span class="marker good">✓</span><span>Indemnification via <strong>your own risk tolerance</strong></span></div>
<div class="compare-item"><span class="marker good">✓</span><span>Zero testimonials from <strong>anyone, real or fictional</strong></span></div>
<div class="compare-item"><span class="marker good">✓</span><span>This brutalist site with <strong>scanline overlays</strong></span></div>
</div>
</div>
</div>
</section>
<!-- PIPELINE -->
<section id="pipeline">
<div class="container">
<div class="section-tag">// The Pipeline</div>
<h2 class="section-title">How License Uncoupling Works</h2>
<p class="section-sub">Two AI agents. One firewall. Zero eye contact with source code. Legal precedent since 1984.</p>
<div class="pipeline">
<div class="pipeline-step">
<div class="step-num">01</div>
<div class="step-content">
<h3>Feed It a Manifest</h3>
<p>Drop in your <code>package.json</code>, <code>requirements.txt</code>, <code>Cargo.toml</code>, or <code>go.mod</code>.
PHALUS resolves every dependency against the live registry. It knows what you depend on. It judges silently.</p>
<div class="step-code"><span class="prompt">$ </span><span class="cmd">phalus plan package.json</span>
<span class="output"> Resolving 47 packages from npm registry...
├── left-pad@1.1.3 3.2 KB MIT
├── is-odd@3.0.1 2.1 KB MIT
├── express@4.18.2 211 KB MIT
└── ... 44 more
Total: 2.4 MB across 47 packages</span></div>
</div>
</div>
<div class="pipeline-step">
<div class="step-num">02</div>
<div class="step-content">
<h3>Agent A: The Reader</h3>
<p>Agent A reads <em>only</em> public documentation — READMEs, API docs, type definitions. Never a single line of source code.
It produces a Clean Room Specification Pack (CSP): 10 documents describing <strong>what</strong> the package does, never <strong>how</strong>.
Think of it as the world's most thorough product requirements doc, written by an AI that takes clean room protocol more seriously than your compliance team.</p>
</div>
</div>
<div class="pipeline-step">
<div class="step-num">03</div>
<div class="step-content">
<h3>The Isolation Firewall</h3>
<p>Agent B has never met Agent A. They don't share context, state, or API sessions. The only thing that crosses
the boundary is the CSP, logged with SHA-256 checksums. This is the legal core — provable separation between
the documentation reader and the code writer. <em>Phoenix Technologies did this with humans in 1984. We do it with LLMs in 2026.</em></p>
</div>
</div>
<div class="pipeline-step">
<div class="step-num">04</div>
<div class="step-content">
<h3>Agent B: The Builder</h3>
<p>Agent B reads only the CSP and uses a <a href="https://github.com/thirdkeyai/symbiont" target="_blank" style="color:var(--cyan);">symbiont</a> reasoning loop
to iteratively implement the package from scratch. It writes code, checks API completeness, resolves missing imports, and repeats until done.
It has provably never seen the original code, the original docs, or even the package name's npm page.
The output is functionally equivalent, independently derived code. Yours to do with as you please. Allegedly.</p>
</div>
</div>
<div class="pipeline-step">
<div class="step-num">05</div>
<div class="step-content">
<h3>Validation & Audit</h3>
<p>The validator checks syntax, runs tests, and scores similarity against the original. Anything above threshold gets flagged.
Every step is recorded in an append-only audit trail — because if you're going to do something legally dubious,
you should at least have <em>really good paperwork</em>.</p>
<div class="step-code"><span class="prompt">$ </span><span class="cmd">phalus inspect ./phalus-output</span> <span class="flag">--audit</span>
<span class="output"> left-pad@1.1.3
├── CSP: 10 documents, SHA-256 verified ✓
├── Firewall: context isolation, no leak ✓
├── Syntax: valid ✓
├── Tests: 3/3 passing ✓
├── Similarity: 0.23 (threshold: 0.70) ✓
└── License: MIT (user-selected) ✓</span></div>
</div>
</div>
</div>
</div>
</section>
<!-- NEW IN v0.7.0 -->
<section id="new">
<div class="container">
<div class="section-tag">// New in v0.7.0</div>
<h2 class="section-title">Schema-Enforced Specifications</h2>
<p class="section-sub">Agent A now produces structured, machine-parseable specs. Agent B can actually read them.</p>
<div class="problem-grid">
<div class="problem-card">
<span class="icon">📐</span>
<h3>Prescribed JSON Schemas</h3>
<p>All 10 CSP documents now follow strict JSON schemas with typed fields.
<code>02-api-surface</code> uses a structured <code>exports</code> array.
<code>09-test-scenarios</code> has concrete input/output pairs. No more unstructured blobs.</p>
</div>
<div class="problem-card">
<span class="icon">🔍</span>
<h3>Gap-Category Directives</h3>
<p>8 explicit directives ensure Agent A covers merge algorithms, type-detection cascades,
serialization semantics, interface contracts, default behaviors, security mechanisms,
enum values, and sentinel values. The stuff that <em>actually trips up reimplementors</em>.</p>
</div>
<div class="problem-card">
<span class="icon">🔗</span>
<h3>Fixed Completeness Checker</h3>
<p>Agent B's <code>check_completeness</code> now correctly parses the structured API surface,
including nested <code>static_methods</code> and <code>instance_methods</code>.
The agentic self-correction loop is no longer blind.</p>
</div>
<div class="problem-card">
<span class="icon">📦</span>
<h3>All-JSON Format</h3>
<p>Every CSP document uses <code>.json</code> extension. No more JSON-masquerading-as-markdown.
Consistent, validatable, and honest about what it is.</p>
</div>
</div>
<div class="install-block" style="margin-top: 32px;">
<div class="install-line"><span class="comment"># CSP output is now structured JSON across all documents</span></div>
<div class="install-line"><span class="prompt">$ </span><span class="cmd">phalus run-one npm/left-pad@1.1.3 --output ./out</span></div>
<div class="install-line"> </div>
<div class="install-line"><span class="prompt">$ </span><span class="cmd">ls out/left-pad/.cleanroom/csp/</span></div>
<div class="install-line"><span class="output"> 01-overview.json 06-type-definitions.json</span></div>
<div class="install-line"><span class="output"> 02-api-surface.json 07-error-catalog.json</span></div>
<div class="install-line"><span class="output"> 03-behavior-spec.json 08-compatibility-notes.json</span></div>
<div class="install-line"><span class="output"> 04-edge-cases.json 09-test-scenarios.json</span></div>
<div class="install-line"><span class="output"> 05-configuration.json 10-metadata.json</span></div>
</div>
</div>
</section>
<!-- INSTALL -->
<section id="install">
<div class="container">
<div class="section-tag">// Get Started</div>
<h2 class="section-title">Installation Takes 30 Seconds</h2>
<p class="section-sub">The moral reckoning takes longer.</p>
<h3 style="font-size: 0.85rem; margin-bottom: 16px; color: var(--green);">Option 1: Install from crates.io</h3>
<div class="install-block">
<div class="install-line"><span class="prompt">$ </span><span class="cmd">cargo install phalus</span></div>
</div>
<h3 style="font-size: 0.85rem; margin-bottom: 16px; margin-top: 32px; color: var(--green);">Option 2: Download binary</h3>
<div class="install-block">
<div class="install-line"><span class="comment"># Linux (x86_64)</span></div>
<div class="install-line"><span class="prompt">$ </span><span class="cmd">curl -L</span> <span class="flag">https://github.com/phalus-sh/phalus/releases/latest/download/phalus-v0.7.0-x86_64-unknown-linux-gnu.tar.gz</span> <span class="cmd">| tar xz</span></div>
<div class="install-line"><span class="prompt">$ </span><span class="cmd">sudo mv phalus /usr/local/bin/</span></div>
<div class="install-line"> </div>
<div class="install-line"><span class="comment"># macOS (Apple Silicon)</span></div>
<div class="install-line"><span class="prompt">$ </span><span class="cmd">curl -L</span> <span class="flag">https://github.com/phalus-sh/phalus/releases/latest/download/phalus-v0.7.0-aarch64-apple-darwin.tar.gz</span> <span class="cmd">| tar xz</span></div>
<div class="install-line"><span class="prompt">$ </span><span class="cmd">sudo mv phalus /usr/local/bin/</span></div>
</div>
<h3 style="font-size: 0.85rem; margin-bottom: 16px; margin-top: 32px; color: var(--green);">Option 3: Docker</h3>
<div class="install-block">
<div class="install-line"><span class="prompt">$ </span><span class="cmd">docker run -p 3000:3000</span> <span class="flag">\</span></div>
<div class="install-line"><span class="cmd"> -e PHALUS_LLM__AGENT_A_API_KEY=</span><span class="flag">sk-ant-...</span> <span class="flag">\</span></div>
<div class="install-line"><span class="cmd"> -e PHALUS_LLM__AGENT_B_API_KEY=</span><span class="flag">sk-ant-...</span> <span class="flag">\</span></div>
<div class="install-line"><span class="cmd"> ghcr.io/phalus-sh/phalus:latest</span></div>
</div>
<h3 style="font-size: 0.85rem; margin-bottom: 16px; margin-top: 32px; color: var(--green);">Option 4: Build from source</h3>
<div class="install-block">
<div class="install-line"><span class="prompt">$ </span><span class="cmd">git clone https://github.com/phalus-sh/phalus.git</span></div>
<div class="install-line"><span class="prompt">$ </span><span class="cmd">cd phalus && cargo build</span> <span class="flag">--release</span></div>
</div>
<h3 style="font-size: 0.85rem; margin-bottom: 16px; margin-top: 48px; color: var(--fg);">Quick Start</h3>
<div class="install-block">
<div class="install-line"><span class="comment"># Set your API keys (your models, your bill)</span></div>
<div class="install-line"><span class="prompt">$ </span><span class="cmd">export PHALUS_LLM__AGENT_A_API_KEY=</span><span class="flag">sk-ant-...</span></div>
<div class="install-line"><span class="prompt">$ </span><span class="cmd">export PHALUS_LLM__AGENT_B_API_KEY=</span><span class="flag">sk-ant-...</span></div>
<div class="install-line"> </div>
<div class="install-line"><span class="comment"># Liberate a package</span></div>
<div class="install-line"><span class="prompt">$ </span><span class="cmd">phalus run-one npm/left-pad@1.1.3</span> <span class="flag">--license mit</span></div>
<div class="install-line"> </div>
<div class="install-line"><span class="comment"># Or process an entire manifest</span></div>
<div class="install-line"><span class="prompt">$ </span><span class="cmd">phalus run package.json</span> <span class="flag">--license apache-2.0 --output ./reimplemented</span></div>
<div class="install-line"> </div>
<div class="install-line"><span class="comment"># Launch the web UI</span></div>
<div class="install-line"><span class="prompt">$ </span><span class="cmd">phalus serve</span></div>
<div class="install-line"><span class="output">PHALUS web UI running at http://127.0.0.1:3000</span></div>