-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit-qi.html
More file actions
933 lines (874 loc) · 61.9 KB
/
git-qi.html
File metadata and controls
933 lines (874 loc) · 61.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
<!DOCTYPE html>
<html lang="en"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Git Qi — The advanced path for those who own the whole stack.</title>
<meta name="description" content="For GitQi users who want to go deeper: the OSS internals, self-hosting gitqi.js, contributing, and the local-first philosophy behind the tool.">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin=""><link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lacquer:wght@400&display=swap"><style>
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
:root {
--color-primary: #1a1b3a;
--color-secondary: #d946ef;
--color-accent: #ff8c3c;
--color-accent-2: #2dd4bf;
--color-accent-3: #fde047;
--color-accent-4: #f472b6;
--color-bg: #fdfbf5;
--color-bg-alt: #f3ede0;
--color-text: #1a1b3a;
--color-text-muted: #5a5d7a;
--color-border: rgba(26, 27, 58, 0.09);
--font-heading: 'Fraunces', 'Playfair Display', Georgia, serif;
--font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
--space-xs: 0.5rem;
--space-sm: 1rem;
--space-md: 1.75rem;
--space-lg: 3.5rem;
--space-xl: 6rem;
--container-width: 1200px;
--radius: 18px;
--shadow: 0 24px 60px -24px rgba(26, 27, 58, 0.28);
--font-funky: 'Lacquer', system-ui, sans-serif;
--color-accent-5: #42468e;
}
body {
font-family: var(--font-body);
color: var(--color-text);
background: var(--color-bg);
line-height: 1.6;
font-size: 17px;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-heading);
font-weight: 600;
line-height: 1.12;
letter-spacing: -0.02em;
margin: 0 0 var(--space-sm);
color: var(--color-primary);
font-variation-settings: 'opsz' 32;
}
h1 { font-size: clamp(2.6rem, 5.5vw + 1rem, 5.25rem); font-weight: 500; letter-spacing: -0.035em; font-variation-settings: 'opsz' 144; }
h2 { font-size: clamp(2rem, 2.8vw + 0.9rem, 3.15rem); font-variation-settings: 'opsz' 72; }
h3 { font-size: clamp(1.25rem, 0.6vw + 1.1rem, 1.55rem); }
p { margin: 0 0 var(--space-sm); }
a { color: var(--color-accent-4); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0 0 var(--space-sm); padding-left: 1.15rem; }
li { margin-bottom: 0.3rem; }
code { font-family: 'SF Mono', Menlo, Consolas, monospace; background: rgba(217,70,239,0.1); color: #a020c0; padding: 0.15em 0.4em; border-radius: 6px; font-size: 0.92em; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 var(--space-md); }
.btn { margin-bottom:0.8em; display: inline-flex; align-items: center; gap: 0.55em; padding: 0.95em 1.55em; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; cursor: pointer; border: 2px solid transparent; transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease; text-decoration: none; line-height: 1; }
.btn-primary { background: var(--color-accent); color: var(--color-primary); box-shadow: 0 14px 34px -14px rgba(255, 140, 60, 0.75); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(255, 140, 60, 0.8); }
.btn-dark { background: var(--color-primary); color: var(--color-bg); }
.btn-dark:hover { background: var(--color-secondary); color: white; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: currentColor; }
.btn-ghost:hover { background: var(--color-primary); color: var(--color-bg); }
.btn-ghost.on-dark { color: var(--color-bg); }
.btn-ghost.on-dark:hover { background: var(--color-bg); color: var(--color-primary); }
.btn .arrow { transition: transform 0.22s ease; }
.btn:hover .arrow { transform: translateX(4px); }
/* Navigation */
.site-nav { position: sticky; top: 0; z-index: 1000; background: rgba(253,251,245,0.94); border-bottom: 1px solid var(--color-border); }
.nav-inner { max-width: var(--container-width); margin: 0 auto; padding: 0.85rem var(--space-md); display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); position: relative; }
.nav-brand { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-heading); font-weight: 600; font-size: 1.3rem; color: var(--color-primary); text-decoration: none; }
.nav-logo { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: var(--color-bg); font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 50%, var(--color-accent-2) 100%); box-shadow: 0 10px 24px -10px rgba(217,70,239,0.5); }
.nav-logo img { width: 70%; height: 70%; filter: brightness(0) invert(1); }
.nav-menu { display: flex; gap: 0.2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-menu a { font-weight: 500; font-size: 0.96rem; padding: 0.55rem 0.9rem; border-radius: 999px; color: var(--color-text); transition: background 0.2s ease, color 0.2s ease; display: inline-block; }
.nav-menu a:hover { background: var(--color-bg-alt); color: var(--color-secondary); }
.nav-menu a.active { background: var(--color-primary); color: var(--color-bg); }
.nav-menu a.active:hover { background: var(--color-primary); color: var(--color-accent-3); }
.nav-toggle { display: none; background: transparent; border: 0; width: 46px; height: 46px; cursor: pointer; position: relative; padding: 0; border-radius: 10px; }
.nav-toggle:hover { background: var(--color-bg-alt); }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--color-primary); transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease; border-radius: 2px; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.site-nav.is-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.site-nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.is-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
@media (max-width: 920px) {
.nav-toggle { display: block; }
.nav-menu {
position: fixed;
top: 72px; left: 0; right: 0;
max-height: calc(100vh - 72px);
overflow-y: auto;
background: var(--color-bg);
flex-direction: column;
align-items: stretch;
padding: var(--space-sm) var(--space-md);
gap: 0.15rem;
border-bottom: 1px solid var(--color-border);
box-shadow: 0 18px 40px -18px rgba(26,27,58,0.25);
transform: translateY(-12px);
opacity: 0;
pointer-events: none;
transition: transform 0.24s ease, opacity 0.24s ease;
z-index: 9000;
}
.site-nav.is-open .nav-menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav-menu a { padding: 0.95rem 1rem; font-size: 1.05rem; border-radius: 12px; }
}
/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero--home {
background:
radial-gradient(ellipse at 88% 12%, rgba(217,70,239,0.45), transparent 52%),
radial-gradient(ellipse at 10% 90%, rgba(45,212,191,0.4), transparent 55%),
radial-gradient(ellipse at 70% 85%, rgba(255,140,60,0.28), transparent 50%),
linear-gradient(135deg, #14152e, #1a1b3a 55%, #251a4c);
color: var(--color-bg);
padding: calc(var(--space-xl) * 1.05) 0 calc(var(--space-xl) * 1.05);
}
.hero--page {
background:
radial-gradient(ellipse at 85% 30%, rgba(255,140,60,0.32), transparent 52%),
radial-gradient(ellipse at 15% 80%, rgba(45,212,191,0.32), transparent 55%),
radial-gradient(ellipse at 50% 0%, rgba(217,70,239,0.22), transparent 60%),
linear-gradient(135deg, #14152e, #1a1b3a 60%, #2a1b45);
color: var(--color-bg);
padding: calc(var(--space-lg) * 1.35) 0 calc(var(--space-lg) * 1.35);
}
.hero h1, .hero h2, .hero h3 { color: var(--color-bg); }
.hero-inner { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.95rem; border-radius: 999px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.2); font-size: 0.78rem; color: var(--color-accent-3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: var(--space-sm); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent-3); box-shadow: 0 0 12px var(--color-accent-3); }
.hero-subtitle { font-size: clamp(1.05rem, 0.8vw + 0.9rem, 1.3rem); line-height: 1.55; color: rgba(253,251,245,0.8); max-width: 560px; margin-top: var(--space-sm); }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: calc(var(--space-md) + 0.25rem); }
.accent-word { color: var(--color-accent); font-style: italic; font-weight: 500; }
.accent-word.teal { color: var(--color-accent-2); }
.accent-word.yellow { color: var(--color-accent-3); }
.accent-word.pink { color: var(--color-accent-4); }
.accent-word.magenta { color: var(--color-secondary); }
.hero-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-lg); align-items: center; }
@media (max-width: 920px) { .hero-split { grid-template-columns: 1fr; gap: var(--space-lg); } }
.hero-media { position: relative; isolation: isolate; }
.hero-media-frame { position: relative; aspect-ratio: 4/5; border-radius: calc(var(--radius) * 1.4); overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0,0,0,0.55); }
.hero-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-sticker { position: absolute; border-radius: 16px; padding: 0.7rem 1rem; font-size: 0.85rem; font-weight: 600; box-shadow: 0 14px 30px -10px rgba(0,0,0,0.35); display: inline-flex; align-items: center; gap: 0.5rem; z-index: 2; font-family: var(--font-body); }
.hero-sticker-1 { top: -1.2rem; left: -1.2rem; background: var(--color-accent-3); color: var(--color-primary); transform: rotate(-5deg); }
.hero-sticker-2 { bottom: 2.5rem; right: -1.3rem; background: var(--color-secondary); color: white; transform: rotate(4deg); }
.hero-sticker-3 { top: 45%; left: -1.6rem; background: var(--color-accent-2); color: var(--color-primary); transform: rotate(-3deg); }
.hero-media--small { max-width: 340px; width: 100%; margin-left: auto; }
.hero-media--small .hero-media-frame { aspect-ratio: 1/1; border-radius: calc(var(--radius) * 1.2); box-shadow: 0 28px 56px -18px rgba(0,0,0,0.5); }
@media (max-width: 920px) { .hero-media--small { margin: 0 auto; } }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; pointer-events: none; }
/* Stats row */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat-num { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.3rem); color: var(--color-accent-3); font-weight: 500; letter-spacing: -0.02em; }
.stat-label { font-size: 0.88rem; color: rgba(253,251,245,0.7); letter-spacing: 0.04em; }
/* Sections */
section[data-zone] { scroll-margin-top: 90px; }
.section { padding: var(--space-xl) 0; position: relative; overflow: hidden; }
.section--alt { background: var(--color-bg-alt); }
.section--dark { background: var(--color-primary); color: var(--color-bg); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--color-bg); }
.section--teal { background: linear-gradient(150deg, #dbf6f1 0%, #fff4eb 100%); }
.section--cream { background: var(--color-bg-alt); }
.section--pink { background: linear-gradient(145deg, #fbe6f6 0%, #fff3ea 100%); }
.section--dark code { color: var(--color-accent-2); }
.section--dark .step code { color: #a020c0; }
.section-eyebrow { display: inline-block; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--color-secondary); margin-bottom: var(--space-xs); }
.section--dark .section-eyebrow { color: var(--color-accent-3); }
.section--teal .section-eyebrow { color: #0b8e87; }
.section--pink .section-eyebrow { color: #a020c0; }
.section-head { max-width: 760px; margin-bottom: var(--space-lg); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lead { font-size: clamp(1.05rem, 0.7vw + 0.95rem, 1.2rem); color: var(--color-text-muted); line-height: 1.55; }
.section--dark .section-lead { color: rgba(253,251,245,0.78); }
/* About layout */
.about-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-lg); align-items: center; }
@media (max-width: 860px) { .about-layout { grid-template-columns: 1fr; gap: var(--space-md); } }
.about-image { position: relative; isolation: isolate; }
.about-image img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; position: relative; z-index: 1; }
.about-image::before { content: ""; position: absolute; top: -1.2rem; right: -1.2rem; width: 55%; height: 55%; background: var(--color-accent-3); border-radius: var(--radius); z-index: 0; transform: rotate(5deg); }
.about-image::after { content: ""; position: absolute; bottom: -1.2rem; left: -1.2rem; width: 45%; height: 45%; background: var(--color-accent-2); border-radius: var(--radius); z-index: 0; transform: rotate(-6deg); }
/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--color-bg); border-radius: var(--radius); padding: calc(var(--space-md) - 0.15rem); border: 1px solid var(--color-border); transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: var(--space-sm); color: white; font-size: 1.5rem; background: var(--color-primary); }
.card-icon.accent { background: linear-gradient(135deg, var(--color-accent), var(--color-secondary)); }
.card-icon.teal { background: linear-gradient(135deg, var(--color-accent-2), #0b8e87); }
.card-icon.pink { background: linear-gradient(135deg, var(--color-secondary), var(--color-accent-4)); }
.card-icon.yellow { background: linear-gradient(135deg, var(--color-accent-3), var(--color-accent)); color: var(--color-primary); }
.card-icon.orange { background: linear-gradient(135deg, var(--color-accent), #e0521a); }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-top: 0; margin-bottom: 0.4rem; }
.card p { color: var(--color-text-muted); margin: 0; }
/* Path card (two-paths section) */
.path-card { background: var(--color-bg); border-radius: calc(var(--radius) * 1.2); padding: calc(var(--space-md) + 0.4rem); border: 1px solid var(--color-border); position: relative; overflow: hidden; transition: transform 0.28s ease, box-shadow 0.28s ease; display: flex; flex-direction: column; }
.path-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.path-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; }
.path-card.get-key::before { background: linear-gradient(90deg, var(--color-accent), var(--color-accent-3)); }
.path-card.git-qi::before { background: linear-gradient(90deg, var(--color-accent-2), var(--color-secondary)); }
.path-mark { width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; font-size: 2rem; margin-bottom: var(--space-sm); }
.path-card.get-key .path-mark { background: linear-gradient(135deg, var(--color-accent), var(--color-accent-3)); color: var(--color-primary); }
.path-card.git-qi .path-mark { background: linear-gradient(135deg, var(--color-accent-2), var(--color-secondary)); color: var(--color-bg); font-family: var(--font-heading); font-weight: 600; }
.path-label { display: inline-block; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--color-secondary); margin-bottom: var(--space-xs); }
.path-card.get-key .path-label { color: #c05a1a; }
.path-card.git-qi .path-label { color: #0b8e87; }
.path-card h3 { font-size: clamp(1.4rem, 1.2vw + 0.9rem, 1.85rem); margin-top: 0; }
.path-card p { color: var(--color-text-muted); flex-grow: 1; }
.path-card .btn { margin-top: var(--space-sm); align-self: flex-start; }
/* Testimonial */
.testimonial { background: var(--color-bg); border-radius: var(--radius); padding: calc(var(--space-md) + 0.2rem); box-shadow: var(--shadow); position: relative; border-top: 6px solid var(--color-accent); }
.testimonial.v2 { border-top-color: var(--color-accent-2); }
.testimonial.v3 { border-top-color: var(--color-secondary); }
.testimonial .quote-mark { font-family: var(--font-heading); font-size: 3rem; line-height: 0.3; position: absolute; top: 1.6rem; right: 1.5rem; color: var(--color-accent); opacity: 0.35; font-style: italic; }
.testimonial.v2 .quote-mark { color: var(--color-accent-2); }
.testimonial.v3 .quote-mark { color: var(--color-secondary); }
.testimonial blockquote { margin: 0 0 var(--space-sm); font-family: var(--font-heading); font-size: 1.2rem; line-height: 1.45; color: var(--color-primary); font-weight: 500; font-style: italic; }
.testimonial cite { font-style: normal; font-size: 0.92rem; color: var(--color-text-muted); display: block; margin-top: var(--space-xs); }
.testimonial cite strong { color: var(--color-primary); display: block; font-weight: 600; font-style: normal; }
/* Feature showcase */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: center; margin-bottom: calc(var(--space-xl) * 0.9); }
.feature-row:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; margin-bottom: var(--space-xl); } .feature-row .feature-media { order: -1; } }
.feature-media { position: relative; isolation: isolate; }
.feature-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 5/4; object-fit: cover; box-shadow: var(--shadow); position: relative; z-index: 1; }
.feature-media::before { content:""; position: absolute; border-radius: var(--radius); z-index: 0; }
.feature-media.frame-orange::before { inset: -0.9rem auto auto -0.9rem; width: 55%; height: 60%; background: var(--color-accent); transform: rotate(-3deg); }/*top-left*/
.feature-media.frame-orange-alt::before { inset: -0.9rem -0.9rem auto auto; width: 55%; height: 60%; background: var(--color-accent); transform: rotate(3deg); }/*top-right*/
.feature-media.frame-teal::before { inset: auto -0.9rem -0.9rem auto; width: 55%; height: 60%; background: var(--color-accent-2); transform: rotate(5deg); }/*bottom-right*/
.feature-media.frame-teal-alt::before { inset: auto auto -0.9rem -0.9rem; width: 55%; height: 60%; background: var(--color-accent-2); transform: rotate(-5deg); }/*bottom-left*/
.feature-media.frame-pink::before { inset: -0.9rem -0.9rem auto auto; width: 48%; height: 55%; background: var(--color-accent-4); transform: rotate(4deg); }/*top-right*/
.feature-media.frame-pink-alt::before { inset: -0.9rem auto auto -0.9rem; width: 48%; height: 55%; background: var(--color-accent-4); transform: rotate(-4deg); }/*top-left*/
.feature-media.frame-yellow::before { inset: auto auto -0.9rem -0.9rem; width: 55%; height: 55%; background: var(--color-accent-3); transform: rotate(-4deg); }/*bottom-left*/
.feature-media.frame-yellow-alt::before { inset: auto -0.9rem -0.9rem auto; width: 55%; height: 55%; background: var(--color-accent-3); transform: rotate(4deg); }/*bottom-right*/
.feature-media.frame-magenta::before { inset: -0.9rem auto auto -0.9rem; width: 55%; height: 55%; background: var(--color-secondary); transform: rotate(-4deg); }/*top-left*/
.feature-media.frame-magenta-alt::before { inset: -0.9rem -0.9rem auto auto; width: 55%; height: 55%; background: var(--color-secondary); transform: rotate(4deg); }/*top-right*/
.feature-chip { display: inline-block; padding: 0.38rem 0.82rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 999px; margin-bottom: var(--space-sm); }
.chip-orange { background: rgba(255,140,60,0.16); color: #c05a1a; }
.chip-teal { background: rgba(45,212,191,0.2); color: #0b8e87; }
.chip-pink { background: rgba(217,70,239,0.15); color: #a020c0; }
.chip-yellow { background: rgba(253,224,71,0.3); color: #8a6d00; }
.chip-magenta { background: rgba(244,114,182,0.2); color: #b33076; }
.feature-text h3 { font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem); }
.feature-text ul { padding-left: 1.1rem; color: var(--color-text-muted); }
.feature-text ul li::marker { color: var(--color-secondary); }
/* Steps */
.steps { display: grid; grid-template-columns: 1fr; gap: var(--space-sm); }
.step { display: grid; grid-template-columns: 76px 1fr; gap: var(--space-md); align-items: start; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius); padding: calc(var(--space-md) - 0.1rem); transition: transform 0.22s ease, box-shadow 0.22s ease; }
.step:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.step-num { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-family: var(--font-heading); font-size: 1.65rem; color: white; background: var(--color-primary); font-weight: 600; font-variation-settings: 'opsz' 144; }
.steps .step:nth-child(1) .step-num { background: var(--color-accent); color: var(--color-primary); }
.steps .step:nth-child(2) .step-num { background: var(--color-secondary); }
.steps .step:nth-child(3) .step-num { background: var(--color-accent-2); color: var(--color-primary); }
.steps .step:nth-child(4) .step-num { background: var(--color-accent-3); color: var(--color-primary); }
.steps .step:nth-child(5) .step-num { background: var(--color-accent-4); }
.steps .step:nth-child(6) .step-num { background: var(--color-accent-5); }
.steps .step:nth-child(7) .step-num { background: var(--color-primary); color: var(--color-accent-3); }
.step h3 { margin: 0 0 0.3rem; }
.step p { margin: 0; color: var(--color-text-muted); }
.section--dark .step h1, .section--dark .step h2, .section--dark .step h3 { color: var(--color-accent-5); }
@media (max-width: 520px) { .step { grid-template-columns: 56px 1fr; gap: var(--space-sm); } .step-num { width: 52px; height: 52px; font-size: 1.35rem; border-radius: 14px; } }
/* CTA banner */
.cta-banner { background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-secondary) 55%, #7a2fc4 100%); color: white; padding: calc(var(--space-lg) + 0.5rem) var(--space-md); border-radius: calc(var(--radius) * 1.6); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-banner::before, .cta-banner::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; filter: blur(30px); opacity: 0.6; }
.cta-banner::before { top: -50px; left: -40px; width: 220px; height: 220px; background: var(--color-accent-3); }
.cta-banner::after { bottom: -60px; right: -50px; width: 260px; height: 260px; background: var(--color-accent-2); }
.cta-banner .section-eyebrow { color: rgba(255,255,255,0.9); }
.cta-banner h2 { color: white; max-width: 680px; margin-left: auto; margin-right: auto; }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto var(--space-md); font-size: 1.08rem; }
.cta-banner code { color: var(--color-accent-2); }
.cta-banner .btn-dark { background: var(--color-accent-5); }
.cta-banner .btn-dark:hover { background: var(--color-primary); }
/* Code block */
.code-block { background: #0e0f23; color: #e2e4ff; border-radius: var(--radius); padding: var(--space-md); font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 0.92rem; line-height: 1.65; overflow-x: auto; position: relative; border: 1px solid rgba(255,255,255,0.08); }
.code-block::before { content: ""; position: absolute; top: 16px; left: 18px; width: 11px; height: 11px; border-radius: 50%; background: #ff6058; box-shadow: 18px 0 0 #ffc02e, 36px 0 0 #29cd42; }
.code-block pre { margin: 28px 0 0; white-space: pre; font-family: inherit; color: inherit; }
.code-block .k { color: #c379f5; }
.code-block .s { color: #7ff5c3; }
.code-block .c { color: #7c819e; font-style: italic; }
.code-block .p { color: #ffa96b; }
/* Inline note */
.inline-note { display: flex; gap: 0.85rem; padding: 1rem 1.15rem; background: rgba(45,212,191,0.12); border-left: 4px solid var(--color-accent-2); border-radius: 10px; color: var(--color-text); font-size: 0.95rem; margin-top: var(--space-sm); }
.inline-note.warn { background: rgba(255,140,60,0.12); border-left-color: var(--color-accent); }
.inline-note.lock { background: rgba(26,27,58,0.06); border-left-color: var(--color-primary); }
.inline-note.win { background: rgba(253,224,71,0.22); border-left-color: var(--color-accent-3); }
.inline-note .inline-icon { font-size: 1.2rem; flex-shrink: 0; line-height: 1.2; }
/* Donate cards */
.donate-card { background: var(--color-bg); border-radius: var(--radius); padding: calc(var(--space-md) + 0.3rem); border: 1px solid var(--color-border); position: relative; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.donate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.donate-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; }
.donate-card.v1::before { background: linear-gradient(90deg, var(--color-accent), var(--color-secondary)); }
.donate-card.v2::before { background: linear-gradient(90deg, var(--color-accent-2), #0b8e87); }
.donate-card.v3::before { background: linear-gradient(90deg, var(--color-accent-3), var(--color-accent)); }
.donate-card h3 { margin-top: 0; font-size: 1.45rem; }
.donate-card .emoji { font-size: 2rem; margin-bottom: var(--space-sm); display: block; }
/* Footer */
.site-footer { background: var(--color-primary); color: var(--color-bg); padding: calc(var(--space-lg) + 0.5rem) 0 var(--space-md); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--color-accent), var(--color-secondary) 35%, var(--color-accent-4) 65%, var(--color-accent-2)); }
.site-footer a { color: inherit; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: var(--space-lg); padding-bottom: var(--space-md); border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-md); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; margin-bottom: var(--space-xs); color: var(--color-bg); text-decoration: none; }
.footer-brand .nav-logo { width: 38px; height: 38px; font-size: 1.2rem; }
.footer-tagline { color: rgba(253,251,245,0.68); max-width: 340px; margin: 0 0 var(--space-sm); font-size: 0.97rem; }
.footer-heading { font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-accent-3); margin: 0 0 var(--space-sm); font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-links a { color: rgba(253,251,245,0.78); font-size: 0.95rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--color-accent-3); }
.footer-bottom { padding-top: var(--space-md); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-sm); color: rgba(253,251,245,0.55); font-size: 0.9rem; }
.footer-socials { display: flex; gap: 0.5rem; }
.footer-socials a { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,0.08); transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; color: var(--color-bg); }
.footer-socials a:hover { background: var(--color-accent); color: var(--color-primary); transform: translateY(-2px); }
.footer-socials svg { width: 18px; height: 18px; }
/* Utility */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.center { text-align: center; }
.max-prose { max-width: 760px; }
/* Name play */
.name-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); }
@media (max-width: 860px) { .name-grid { grid-template-columns: 1fr 1fr; } }
.name-tile { background: var(--color-bg); border-radius: var(--radius); padding: var(--space-md); border 1px solid var(--color-border); }
.name-tile .lead { font-family: var(--font-heading); font-size: 2.3rem; color: var(--color-accent); display: block; margin-bottom: 0.3rem; font-weight: 500; font-style: italic; }
.name-tile:nth-child(2) .lead { color: var(--color-accent-2); }
.name-tile:nth-child(3) .lead { color: var(--color-secondary); }
.name-tile:nth-child(4) .lead { color: var(--color-accent-4); }
.name-tile p { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; }
/* Flourish */
.flourish { position: absolute; pointer-events: none; opacity: 0.55; z-index: 0; }
/* Guide step (large, detailed numbered steps used on the Get Key guide) */
.guide-step { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: calc(var(--radius) * 1.15); padding: calc(var(--space-md) + 0.3rem); margin-bottom: var(--space-md); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.guide-step:hover { box-shadow: var(--shadow); }
.guide-step:last-child { margin-bottom: 0; }
.guide-step-head { display: grid; grid-template-columns: 80px 1fr; gap: var(--space-md); align-items: start; margin-bottom: var(--space-sm); }
.guide-step-num { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; font-family: var(--font-heading); font-size: 2rem; color: var(--color-accent-3); background: var(--color-primary); font-weight: 600; font-variation-settings: 'opsz' 144; line-height: 1; }
/*.guide-step:nth-of-type(1) .guide-step-num { background: var(--color-accent); color: var(--color-primary); }
.guide-step:nth-of-type(2) .guide-step-num { background: var(--color-secondary); }
.guide-step:nth-of-type(3) .guide-step-num { background: var(--color-accent-4); }
.guide-step:nth-of-type(4) .guide-step-num { background: var(--color-accent-3); color: var(--color-primary); }
.guide-step:nth-of-type(5) .guide-step-num { background: var(--color-accent-2); color: var(--color-primary); }
.guide-step:nth-of-type(6) .guide-step-num { background: var(--color-accent-5); }
.guide-step:nth-of-type(7) .guide-step-num { background: var(--color-primary); color: var(--color-accent-3); }*/
.guide-step-head h2 { margin: 0.15rem 0 0.4rem; font-size: clamp(1.45rem, 1.6vw + 0.9rem, 2.05rem); }
.guide-step-head .section-eyebrow { margin-bottom: 0.2rem; }
.guide-step-head p { color: var(--color-text-muted); margin: 0; }
.guide-step h4 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; margin: var(--space-md) 0 var(--space-xs); color: var(--color-secondary); display: inline-flex; align-items: center; gap: 0.45rem; }
.guide-step h4::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; display: inline-block; }
.guide-step h4.why { color: var(--color-accent); }
.guide-step h4.how { color: #0b8e87; }
.guide-step h4.done { color: var(--color-accent-5); }
.guide-step ol, .guide-step ul { color: var(--color-text-muted); padding-left: 1.3rem; margin: 0 0 var(--space-sm); }
.guide-step ol li, .guide-step ul li { margin-bottom: 0.45rem; }
.guide-step ol li::marker, .guide-step ul li::marker { color: var(--color-secondary); font-weight: 600; }
.guide-step > p { color: var(--color-text-muted); }
.guide-step > p strong { color: var(--color-primary); }
@media (max-width: 520px) { .guide-step-head { grid-template-columns: 56px 1fr; gap: var(--space-sm); } .guide-step-num { width: 54px; height: 54px; font-size: 1.45rem; border-radius: 14px; } .guide-step-head h2 { font-size: 1.35rem; } }
/* Progress strip — pill row previewing a sequence of steps (used in hero on dark bg) */
.progress-strip { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: calc(var(--space-md) + 0.25rem); }
.progress-dot { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem 0.4rem 0.4rem; border-radius: 999px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18); color: rgba(253,251,245,0.88); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.01em; line-height: 1.2; }
.progress-dot .n { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--color-accent-3); color: var(--color-primary); font-family: var(--font-heading); font-weight: 700; font-size: 0.78rem; flex-shrink: 0; font-variation-settings: 'opsz' 9; }
/*.progress-dot:nth-child(1) .n { background: var(--color-accent); color: var(--color-primary); }
.progress-dot:nth-child(2) .n { background: var(--color-secondary); color: white; }
.progress-dot:nth-child(3) .n { background: var(--color-accent-4); color: white; }
.progress-dot:nth-child(4) .n { background: var(--color-accent-3); color: var(--color-primary); }
.progress-dot:nth-child(5) .n { background: var(--color-accent-2); color: var(--color-primary); }
.progress-dot:nth-child(6) .n { background: var(--color-accent-5); color: white; }
.progress-dot:nth-child(7) .n { background: var(--color-bg); color: var(--color-primary); }*/
/* Progress strip on light backgrounds (fallback if used outside hero) */
.section .progress-strip .progress-dot { background: rgba(26,27,58,0.04); border-color: var(--color-border); color: var(--color-text-muted); }
/* Tech flow — horizontal pipeline with arrow connectors (e.g. "The publish pipeline") */
.tech-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); margin-top: var(--space-md); }
.tech-flow .node { position: relative; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: calc(var(--radius) * 0.9); padding: calc(var(--space-sm) + 0.3rem) var(--space-sm) var(--space-sm); display: flex; flex-direction: column; gap: 0.4rem; transition: transform 0.22s ease, box-shadow 0.22s ease; }
.tech-flow .node:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tech-flow .node::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-top-left-radius: inherit; border-top-right-radius: inherit; }
.tech-flow .node:nth-of-type(1)::before { background: var(--color-accent); }
.tech-flow .node:nth-of-type(2)::before { background: var(--color-secondary); }
.tech-flow .node:nth-of-type(3)::before { background: var(--color-accent-2); }
.tech-flow .node:nth-of-type(4)::before { background: var(--color-accent-3); }
.tech-flow .node:nth-of-type(5)::before { background: var(--color-accent-4); }
.tech-flow .node strong { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; color: var(--color-primary); letter-spacing: -0.01em; line-height: 1.25; }
.tech-flow .node span { font-size: 0.92rem; color: var(--color-text-muted); line-height: 1.5; }
@media (max-width: 760px) {
.tech-flow { grid-template-columns: 1fr; gap: calc(var(--space-sm) + 0.6rem); }
}
/* Tech flow on dark sections */
.section--dark .tech-flow .node { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.section--dark .tech-flow .node strong { color: var(--color-bg); }
.section--dark .tech-flow .node span { color: rgba(253,251,245,0.72); }
.section--dark .tech-flow .node:not(:last-child)::after { color: var(--color-accent-3); }
</style>
<link rel="icon" type="image/png" href="./assets/favicon.png">
<link rel="apple-touch-icon" href="./assets/favicon.png">
<meta name="keywords" content="git qi, advanced, self-hosting, local-first, open source, gitqi internals">
</head>
<body style="">
<nav class="site-nav" style="">
<div class="nav-inner">
<a href="./index.html" class="nav-brand">
<span class="nav-logo" aria-hidden="true"><img src="assets/qi-icon.svg" alt=""></span>
<span>GitQi</span>
</a>
<button class="nav-toggle" aria-label="Toggle menu" aria-expanded="false">
<span></span><span></span><span></span>
</button>
<ul class="nav-menu">
<li style="position: relative;"><a href="./index.html">Home</a></li>
<li style="position: relative;"><a href="javascript:void(0)" data-gqe="Om90bGlhbQ==">About</a></li>
<li style="position: relative;"><a href="./get-key.html">Get Key</a></li>
<li style="position: relative;"><a href="./git-qi.html" class="active">Git Qi</a></li>
<li style="position: relative;"><a href="./features.html">Features</a></li>
<li style="position: relative;"><a href="./donate.html">Donate</a></li>
</ul>
</div>
<script>
(function () {
const nav = document.currentScript.closest("nav");
nav.addEventListener("click", function (e) {
const btn = e.target.closest(".nav-toggle");
if (btn) {
const open = nav.classList.toggle("is-open");
btn.setAttribute("aria-expanded", open ? "true" : "false");
} else if (e.target.closest(".nav-menu a")) {
nav.classList.remove("is-open");
const t = nav.querySelector(".nav-toggle");
if (t) t.setAttribute("aria-expanded", "false");
}
});
})();
</script>
</nav>
<section class="hero hero--page" data-zone="hero" data-zone-label="Hero" id="hero" style="">
<div class="container hero-inner">
<div class="hero-split">
<div>
<span class="hero-badge" data-editable=""><span class="dot"></span>The Git Qi path · 气</span>
<h1 data-editable="">
You've got the
<span style="color: var(--color-accent)">key</span>. <br>Now for the <span class="accent-word teal">Qi</span>.
</h1>
<p class="hero-subtitle" data-editable="">
This is the advanced path. You've used GitQi and you want to know
how it works, why it's built the way it is, and how to extend it.
The source is yours to read.
</p>
<div class="hero-actions">
<a href="https://github.com/swill/gitqi/" class="btn btn-primary" data-editable="" target="_blank" rel="noopener noreferrer">View source on GitHub <span class="arrow">→</span></a>
<a href="https://github.com/swill/gitqi/blob/main/README.md" class="btn btn-ghost on-dark" data-editable="" target="_blank" rel="noopener noreferrer">Read the README</a>
</div>
</div>
<div class="hero-media hero-media--small">
<div class="hero-media-frame">
<img src="./assets/close-up-colorful-bulls-face-black-background_1034058-106212.jpg" data-editable-image="" alt="A colorful illustration representing the GitQi project" style="cursor: pointer">
</div>
</div>
</div>
</div>
</section>
<section class="section section--dark" data-zone="philosophy" data-zone-label="Philosophy" id="philosophy" style="">
<div class="container">
<div class="section-head center">
<span class="section-eyebrow" data-editable="">The philosophy</span>
<h2 data-editable="">
Local-first is not a
<span class="accent-word yellow">feature</span>. <br>It's a
<span class="accent-word teal">design</span> choice.
</h2>
</div>
<div class="manifesto">
<p data-editable="">
<span class="drop">Most</span> website tools rent you an experience.
GitQi gives you back control. If you decide to leave, take your HTML
with you.
</p>
<p data-editable="">
Your HTML is the database. Your Git repo is the history. Your
browser is the editor. No servers. No paid services. Total freedom.
</p>
<p data-editable="">
Git is infrastructure, not the interface. The
<em>interface</em> is the page itself — click, edit, style, all from
the browser. Git disappears once setup.
</p>
<p data-editable="">
You should have the
<span style="color: var(--color-accent-3)"><span style="color: var(--color-accent-2)">Right to Repair</span></span>
your website. Own it completely. Move it anywhere. Read every line.
Fork it without asking.
</p>
</div>
</div>
</section>
<section class="section" data-zone="how-it-works" data-zone-label="How It Works" id="how-it-works" style="">
<div class="container">
<div class="section-head">
<span class="section-eyebrow" data-editable="">How GitQi works</span>
<h2 data-editable="">
One file. Two modes.
<span class="accent-word magenta">Zero magic.</span>
</h2>
<p class="section-lead" data-editable="">
GitQi is a single JavaScript file that activates only when
<code>secrets.js</code> is present beside your HTML. In public mode,
it doesn't exist — it's been stripped. Nothing to serve, nothing to
load.
</p>
</div>
<div class="grid-2">
<div class="card">
<div class="card-icon teal">✎</div>
<h3 data-editable="">Edit mode vs public mode</h3>
<p data-editable="">
Edit mode activates only when
<code>secrets.js</code> is detected — meaning only on your
machine. Public mode is the default: the published HTML contains
no editor code and no credentials. Your visitors see a static
page; you see a toolbar.
</p>
</div>
<div class="card">
<div class="card-icon accent">🏷</div>
<h3 data-editable="">The attribute system</h3>
<p data-editable="">
Editable regions are marked with
<code>data-zone</code> (whole sections),
<code>data-editable</code> (text), <code>data-editable-image</code>
(images),
and <code>data-editable-video</code> (YouTube).
The HTML <em>is</em> the schema — there's no separate config.
</p>
</div>
<div class="card">
<div class="card-icon pink">🔁</div>
<h3 data-editable="">Multi-page sync</h3>
<p data-editable="">
A tiny manifest called
<code>gitqi-pages.json</code> lists every page in your site. When
you add a page, rename a nav link, or restyle the nav or footer.
GitQi propagates the change to every other page on save.
</p>
</div>
<div class="card">
<div class="card-icon yellow">🪟</div>
<h3 data-editable="">File System Access API</h3>
<p data-editable="">
GitQi writes your edits directly to your local folder using the
browser's File System Access API.
<em><strong>A Chromium-based browser is required for editing</strong></em>
— Safari and Firefox don't support it.
<strong><em>The published site works everywhere.</em></strong>
</p>
</div>
</div>
<h3 class="mt-lg" data-editable="">The publish pipeline</h3>
<p data-editable="">
When you click <em>Publish</em>, GitQi serializes the current DOM,
strips the editor code and <code>secrets.js</code>, then pushes the
result via the GitHub Contents API. GitHub Pages does the rest.
</p>
<div class="tech-flow" aria-label="Publish pipeline">
<div class="node">
<strong data-editable="">1. Serialize</strong><span data-editable="">Snapshot the live DOM.</span>
</div>
<div class="node">
<strong data-editable="">2. Strip</strong><span data-editable="">Remove editor & credentials.</span>
</div>
<div class="node">
<strong data-editable="">3. Push</strong><span data-editable="">GitHub Contents API.</span>
</div>
<div class="node">
<strong data-editable="">4. Serve</strong><span data-editable="">GitHub Pages deploy.</span>
</div>
</div>
</div>
</section>
<section class="section section--teal" data-zone="self-hosting" data-zone-label="Self-Hosting" id="self-hosting" style="">
<div class="container">
<div class="section-head">
<span class="section-eyebrow" data-editable="">Self-hosting</span>
<h2 data-editable="">
Pin your own
<span class="accent-word magenta">gitqi.js</span>.
</h2>
<p class="section-lead" data-editable="">
Loading <code>gitqi.js</code> from
<code>swill.github.io/gitqi</code> is the easiest default, but it's
not the only option. Fork, version-pin, and self-host — you own the
whole stack.
</p>
</div>
<div class="grid-2">
<div>
<h3 data-editable="">Fork & host on your own Pages</h3>
<ul>
<li data-editable="">Fork <code>swill/gitqi</code>.</li>
<li data-editable="">Enable GitHub Pages on your fork.</li>
<li data-editable="">
Point your HTML at
<code>https://your-user.github.io/gitqi/gitqi.js</code>.
</li>
</ul>
<h3 class="mt-md" data-editable="">Pin a specific version</h3>
<p data-editable="">
Each release publishes a versioned copy —
<code>gitqi-1.2.0.js</code> alongside the
evolving <code>gitqi.js</code>. Pin for stability; upgrade on
your own schedule.
</p>
<div class="inline-note lock">
<span class="inline-icon">🔒</span>
<span data-editable="">Pinning protects you from upstream changes. The version you pin
is the version you run, until you move it.</span>
</div>
</div>
<div>
<h3 data-editable="">Release workflow</h3>
<p data-editable="">
Cutting a release is a single make target. Versioned file is
written, <code>VERSION</code> is bumped, a git tag is pushed:
</p>
<div class="code-block">
<pre><span class="k">make</span> release VERSION=<span class="s">1.2.0</span>
<span class="c"># writes gitqi-1.2.0.js
# updates VERSION
# tags v1.2.0
# pushes to origin</span></pre>
</div>
<p class="mt-md" data-editable="">
The evolving <code>gitqi.js</code> always mirrors the newest
release. If you don't pin, you get the latest.
</p>
</div>
</div>
</div>
</section>
<section class="section" data-zone="contributing" data-zone-label="Contributing" id="contributing" style="">
<div class="container">
<div class="section-head">
<span class="section-eyebrow" data-editable="">Contributing</span>
<h2 data-editable="">
The <span class="accent-word">source</span> is yours to read — and
to shape.
</h2>
<p class="section-lead" data-editable="">
GitQi is a single, annotated vanilla JavaScript file. No build step.
No dependencies. What you read is what ships. Since it doesn't ship
with the published site, we don't need to minify or compress.
Inline comments make the code readable.
</p>
</div>
<div class="grid-3">
<div class="card">
<div class="card-icon accent">🐞</div>
<h3 data-editable="">Bug fixes</h3>
<p data-editable="">
Reproduce locally against the single-file source, write the fix in
plain JS, open a PR. Every line should earn its place.
</p>
</div>
<div class="card">
<div class="card-icon teal">✨</div>
<h3 data-editable="">New features</h3>
<p data-editable="">
Open an issue first with the user story. Small, focused changes
that preserve the zero-dependency design requirements.
</p>
</div>
<div class="card">
<div class="card-icon pink">📚</div>
<h3 data-editable="">Documentation</h3>
<p data-editable="">
The README is canonical. Corrections, clarifications, and better
examples are always welcome — especially from Get Key users who
got stuck.
</p>
</div>
</div>
<div class="center mt-lg">
<a href="https://github.com/swill/gitqi/issues" class="btn btn-dark" data-editable="" target="_blank" rel="noopener noreferrer">Open an issue on GitHub <span class="arrow">→</span></a>
</div>
</div>
</section>
<section class="section section--pink" data-zone="bootstrap-system" data-zone-label="Bootstrap Prompt" id="bootstrap-system" style="">
<div class="container">
<div class="section-head">
<span class="section-eyebrow" data-editable="">The bootstrap prompt as a system</span>
<h2 data-editable="">
Your site isn't generated from a template. It's generated from
<span class="accent-word magenta">you</span>.
</h2>
<p class="section-lead" data-editable="">
The bootstrap prompt is a structured brief: vibe, sections, tone, a
few inspiration images. You paste it into Claude, attach the images,
and get back a complete
<code>index.html</code> with <code>data-zone</code> attributes in
the right places — ready to edit in GitQi on first open.
</p>
</div>
<div class="grid-2">
<div>
<h3 data-editable="">How the prompt shapes the output</h3>
<ul>
<li data-editable="">
<strong>Inspiration images</strong> drive color, typography, and
mood.
</li>
<li data-editable="">
<strong>Section list</strong> drives structure and flow.
</li>
<li data-editable="">
<strong>Vibe words</strong> drive motion, spacing, and
embellishment.
</li>
<li data-editable="">
<strong>Business details</strong> drive copy voice and CTAs.
</li>
</ul>
<h3 class="mt-md" data-editable="">Tips for better output</h3>
<ul>
<li data-editable="">
Use <em>specific</em> vibe words. "Warm, handcrafted,
terracotta" beats "nice".
</li>
<li data-editable="">
Attach more reference images, not fewer. 4–5 is a sweet spot.
</li>
<li data-editable="">
List sections explicitly, in order. Say
<em>no</em> to what you don't want.
</li>
<li data-editable="">
Don't sweat the copy — you'll rewrite every word on the page.
</li>
</ul>
</div>
<div>
<h3 data-editable="">Going further with Claude Code</h3>
<p data-editable="">
Claude.ai with a free account is enough for most people to
bootstrap a site. If you're comfortable paying for tooling,
<a href="https://claude.com/claude-code" target="_blank" rel="noopener noreferrer">Claude Code</a>
gives you improved models inside a terminal with file-system
access — ideal for larger refactors, multi-page regeneration, or
automating updates across a whole site.
</p>
<div class="inline-note">
<span class="inline-icon">💡</span>
<span data-editable="">If you use Claude Code, tell it about
<code>github.com/swill/gitqi</code><br>It needs to know about
the editor and things like
<em>"changes to the CSS styles need to be synced across all
pages"</em>.</span>
</div>
<h3 class="mt-md" data-editable="">The prompt file itself</h3>
<p data-editable="">
The
<a href="https://github.com/swill/gitqi/blob/main/BOOTSTRAP_PROMPT.md" target="_blank" rel="noopener noreferrer">bootstrap prompt</a>
lives in the repo as a markdown file. It's versioned, diffable,
and forkable. Swap it for your own house-style prompt if you want
every new site to feel familiar.
</p>
<div class="hero-actions">
<a href="https://github.com/swill/gitqi/blob/main/BOOTSTRAP_PROMPT.md" class="btn btn-ghost" data-editable="" target="_blank" rel="noopener noreferrer">Open the bootstrap prompt <span class="arrow">→</span></a>
</div>
</div>
</div>
</div>
</section>
<section class="section section--alt" data-zone="cta" data-zone-label="CTA" id="cta" style="">
<div class="container">
<div class="cta-banner">
<span class="section-eyebrow" data-editable="">Own the stack</span>
<h2 data-editable="">
Read it. Fork it.
<span class="accent-word yellow">Make it yours.</span>
</h2>
<p data-editable="">
Everything GitQi does lives in one annotated file. No build step. No
dependencies. The plumbing is Git; the interface is the page.
</p>
<div class="cta-actions">
<a href="https://github.com/swill/gitqi/" class="btn btn-dark" data-editable="" target="_blank" rel="noopener noreferrer">View source on GitHub <span class="arrow">→</span></a>
<a href="https://github.com/swill/gitqi/blob/main/README.md" class="btn btn-ghost on-dark" data-editable="" target="_blank" rel="noopener noreferrer">Read the README</a>
</div>
</div>
</div>
</section>
<footer class="site-footer" data-zone="footer" data-zone-label="Footer" id="footer">
<div class="container">
<div class="footer-top">
<div>
<a href="./index.html" class="footer-brand">
<span class="nav-logo" aria-hidden="true" style="position: relative"><img src="assets/qi-icon.svg" alt="" style="cursor: pointer"></span>
<span>GitQi</span>
</a>
<p class="footer-tagline" data-editable="">
A zero-dependency, AI-enabled inline editor for static websites.
Free, open source, and delightfully opinionated.
</p>
<div class="footer-socials">
<a href="https://github.com/swill/gitqi/" aria-label="GitHub repository" data-editable="" target="_blank" rel="noopener noreferrer">
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56v-2c-3.2.7-3.87-1.36-3.87-1.36-.52-1.33-1.27-1.68-1.27-1.68-1.04-.71.08-.7.08-.7 1.15.08 1.76 1.18 1.76 1.18 1.02 1.75 2.68 1.24 3.33.95.1-.74.4-1.24.72-1.53-2.55-.29-5.24-1.28-5.24-5.7 0-1.26.45-2.28 1.18-3.09-.12-.29-.51-1.46.11-3.04 0 0 .97-.31 3.17 1.18a11 11 0 0 1 5.78 0c2.2-1.49 3.17-1.18 3.17-1.18.62 1.58.23 2.75.11 3.04.73.81 1.18 1.83 1.18 3.09 0 4.43-2.7 5.4-5.26 5.69.41.35.78 1.05.78 2.12v3.14c0 .31.21.68.8.56C20.21 21.38 23.5 17.08 23.5 12 23.5 5.65 18.35.5 12 .5z"></path>
</svg>
</a>
<a href="https://github.com/swill" aria-label="Author on GitHub" data-editable="" target="_blank" rel="noopener noreferrer">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="8" r="4"></circle>
<path d="M20 21a8 8 0 0 0-16 0"></path>
</svg>
</a>
</div>
</div>
<div>
<p class="footer-heading" data-editable="">Explore</p>
<ul class="footer-links">
<li>
<a href="./about.html" data-editable="">About the project</a>
</li>
<li>
<a href="./get-key.html" data-editable="">Get Key guide</a>
</li>
<li>
<a href="./git-qi.html" data-editable="">Git Qi (advanced)</a>
</li>
<li>
<a href="./features.html" data-editable="">Features & editing</a>
</li>
<li>
<a href="./donate.html" data-editable="">Donate</a>
</li>
</ul>
</div>
<div>
<p class="footer-heading" data-editable="">Resources</p>
<ul class="footer-links">
<li>
<a href="https://github.com/swill/gitqi/" data-editable="" target="_blank" rel="noopener noreferrer">Source on GitHub</a>
</li>
<li>
<a href="https://github.com/swill/gitqi/blob/main/README.md" data-editable="" target="_blank" rel="noopener noreferrer">Documentation (README)</a>
</li>
<li>
<a href="https://aistudio.google.com" data-editable="" target="_blank" rel="noopener noreferrer">Free Gemini API key</a>
</li>
<li>
<a href="https://pages.github.com/" data-editable="" target="_blank" rel="noopener noreferrer">GitHub Pages</a>
</li>
</ul>
</div>
</div>
<div class="footer-bottom">
<span data-editable="">© 2026 GitQi · Crafted with care by
<a href="https://github.com/swill" target="_blank" rel="noopener noreferrer">@swill</a>
· MIT licensed · Forever free.</span>
</div>
</div>
</footer>
<script data-gqe-decoder="">(function(){var d=function(s){try{return decodeURIComponent(escape(atob(s))).split('').reverse().join('')}catch(e){return ''}};document.querySelectorAll('a[data-gqe]').forEach(function(a){a.setAttribute('href',d(a.getAttribute('data-gqe')));a.removeAttribute('data-gqe')});document.querySelectorAll('[data-gqt]').forEach(function(s){s.textContent=d(s.getAttribute('data-gqt'));s.removeAttribute('data-gqt')});})();</script></body></html>