-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
797 lines (700 loc) · 27.3 KB
/
Copy pathindex.html
File metadata and controls
797 lines (700 loc) · 27.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- ── Primary SEO ── -->
<title>mimicode — notebook-first AI coding tool</title>
<meta name="description" content="mimicode is a notebook-first AI coding tool for developers. Write a question in code.mimi, save the file, get the answer back in the same file. No chat window. No tab switching. Single Go binary with watch, REPL, TUI, and one-shot modes.">
<meta name="keywords" content="mimicode, AI coding tool, developer AI assistant, rubber duck debugger, terminal AI agent, notebook AI, code.mimi, Go binary AI, no chat window, file-based AI, agentic coding, Claude AI coding, AI pair programmer alternative">
<meta name="robots" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1">
<meta name="author" content="mimicode">
<link rel="canonical" href="https://mimicode.xyz/">
<!-- ── Open Graph ── -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://mimicode.xyz/">
<meta property="og:site_name" content="mimicode">
<meta property="og:locale" content="en_US">
<meta property="og:title" content="mimicode — notebook-first AI coding tool">
<meta property="og:description" content="Write a question in code.mimi, save the file, get the answer in the same file. No chat window. No tab switching. Single Go binary — watch, REPL, TUI, and one-shot modes.">
<meta property="og:image" content="https://mimicode.xyz/assets/embed.png">
<meta property="og:image:alt" content="mimicode terminal demo screenshot">
<meta property="og:image:width" content="800">
<meta property="og:image:height" content="420">
<!-- ── Twitter / X ── -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="mimicode — notebook-first AI coding tool">
<meta name="twitter:description" content="Write questions in code.mimi, save, get answers in the same file. No chat window. Single Go binary.">
<meta name="twitter:image" content="https://mimicode.xyz/assets/embed.png">
<meta name="twitter:image:alt" content="mimicode terminal demo screenshot">
<!-- ── App / Browser ── -->
<meta name="theme-color" content="#0a0a0b">
<meta name="application-name" content="mimicode">
<link rel="icon" type="image/png" href="assets/templogomimicode.png">
<!-- ── Structured data (GEO / AI search) ── -->
<script type="application/ld+json">
[
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "mimicode",
"description": "A notebook-first AI coding tool. Write a question in code.mimi, save the file, and the answer appears below a divider in the same file. No chat window. No tab switching. Single prebuilt Go binary.",
"url": "https://mimicode.xyz",
"applicationCategory": "DeveloperApplication",
"operatingSystem": ["macOS", "Linux", "Windows"],
"programmingLanguage": "Go",
"codeRepository": "https://github.com/trymimicode/mimicode-go",
"downloadUrl": "https://mimicode.xyz/install.sh",
"offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD" },
"author": { "@type": "Organization", "name": "mimicode", "url": "https://mimicode.xyz" },
"featureList": [
"Watch mode: write in code.mimi, save, answer appears in-file",
"REPL mode with :undo and session compaction",
"Terminal UI (TUI) with session history and keyboard navigation",
"One-shot mode for scripts and CI pipelines",
"Shadow-git undo: revert any turn without touching .git",
"Confirm mode gates bash, write, and edit calls",
"Full-text memory search across sessions, rules, and notes",
"Single prebuilt Go binary, no Python or Node runtime required"
]
},
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "mimicode",
"url": "https://mimicode.xyz",
"description": "Notebook-first AI coding tool for developers.",
"publisher": { "@type": "Organization", "name": "mimicode", "url": "https://mimicode.xyz" }
},
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is mimicode?",
"acceptedAnswer": { "@type": "Answer", "text": "mimicode is a notebook-first AI coding tool. You write questions or tasks in a file called code.mimi, save it, and the answer appears in the same file below a divider. No browser tab. No chat window. It runs as a single Go binary with no runtime dependencies." }
},
{
"@type": "Question",
"name": "How do I install mimicode?",
"acceptedAnswer": { "@type": "Answer", "text": "On macOS or Linux: curl -fsSL https://mimicode.xyz/install.sh | bash. On Windows: irm https://mimicode.xyz/install.ps1 | iex. Or via Go: go install github.com/trymimicode/mimicode-go/cmd/mimicode@latest" }
},
{
"@type": "Question",
"name": "Does mimicode require Python or Node?",
"acceptedAnswer": { "@type": "Answer", "text": "No. mimicode ships as a single prebuilt Go binary with zero runtime dependencies. No Python, no Node, no pip, no npm." }
},
{
"@type": "Question",
"name": "What AI model does mimicode use?",
"acceptedAnswer": { "@type": "Answer", "text": "mimicode uses Anthropic's Claude models. You need an ANTHROPIC_API_KEY to use it. The default model is claude-opus-4, configurable via the MIMICODE_MODEL environment variable." }
},
{
"@type": "Question",
"name": "Can I undo changes mimicode makes?",
"acceptedAnswer": { "@type": "Answer", "text": "Yes. mimicode takes a shadow-git snapshot before every turn that touches files. Use :undo in REPL mode to revert. Your real .git history is never touched." }
}
]
}
]
</script>
<link rel="stylesheet" href="style.css">
<style>
body { align-items: center; }
/* ── Main ── */
main {
flex: 1;
width: 100%;
max-width: 920px;
padding: 72px 24px 140px;
display: flex;
flex-direction: column;
align-items: center;
}
/* ── Hero ── */
.hero {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
font-size: clamp(52px, 9vw, 88px);
font-weight: 700;
letter-spacing: -0.05em;
line-height: 1;
margin-bottom: 22px;
color: var(--text);
}
@keyframes grad-flow {
0% { background-position: 0% center; }
100% { background-position: 200% center; }
}
.grad {
position: relative;
display: inline-block;
vertical-align: baseline;
}
.grad::after {
content: attr(data-text);
position: absolute;
inset: 0;
background: linear-gradient(90deg, #e8e8ed 0%, #a78bfa 25%, #60a5fa 55%, #34d399 80%, #e8e8ed 100%);
background-size: 200% auto;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
animation: grad-flow 2.5s linear infinite;
opacity: 0;
transition: opacity 0.45s ease;
}
h1:hover .grad::after { opacity: 1; }
.tagline,
.sub-tagline { color: var(--muted); }
.tagline {
font-size: clamp(15px, 2.2vw, 19px);
max-width: 520px;
margin-bottom: 12px;
line-height: 1.75;
}
.tagline strong { color: var(--text); font-weight: 500; }
.sub-tagline {
font-size: 13px;
max-width: 440px;
margin-bottom: 44px;
opacity: 0.65;
line-height: 1.7;
}
/* ── Install widget ── */
.install-wrap {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
width: 100%;
max-width: 540px;
}
.install-widget {
display: flex;
align-items: stretch;
border: 1px solid var(--border);
border-radius: 10px;
background: var(--surface);
overflow: visible;
width: 100%;
transition: border-color 0.2s;
}
.install-widget:hover { border-color: var(--border-hover); }
.install-select {
display: flex;
align-items: center;
gap: 6px;
padding: 0 14px;
border-right: 1px solid var(--border);
border-radius: 10px 0 0 10px;
cursor: pointer;
white-space: nowrap;
position: relative;
user-select: none;
transition: background 0.15s;
overflow: visible;
}
.install-select:hover { background: rgba(255,255,255,0.03); }
.select-label {
font-size: 11px;
font-weight: 500;
color: var(--muted);
letter-spacing: 0.01em;
}
.select-icon {
color: var(--muted);
transition: transform 0.2s;
flex-shrink: 0;
}
.install-select.open .select-icon { transform: rotate(180deg); }
.dropdown {
position: absolute;
top: calc(100% + 8px);
left: 0;
background: var(--surface2);
border: 1px solid var(--border);
border-radius: 8px;
min-width: 188px;
overflow: hidden;
z-index: 200;
display: none;
box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}
.install-select.open .dropdown { display: block; }
.dropdown-item {
padding: 10px 14px;
font-size: 12px;
color: var(--muted);
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
transition: background 0.1s, color 0.1s;
}
.dropdown-item:hover,
.dropdown-item.active { color: var(--text); }
.dropdown-item:hover { background: rgba(255,255,255,0.04); }
.command-display {
display: flex;
align-items: center;
flex: 1;
padding: 0 6px 0 14px;
gap: 6px;
min-width: 0;
}
.command-text {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 1;
background: none;
border: none;
outline: none;
padding: 14px 0;
}
.copy-btn {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 6px;
border: none;
background: transparent;
color: var(--muted);
cursor: pointer;
flex-shrink: 0;
transition: background 0.15s, color 0.15s;
position: relative;
}
.copy-btn:hover,
.copy-btn.copied { color: var(--text); }
.copy-btn:hover { background: rgba(255,255,255,0.05); }
.tooltip {
position: absolute;
bottom: calc(100% + 6px);
left: 50%;
transform: translateX(-50%);
background: #1e1e24;
border: 1px solid var(--border);
color: var(--text);
font-size: 11px;
padding: 3px 8px;
border-radius: 5px;
white-space: nowrap;
opacity: 0;
pointer-events: none;
transition: opacity 0.15s;
}
.copy-btn:hover .tooltip,
.copy-btn.copied .tooltip { opacity: 1; }
/* Mobile: guide button replaces install widget */
.guide-btn {
display: none;
align-items: center;
gap: 8px;
padding: 12px 22px;
border-radius: 10px;
border: 1px solid var(--border);
background: var(--surface);
color: var(--text);
font-size: 14px;
font-weight: 500;
cursor: pointer;
text-decoration: none;
transition: border-color 0.2s, background 0.2s;
}
.guide-btn:hover { border-color: var(--border-hover); background: var(--surface2); }
@media (max-width: 580px) {
.install-widget { display: none; }
.guide-btn { display: flex; }
}
/* ── Eyebrow labels ── */
.section-eyebrow,
.stats-meta { text-transform: uppercase; color: var(--subtle); }
.section-eyebrow {
font-size: 11px;
font-weight: 500;
letter-spacing: 0.08em;
margin-bottom: 24px;
}
.stats-meta {
font-size: 12px;
letter-spacing: 0.12em;
margin-top: 78px;
margin-bottom: 10px;
}
.hero-image {
width: 100%;
height: auto;
display: block;
background: transparent;
transform: scale(1.35);
transform-origin: center top;
margin-bottom: 260px;
}
/* ── Grid strips ── */
.stats-strip,
.mini-grid {
display: grid;
gap: 1px;
width: 100%;
background: var(--border);
border: 1px solid var(--border);
border-radius: 12px;
overflow: hidden;
}
.stats-strip { grid-template-columns: repeat(4, 1fr); }
.mini-grid { grid-template-columns: repeat(3, 1fr); }
.stat-cell {
background: var(--surface);
padding: 28px 24px;
display: flex;
flex-direction: column;
gap: 4px;
}
.stat-number {
font-size: clamp(28px, 4vw, 42px);
font-weight: 700;
letter-spacing: -0.04em;
line-height: 1;
color: var(--text);
}
.stat-label { font-size: 12px; color: var(--subtle); line-height: 1.4; }
.stat-label code,
.mini-cell code { font-family: var(--font-mono); font-size: 11px; color: var(--text); }
/* ── Content sections ── */
.why-section,
.features-section,
.compare-section { width: 100%; margin-top: 80px; }
.why-section { max-width: 820px; align-self: flex-start; }
.why-body {
font-size: 15px;
color: var(--muted);
line-height: 1.8;
margin-bottom: 18px;
}
.why-body:last-child { margin-bottom: 0; }
.why-body code,
.sub-tagline code {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text);
background: var(--surface2);
border: 1px solid var(--border);
border-radius: 4px;
padding: 1px 5px;
}
.mini-cell { background: var(--surface); padding: 22px 20px; }
.mini-cell h3 {
font-size: 13px;
font-weight: 600;
color: var(--text);
margin-bottom: 6px;
letter-spacing: -0.02em;
}
.mini-cell p { font-size: 12px; color: var(--muted); line-height: 1.55; }
/* ── Comparison table ── */
.compare-header,
.compare-row { display: grid; grid-template-columns: 1fr 160px 160px; }
.compare-header {
padding: 0 0 14px 0;
border-bottom: 1px solid var(--border);
}
.compare-header span {
font-size: 11px;
font-weight: 500;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--muted);
}
.compare-header .col-mimi { color: var(--text); }
.compare-row {
padding: 18px 0;
border-bottom: 1px solid var(--border);
align-items: center;
}
.compare-row:hover { background: rgba(255,255,255,0.01); }
.compare-metric,
.compare-val { font-size: 13px; }
.compare-metric { color: var(--muted); }
.compare-val { font-family: var(--font-mono); }
.compare-val.bad { color: var(--muted); }
.compare-val.good { color: var(--text); }
/* ── Responsive ── */
@media (max-width: 720px) {
.hero-image { transform: scale(1.18); margin-bottom: 110px; }
.stats-meta { margin-top: 36px; }
.stats-strip { grid-template-columns: repeat(2, 1fr); }
.mini-grid { grid-template-columns: repeat(2, 1fr); }
.compare-header,
.compare-row { grid-template-columns: 1fr 100px 100px; }
}
@media (max-width: 500px) {
.hero-image { transform: scale(1.08); margin-bottom: 36px; }
.stats-meta { margin-top: 22px; }
.stats-strip { grid-template-columns: 1fr 1fr; }
.mini-grid { grid-template-columns: 1fr; }
}
</style>
</head>
<body>
<header>
<nav>
<a class="nav-logo" href="#">mimicode</a>
<button class="nav-burger" id="navBurger" aria-label="Open menu" aria-expanded="false">
<span></span>
<span></span>
<span></span>
</button>
<ul class="nav-links" id="navLinks">
<li><a href="#philosophy">philosophy</a></li>
<li><a href="#features">features</a></li>
<li><a href="/docs/">docs</a></li>
<li><a href="/languages/">langs</a></li>
<li><a href="https://github.com/trymimicode/mimicode-go" target="_blank" rel="noopener">github</a></li>
</ul>
</nav>
</header>
<main>
<!-- ── Hero ── -->
<div class="hero">
<h1>mimi<span class="grad" data-text="code">code</span></h1>
<p class="tagline">
<strong>Code in a file, not a textbox.</strong>
</p>
<p class="sub-tagline">
Open <code>code.mimi</code> in your editor, write a question, save. The answer lands below a divider
in the same file. No chat window. No tab switching. Still beta.
</p>
<div class="install-wrap">
<div class="install-widget">
<div class="install-select" id="installSelect">
<span class="select-label" id="selectLabel">macOS / Linux</span>
<svg xmlns="http://www.w3.org/2000/svg" class="select-icon" width="12" height="12" viewBox="0 0 1024 1024">
<path d="M482.95936 717.33248a36.864 36.864 0 0 0 52.0192-0.08192l285.696-285.696a36.864 36.864 0 1 0-52.10112-52.10112l-259.72736 259.6864-261.69344-259.80928a36.864 36.864 0 1 0-51.93728 52.34688l287.744 285.65504z" fill="currentColor"/>
</svg>
<div class="dropdown" id="dropdown">
<div class="dropdown-item active" data-cmd="curl -fsSL https://mimicode.xyz/install.sh | bash" data-label="macOS / Linux">
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="3" y="3" width="18" height="14" rx="2"/><path d="M8 21h8M12 17v4"/>
</svg>
macOS / Linux
</div>
<div class="dropdown-item" data-cmd="irm https://mimicode.xyz/install.ps1 | iex" data-label="Windows">
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="3" y="3" width="18" height="18" rx="2"/><path d="M3 9h18M9 21V9"/>
</svg>
Windows
</div>
<div class="dropdown-item" data-cmd="go install github.com/trymimicode/mimicode-go/cmd/mimicode@latest" data-label="Go install">
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/>
</svg>
Go install
</div>
</div>
</div>
<div class="command-display">
<code class="command-text" id="commandText">curl -fsSL https://mimicode.xyz/install.sh | bash</code>
<button class="copy-btn" id="copyBtn" aria-label="Copy command">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 1024 1024">
<path d="M725.333333 302.933333a166.4 166.4 0 0 1 166.4 166.4v256a166.4 166.4 0 0 1-166.4 166.4h-256A166.4 166.4 0 0 1 302.933333 725.333333v-256A166.4 166.4 0 0 1 469.333333 302.933333h256z m-256 76.8A89.6 89.6 0 0 0 379.733333 469.333333v256c0 49.493333 40.106667 89.6 89.6 89.6h256a89.6 89.6 0 0 0 89.6-89.6v-256A89.6 89.6 0 0 0 725.333333 379.733333h-256z" fill="currentColor"/>
<path d="M554.666667 132.266667a166.4 166.4 0 0 1 144.128 83.2 38.4 38.4 0 0 1-66.517334 38.4A89.514667 89.514667 0 0 0 554.666667 209.066667H298.666667A89.6 89.6 0 0 0 209.066667 298.666667v256c0 33.109333 17.92 62.08 44.8 77.653333a38.4 38.4 0 0 1-38.4 66.474667A166.4 166.4 0 0 1 132.266667 554.666667V298.666667A166.4 166.4 0 0 1 298.666667 132.266667h256z" fill="currentColor"/>
</svg>
<span class="tooltip" id="copyTooltip">Copy</span>
</button>
</div>
</div>
<a class="guide-btn" href="/docs/#quickstart">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/>
<path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"/>
</svg>
User Guide
</a>
</div>
</div>
<img
class="hero-image"
src="assets/image.png"
alt="mimicode demo terminal screenshot"
/>
<!-- ── Stats strip ── -->
<div class="stats-meta">at a glance</div>
<div class="stats-strip">
<div class="stat-cell">
<div class="stat-number">0</div>
<div class="stat-label">context switches<br>your editor is the UI</div>
</div>
<div class="stat-cell">
<div class="stat-number">4</div>
<div class="stat-label">ways to run<br>watch · REPL · TUI · one-shot</div>
</div>
<div class="stat-cell">
<div class="stat-number">1</div>
<div class="stat-label">binary, zero deps<br>no Python, no Node, no runtime</div>
</div>
<div class="stat-cell">
<div class="stat-number">∞</div>
<div class="stat-label">turns undoable<br>shadow-git, never touches <code>.git</code></div>
</div>
</div>
<div class="why-section" id="philosophy">
<div class="section-eyebrow">philosophy</div>
<p class="why-body">
mimicode is not a pair programmer. It does not pick architectures, debate tradeoffs, or volunteer opinions.
It is a tool in the Unix sense: a rubber duck that can search your repo, run commands, and make mechanical edits
when you ask.
</p>
<p class="why-body">
mimi diffs every save against the last snapshot, so only new text becomes input. Its own answers are never
replayed as prompts. Memory lives in flat markdown; every tool call lands in
<code>~/.mimi/sessions/<id>/events.jsonl</code>.
</p>
</div>
<div class="features-section" id="features">
<div class="section-eyebrow">features</div>
<div class="mini-grid">
<div class="mini-cell">
<h3>Watch mode</h3>
<p><code>mimicode watch</code>: write in <code>code.mimi</code>, save, read the answer in-file.</p>
</div>
<div class="mini-cell">
<h3>Shadow-git undo</h3>
<p><code>:undo</code> in REPL reverts turns. Your real <code>.git</code> is never touched.</p>
</div>
<div class="mini-cell">
<h3>Confirm mode</h3>
<p><code>--confirm</code> gates bash, write, and edit. Read-only tools never prompt.</p>
</div>
<div class="mini-cell">
<h3>Stuck recovery</h3>
<p>Repeats and error loops stop with a diagnosis. No silent retries.</p>
</div>
<div class="mini-cell">
<h3>FTS memory</h3>
<p>Search <code>.mimi/MEMORY.md</code>, rules, and past sessions on disk.</p>
</div>
<div class="mini-cell">
<h3>Terminal UI</h3>
<p><code>mimicode --tui</code>: rich output, session history, and keyboard navigation built with Bubbletea.</p>
</div>
</div>
</div>
<div class="compare-section" id="compare">
<div class="section-eyebrow" style="margin-bottom:24px">vs typical chat agent</div>
<div class="compare-header">
<span></span>
<span>typical</span>
<span class="col-mimi">mimicode</span>
</div>
<div class="compare-row">
<span class="compare-metric">Where you work</span>
<span class="compare-val bad">sidebar chat</span>
<span class="compare-val good">code.mimi</span>
</div>
<div class="compare-row">
<span class="compare-metric">Install</span>
<span class="compare-val bad">runtime + deps</span>
<span class="compare-val good">one binary</span>
</div>
<div class="compare-row">
<span class="compare-metric">Session history</span>
<span class="compare-val bad">opaque</span>
<span class="compare-val good">events.jsonl</span>
</div>
<div class="compare-row">
<span class="compare-metric">Undo edits</span>
<span class="compare-val bad">manual</span>
<span class="compare-val good">:undo</span>
</div>
<div class="compare-row">
<span class="compare-metric">Role</span>
<span class="compare-val bad">co-pilot</span>
<span class="compare-val good">Unix tool</span>
</div>
</div>
</main>
<footer>
<span>mimicode © 2026</span>
<nav class="footer-nav">
<a href="/policies/privacy/">privacy</a>
<a href="/policies/terms/">terms</a>
<a href="/policies/disclaimer/">disclaimer</a>
</nav>
</footer>
<script>
// ── Dropdown ──
const select = document.getElementById('installSelect');
const cmdText = document.getElementById('commandText');
const selLabel = document.getElementById('selectLabel');
select.addEventListener('click', e => {
if (e.target.closest('.dropdown-item')) return;
select.classList.toggle('open');
});
document.addEventListener('click', e => {
if (!select.contains(e.target)) select.classList.remove('open');
});
document.querySelectorAll('.dropdown-item').forEach(item => {
item.addEventListener('click', () => {
document.querySelectorAll('.dropdown-item').forEach(i => i.classList.remove('active'));
item.classList.add('active');
cmdText.textContent = item.dataset.cmd;
selLabel.textContent = item.dataset.label;
select.classList.remove('open');
});
});
// ── Copy ──
const copyBtn = document.getElementById('copyBtn');
const tooltip = document.getElementById('copyTooltip');
copyBtn.addEventListener('click', async () => {
try {
await navigator.clipboard.writeText(cmdText.textContent);
} catch {
const r = document.createRange();
r.selectNode(cmdText);
window.getSelection().removeAllRanges();
window.getSelection().addRange(r);
document.execCommand('copy');
window.getSelection().removeAllRanges();
}
copyBtn.classList.add('copied');
tooltip.textContent = 'Copied!';
setTimeout(() => { copyBtn.classList.remove('copied'); tooltip.textContent = 'Copy'; }, 1800);
});
// ── Sticky nav ──
const hdr = document.querySelector('header');
const onScroll = () => hdr.classList.toggle('scrolled', window.scrollY > 0);
window.addEventListener('scroll', onScroll, { passive: true });
onScroll();
// ── Burger menu ──
const burger = document.getElementById('navBurger');
const navLinks = document.getElementById('navLinks');
function closeMenu() {
burger.classList.remove('open');
navLinks.classList.remove('open');
burger.setAttribute('aria-expanded', 'false');
}
burger.addEventListener('click', e => {
e.stopPropagation();
const opening = !burger.classList.contains('open');
opening ? (burger.classList.add('open'), navLinks.classList.add('open'), burger.setAttribute('aria-expanded', 'true'))
: closeMenu();
});
navLinks.querySelectorAll('a').forEach(a => a.addEventListener('click', closeMenu));
document.addEventListener('click', e => {
if (!e.target.closest('nav')) closeMenu();
});
</script>
</body>
</html>