-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.zh.html
More file actions
989 lines (944 loc) · 33.3 KB
/
Copy pathindex.zh.html
File metadata and controls
989 lines (944 loc) · 33.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Evolver CLI 工具 — 32 个零依赖 Python CLI 工具,为开发者打造</title>
<meta name="description" content="32 个零依赖 Python CLI 工具。一次 pip install 安装。搜索、过滤、编码、监控、分析等开发者常用工具一应俱全。">
<meta property="og:description" content="32 个零依赖 Python CLI 工具。pip install evolver-tools。">
<meta property="og:type" content="website">
<style>
:root {
--bg: #0b0e14;
--bg2: #111620;
--bg3: #18202e;
--bg4: #1e2a3d;
--border: #2a3550;
--text: #e4e8ef;
--text2: #929cb3;
--text3: #5a657d;
--accent: #7eb8ff;
--accent2: #5094e8;
--green: #4cda7a;
--green-dim: #2d8f4e;
--yellow: #e8c14a;
--orange: #f09a4a;
--orange-dim: #b06a2a;
--purple: #b48aff;
--red: #f05a5a;
--pink: #f77ab8;
--teal: #5ad4c4;
--radius: 10px;
--radius-sm: 6px;
--shadow: 0 2px 12px rgba(0,0,0,.35);
--transition: .2s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.6;
min-height: 100vh;
}
/* Navigation */
nav {
position: sticky;
top: 0;
z-index: 100;
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
background: rgba(11, 14, 20, .82);
border-bottom: 1px solid var(--border);
padding: 0 24px;
height: 56px;
display: flex;
align-items: center;
justify-content: space-between;
}
nav .logo {
font-weight: 700;
font-size: 18px;
display: flex;
align-items: center;
gap: 8px;
color: var(--text);
text-decoration: none;
}
nav .logo span { color: var(--accent); }
nav .nav-links { display: flex; gap: 8px; }
nav .nav-links a {
color: var(--text2);
text-decoration: none;
font-size: 14px;
padding: 6px 14px;
border-radius: var(--radius-sm);
transition: var(--transition);
}
nav .nav-links a:hover { color: var(--text); background: var(--bg3); }
/* Hero */
.hero {
text-align: center;
padding: 80px 24px 60px;
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: -50%;
left: 50%;
transform: translateX(-50%);
width: 800px;
height: 800px;
background: radial-gradient(circle, rgba(126, 184, 255, .06) 0%, transparent 60%);
pointer-events: none;
}
.hero h1 {
font-size: 48px;
font-weight: 800;
letter-spacing: -1px;
margin-bottom: 16px;
position: relative;
}
.hero h1 span { color: var(--accent); }
.hero .subtitle {
font-size: 18px;
color: var(--text2);
max-width: 620px;
margin: 0 auto 12px;
position: relative;
}
.hero .subtitle2 {
font-size: 15px;
color: var(--text3);
max-width: 500px;
margin: 0 auto 32px;
position: relative;
}
/* Code snippet hero */
.hero-command-wrapper {
display: flex;
justify-content: center;
margin-bottom: 20px;
position: relative;
}
.code-block {
display: inline-flex;
align-items: center;
gap: 12px;
background: var(--bg3);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 12px 24px;
font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
font-size: 15px;
color: var(--green);
position: relative;
cursor: pointer;
transition: var(--transition);
}
.code-block:hover { border-color: var(--accent2); box-shadow: 0 0 0 2px rgba(80,148,232,.12); }
.code-block .copy-btn {
background: var(--bg4);
border: none;
color: var(--text2);
padding: 5px 12px;
border-radius: 4px;
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
}
.code-block .copy-btn:hover { background: var(--accent2); color: #fff; }
.hero-actions {
display: flex;
gap: 12px;
justify-content: center;
flex-wrap: wrap;
position: relative;
}
.btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 13px 32px;
border-radius: var(--radius);
font-size: 15px;
font-weight: 600;
text-decoration: none;
transition: var(--transition);
cursor: pointer;
border: none;
}
.btn-primary {
background: var(--accent2);
color: #fff;
}
.btn-primary:hover { background: #4088d8; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(80, 148, 232, .3); }
.btn-secondary {
background: var(--bg3);
color: var(--text);
border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg4); border-color: var(--text3); }
.btn-ghost {
background: transparent;
color: var(--text2);
border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg3); color: var(--text); }
.btn-glow {
background: linear-gradient(135deg, var(--accent2), var(--purple));
color: #fff;
}
.btn-glow:hover { transform: translateY(-1px); box-shadow: 0 4px 24px rgba(126, 184, 255, .25); }
/* Stats strip */
.stats-strip {
display: flex;
justify-content: center;
gap: 56px;
padding: 36px 24px;
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
background: var(--bg2);
flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item .number {
font-size: 32px;
font-weight: 800;
color: var(--accent);
display: block;
}
.stat-item .label {
font-size: 13px;
color: var(--text2);
margin-top: 4px;
text-transform: uppercase;
letter-spacing: .5px;
}
/* Features section */
.features {
padding: 72px 24px;
max-width: 1100px;
margin: 0 auto;
}
.features h2 {
text-align: center;
font-size: 30px;
margin-bottom: 12px;
}
.features .section-subtitle {
text-align: center;
color: var(--text2);
margin-bottom: 48px;
font-size: 16px;
}
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
}
.feature-card {
background: var(--bg2);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 28px;
transition: var(--transition);
}
.feature-card:hover { border-color: var(--accent2); transform: translateY(-2px); box-shadow: var(--shadow); }
.feature-card .icon { font-size: 28px; margin-bottom: 12px; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }
/* Testimonials */
.testimonials {
padding: 72px 24px;
background: var(--bg2);
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
}
.testimonials h2 {
text-align: center;
font-size: 30px;
margin-bottom: 48px;
}
.testimonial-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
max-width: 1000px;
margin: 0 auto;
}
.testimonial-card {
background: var(--bg);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 28px;
transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--accent2); }
.testimonial-card .quote {
color: var(--text2);
font-size: 14px;
line-height: 1.7;
font-style: italic;
margin-bottom: 16px;
}
.testimonial-card .author {
display: flex;
align-items: center;
gap: 10px;
}
.testimonial-card .author-avatar {
width: 36px;
height: 36px;
border-radius: 50%;
background: var(--bg3);
border: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
flex-shrink: 0;
}
.testimonial-card .author-name { font-size: 14px; font-weight: 600; }
.testimonial-card .author-handle { font-size: 12px; color: var(--text3); }
/* Tools section */
.tools-section {
max-width: 1200px;
margin: 0 auto;
padding: 48px 24px 80px;
}
.tools-section h2 {
text-align: center;
font-size: 30px;
margin-bottom: 8px;
}
.tools-section .subtitle {
text-align: center;
color: var(--text2);
margin-bottom: 12px;
font-size: 16px;
}
/* Category tabs */
.category-bar {
display: flex;
gap: 8px;
justify-content: center;
flex-wrap: wrap;
margin-bottom: 28px;
}
.category-btn {
padding: 8px 20px;
border-radius: 20px;
font-size: 13px;
font-weight: 500;
border: 1px solid var(--border);
background: transparent;
color: var(--text2);
cursor: pointer;
transition: var(--transition);
display: flex;
align-items: center;
gap: 6px;
}
.category-btn:hover { border-color: var(--text3); color: var(--text); }
.category-btn.active {
background: var(--accent2);
border-color: var(--accent2);
color: #fff;
}
.category-count {
font-size: 11px;
opacity: .7;
}
/* Filter bar */
.filter-bar {
display: flex;
gap: 12px;
margin-bottom: 8px;
flex-wrap: wrap;
align-items: center;
}
.filter-bar input[type="text"] {
flex: 1;
min-width: 200px;
background: var(--bg2);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 10px 16px;
color: var(--text);
font-size: 14px;
outline: none;
transition: var(--transition);
}
.filter-bar input[type="text"]:focus { border-color: var(--accent2); box-shadow: 0 0 0 3px rgba(80, 148, 232, .15); }
.filter-bar input[type="text"]::placeholder { color: var(--text3); }
.result-count {
font-size: 13px;
color: var(--text3);
white-space: nowrap;
}
/* Tool cards grid */
.tool-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
gap: 16px;
}
.tool-card {
background: var(--bg2);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 20px 24px;
transition: var(--transition);
animation: fadeIn .3s ease;
}
.tool-card:hover { border-color: var(--accent2); transform: translateY(-2px); box-shadow: var(--shadow); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.tool-card .tool-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 8px;
}
.tool-card .tool-name {
font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
font-size: 16px;
font-weight: 700;
color: var(--accent);
}
.tool-card .tool-desc {
font-size: 14px;
color: var(--text2);
margin-bottom: 12px;
line-height: 1.6;
}
.tool-card .tool-tags {
display: flex;
gap: 6px;
flex-wrap: wrap;
}
.tool-card .tool-tag {
font-size: 12px;
padding: 2px 10px;
border-radius: 12px;
background: var(--bg3);
color: var(--text2);
border: 1px solid var(--border);
}
.tool-card .tool-tag.zero-dep {
background: rgba(76, 218, 122, .08);
border-color: var(--green-dim);
color: var(--green);
}
.tool-card .tool-install {
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid var(--border);
font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
font-size: 12px;
color: var(--text3);
display: flex;
align-items: center;
gap: 8px;
}
.tool-card .tool-install code {
background: var(--bg3);
padding: 2px 8px;
border-radius: 4px;
color: var(--teal);
font-size: 12px;
}
/* CTA section */
.cta-section {
background: linear-gradient(135deg, var(--bg2) 0%, var(--bg) 100%);
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
padding: 72px 24px;
text-align: center;
}
.cta-section h2 { font-size: 32px; margin-bottom: 12px; }
.cta-section .subtitle { color: var(--text2); font-size: 16px; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-card {
max-width: 560px;
margin: 0 auto;
background: var(--bg);
border: 1px solid var(--border);
border-radius: 12px;
padding: 36px;
text-align: left;
}
.cta-card .cmd {
background: var(--bg3);
border-radius: var(--radius-sm);
padding: 14px 20px;
font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
font-size: 15px;
color: var(--green);
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
border: 1px solid var(--border);
}
.cta-card .cmd .copy-btn {
background: var(--bg4);
border: none;
color: var(--text2);
padding: 6px 14px;
border-radius: 4px;
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
}
.cta-card .cmd .copy-btn:hover { background: var(--accent2); color: #fff; }
.cta-features {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
margin-top: 16px;
}
.cta-feature {
font-size: 13px;
color: var(--text2);
display: flex;
align-items: center;
gap: 6px;
}
.cta-feature .check { color: var(--green); }
/* Install section */
.install-section {
background: var(--bg2);
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
padding: 64px 24px;
text-align: center;
}
.install-section h2 { font-size: 28px; margin-bottom: 12px; }
.install-section .subtitle { color: var(--text2); margin-bottom: 36px; }
.install-options {
display: flex;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
max-width: 900px;
margin: 0 auto;
}
.install-option {
flex: 1;
min-width: 280px;
max-width: 420px;
background: var(--bg);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 28px;
text-align: left;
}
.install-option h3 { font-size: 16px; margin-bottom: 6px; }
.install-option .desc { font-size: 13px; color: var(--text2); margin-bottom: 16px; }
.install-option .cmd {
background: var(--bg3);
border-radius: var(--radius-sm);
padding: 12px 16px;
font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
font-size: 13px;
color: var(--green);
display: flex;
align-items: center;
justify-content: space-between;
}
.install-option .cmd .copy {
background: var(--bg4);
border: none;
color: var(--text2);
padding: 4px 8px;
border-radius: 4px;
font-size: 11px;
cursor: pointer;
transition: var(--transition);
}
.install-option .cmd .copy:hover { background: var(--accent2); color: #fff; }
.install-option .badge {
display: inline-block;
font-size: 11px;
font-weight: 600;
padding: 2px 8px;
border-radius: 4px;
margin-bottom: 8px;
}
.badge-recommended { background: rgba(76, 218, 122, .15); color: var(--green); }
.badge-single { background: rgba(126, 184, 255, .12); color: var(--accent); }
/* Footer */
footer {
padding: 40px 24px;
text-align: center;
color: var(--text3);
font-size: 13px;
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .footer-links { margin-top: 8px; display: flex; gap: 16px; justify-content: center; font-size: 12px; }
/* Responsive */
@media (max-width: 640px) {
.hero h1 { font-size: 30px; }
.stats-strip { gap: 24px; }
.stat-item .number { font-size: 24px; }
.tool-grid { grid-template-columns: 1fr; }
nav .nav-links { display: none; }
.cta-features { grid-template-columns: 1fr; }
.hero .subtitle { font-size: 16px; }
}
</style>
</head>
<body>
<!-- Navigation -->
<nav>
<a href="#" class="logo">⚡ <span>Evolver</span> CLI</a>
<div class="nav-links">
<a href="#features">功能</a>
<a href="#tools">工具</a>
<a href="#install">安装</a>
</div>
</nav>
<div style="position:absolute;top:16px;right:16px;display:flex;gap:4px;z-index:100">
<a href="index.html" style="padding:4px 10px;border-radius:4px;background:#18202e;color:#8b949e;font-size:12px;text-decoration:none;border:1px solid #2a3550">EN</a>
<a href="index.zh.html" style="padding:4px 10px;border-radius:4px;background:#1e2a3d;color:#e6edf3;font-size:12px;text-decoration:none;border:1px solid #2a3550">中文</a>
</div>
<!-- Hero -->
<section class="hero">
<h1>⚡ <span>32</span> 个 CLI 工具,<span>零</span>依赖</h1>
<p class="subtitle">解决开发者每日痛点。纯 Python CLI — 只需 <code>pip install</code>。</p>
<p class="subtitle2">系统监控 · JSON 查询 · CSV 分析 · 文件管理 · 安全 · 更多</p>
<div class="hero-command-wrapper">
<div class="code-block" onclick="copyCmd(this, 'pip install evolver-tools')">
<span>$ pip install evolver-tools</span>
<button class="copy-btn" onclick="event.stopPropagation(); copyCmd(this.closest('.code-block'), 'pip install evolver-tools')">复制</button>
</div>
</div>
<div class="hero-actions">
<a href="#tools" class="btn btn-primary">浏览全部工具 →</a>
<a href="https://github.com/evolver-dev/evolver-tools" class="btn btn-secondary" target="_blank">GitHub</a>
<a href="#testimonials" class="btn btn-ghost">用户心声</a>
</div>
</section>
<!-- Stats Strip -->
<div class="stats-strip">
<div class="stat-item">
<span class="number">32</span>
<span class="label">工具</span>
</div>
<div class="stat-item">
<span class="number">31/32</span>
<span class="label">零依赖</span>
</div>
<div class="stat-item">
<span class="number">5</span>
<span class="label">类别</span>
</div>
<div class="stat-item">
<span class="number">95 KB</span>
<span class="label">元包大小</span>
</div>
<div class="stat-item">
<span class="number">Python 3.8+</span>
<span class="label">随处可用</span>
</div>
</div>
<!-- Features -->
<section id="features" class="features">
<h2>为什么选择 Evolver CLI?</h2>
<p class="section-subtitle">由开发者打造,为开发者而生。没有冗余,绝不妥协。</p>
<div class="feature-grid">
<div class="feature-card">
<div class="icon">📦</div>
<h3>零外部依赖</h3>
<p>32 个工具中 31 个仅使用 Python 标准库。无 pip 冲突,无虚拟环境烦恼。<code>pip install</code> 即可使用。</p>
</div>
<div class="feature-card">
<div class="icon">⚡</div>
<h3>一个命令掌控全局</h3>
<p><code>pip install evolver-tools</code> 一次性安装全部 32 个工具。使用 <code>evtool <name></code> 即可立即运行任意工具。</p>
</div>
<div class="feature-card">
<div class="icon">🔍</div>
<h3>即时搜索与过滤</h3>
<p>32 个工具,零摩擦。实时搜索 + 分类筛选 — 几秒钟内找到所需工具,无需等待。</p>
</div>
<div class="feature-card">
<div class="icon">🛠️</div>
<h3>覆盖 80% 日常需求</h3>
<p>开发工具、运维工具、数据处理、安全工具、效率工具 — 工作日常所需,一应俱全。</p>
</div>
<div class="feature-card">
<div class="icon">🐍</div>
<h3>Python ≥3.8,处处可用</h3>
<p>Linux、macOS、WSL — 任何支持 Python 的平台均可运行。无需编译器,无需构建工具,无需烦恼。</p>
</div>
<div class="feature-card">
<div class="icon">🎯</div>
<h3>即插即用替代方案</h3>
<p>用 <code>treedir</code> 替代 <code>tree</code>,用 <code>wordcount</code> 替代 <code>wc</code>,用 <code>jq-lite</code> 替代 <code>jq</code>。更快、更轻、零依赖。</p>
</div>
</div>
</section>
<!-- Testimonials -->
<section id="testimonials" class="testimonials">
<h2>💬 开发者怎么说</h2>
<div class="testimonial-grid">
<div class="testimonial-card">
<div class="quote">"sysmon 一个工具就值得安装。无需安装任何重量级软件,即可在终端中实时查看 CPU/内存/磁盘信息,非常适合快速检查服务器。"</div>
<div class="author">
<div class="author-avatar">🧑💻</div>
<div>
<div class="author-name">张明</div>
<div class="author-handle">SRE @ CloudScale</div>
</div>
</div>
</div>
<div class="testimonial-card">
<div class="quote">"我用 evolver 对应的工具替换了 jq、tree、wc 和 base64。减少了 4 个 brew 包,功能不变,占用更小。零依赖策略太棒了。"</div>
<div class="author">
<div class="author-avatar">👩💻</div>
<div>
<div class="author-name">李华</div>
<div class="author-handle">后端工程师</div>
</div>
</div>
</div>
<div class="testimonial-card">
<div class="quote">"元包的方法太聪明了 — 一次 pip install 给我 32 个工具和统一的 CLI。我们团队已将其作为标准开发工具包。强烈推荐。"</div>
<div class="author">
<div class="author-avatar">🧑🔧</div>
<div>
<div class="author-name">王强</div>
<div class="author-handle">DevOps 主管</div>
</div>
</div>
</div>
</div>
</section>
<!-- Tools Section -->
<section id="tools" class="tools-section">
<h2>🛠️ 全部 32 个工具</h2>
<p class="subtitle">点击任意工具名称即可复制安装命令。支持搜索、分类筛选,自由浏览。</p>
<!-- Category tabs -->
<div class="category-bar" id="categoryBar"></div>
<div class="filter-bar">
<input type="text" id="searchInput" placeholder="按名称、描述或分类搜索工具…" oninput="filterTools()">
<span class="result-count" id="resultCount">32 / 32 个工具</span>
</div>
<div class="tool-grid" id="toolGrid"></div>
</section>
<!-- CTA Section -->
<section class="cta-section">
<h2>🚀 准备好了吗?</h2>
<p class="subtitle">一个命令。32 个工具。零摩擦。</p>
<div class="cta-card">
<div class="cmd">
<span>$ pip install evolver-tools</span>
<button class="copy-btn" onclick="copyText('pip install evolver-tools', '✓ 已复制!粘贴到终端中运行。')">复制</button>
</div>
<div class="cmd" style="margin-bottom:0;">
<span>$ evtool list</span>
<button class="copy-btn" onclick="copyText('evtool list', '✓ 已复制!')">复制</button>
</div>
<div class="cta-features">
<span class="cta-feature"><span class="check">✓</span> 32 个 Python CLI 工具</span>
<span class="cta-feature"><span class="check">✓</span> 31 个零依赖</span>
<span class="cta-feature"><span class="check">✓</span> 统一的 <code>evtool</code> 入口</span>
<span class="cta-feature"><span class="check">✓</span> 总包仅 104 KB</span>
<span class="cta-feature"><span class="check">✓</span> 兼容 Python 3.8+</span>
<span class="cta-feature"><span class="check">✓</span> MIT 开源协议</span>
</div>
</div>
</section>
<!-- Install Section -->
<section id="install" class="install-section">
<h2>📦 安装指南</h2>
<p class="subtitle">两种安装方式,一种使用体验。</p>
<div class="install-options">
<div class="install-option">
<span class="badge badge-recommended">推荐</span>
<h3>evolver-tools 元包</h3>
<p class="desc">一次性安装全部 32 个工具。使用 <code>evtool</code> 作为统一入口运行任意工具。</p>
<div class="cmd">
<span>$ pip install evolver-tools</span>
<button class="copy" onclick="copyText('pip install evolver-tools')">复制</button>
</div>
<div class="cmd" style="margin-top: 8px;">
<span>$ evtool list</span>
<button class="copy" onclick="copyText('evtool list')">复制</button>
</div>
</div>
<div class="install-option">
<span class="badge badge-single">单个工具</span>
<h3>单独安装</h3>
<p class="desc">只需要几个工具?逐个安装。每个工具都是独立的 PyPI 包。</p>
<div class="cmd">
<span>$ pip install sysmon</span>
<button class="copy" onclick="copyText('pip install sysmon')">复制</button>
</div>
<p class="desc" style="font-size:12px; margin-top: 8px;">点击上方任意工具名称即可复制其安装命令。</p>
</div>
</div>
</section>
<!-- Footer -->
<div style="text-align:center;margin:12px 0"><a href="dashboard.html" style="color:#58a6ff;font-size:14px;text-decoration:none">⚡ 查看 Evolver 进度仪表盘 →</a></div>
<footer>
<p>⚡ Evolver CLI 工具集</p>
<div class="footer-links">
<a href="https://github.com/evolver-dev/evolver-tools">GitHub</a>
<a href="https://pypi.org/project/evolver-tools/">PyPI</a>
<a href="#">MIT 开源协议</a>
</div>
<p style="margin-top:8px;">纯 Python · 零外部依赖 · 开源</p>
</footer>
<script>
// Tool data — sorted by category then name
const TOOLS = [
// Dev Tools
{ name: "b64", desc: "Base64 编解码 — 支持标准输入、文件或参数输入模式", category: "Dev", tags: ["Dev"], zeroDep: true },
{ name: "colors", desc: "终端颜色预览与转换 — 256 色调色板、HEX/RGB/HSL", category: "Dev", tags: ["Dev"], zeroDep: true },
{ name: "dt", desc: "日期/时间格式转换器 — Unix 时间戳、ISO 8601、RFC 2822、相对时间", category: "Dev", tags: ["Dev"], zeroDep: true },
{ name: "jq-lite", desc: "jq 风格 JSON 查询工具 — 轻量、零依赖的 jq 替代方案", category: "Dev", tags: ["Dev", "Data"], zeroDep: true },
{ name: "jsonql", desc: "JSON 查询工具 — JMESPath 语法,Python 原生零依赖", category: "Dev", tags: ["Dev", "Data"], zeroDep: true },
{ name: "license-cli", desc: "开源许可证生成器 — 交互式,输出 MIT/GPL/Apache 等", category: "Dev", tags: ["Dev"], zeroDep: true },
{ name: "markdown-check", desc: "Markdown 检查器 — 检查链接、标题层级、代码块完整性", category: "Dev", tags: ["Dev"], zeroDep: true },
{ name: "project-doctor", desc: "项目健康检查器 — 扫描结构、元文件、代码质量指标", category: "Dev", tags: ["Dev"], zeroDep: true },
{ name: "smellfinder", desc: "Python 代码异味检测器 — AST 分析:函数长度、参数、嵌套层级", category: "Dev", tags: ["Dev"], zeroDep: true },
{ name: "urlparse", desc: "URL 调试工具 — 解析、编码、解码、提取查询参数", category: "Dev", tags: ["Dev"], zeroDep: true },
// Ops Tools
{ name: "dirsize", desc: "磁盘用量分析器 — 扫描目录、按大小排序、查找空间大户", category: "Ops", tags: ["Ops"], zeroDep: true },
{ name: "envcheck", desc: "环境变量验证器 — 检查 .env 文件的缺失和格式问题", category: "Ops", tags: ["Ops"], zeroDep: true },
{ name: "ff", desc: "交互式模糊查找器(类似 fzf)— 模糊匹配搜索/过滤,curses TUI", category: "Utils", tags: ["Utils"], zeroDep: true },
{ name: "hashsum", desc: "校验和计算器 — MD5、SHA-1/256/512、BLAKE2,支持文件验证", category: "Ops", tags: ["Ops", "Security"], zeroDep: true },
{ name: "http-live", desc: "热重载 HTTP 服务器 — SSE 自动刷新、文件监控、零依赖", category: "Dev", tags: ["Dev", "Web"], zeroDep: true },
{ name: "ipinfo", desc: "公网 IP 与地理位置查询 — 自动检测 ISP、位置、ASN", category: "Ops", tags: ["Ops"], zeroDep: true },
{ name: "portcheck", desc: "端口检查器 — 扫描端口、查找可用端口、识别监听服务", category: "Ops", tags: ["Ops"], zeroDep: true },
{ name: "siege-lite", desc: "HTTP 负载测试工具 — 并发请求、延迟百分位数、状态码统计", category: "Ops", tags: ["Ops"], zeroDep: true },
{ name: "sysmon", desc: "系统监控器 — curses TUI:实时 CPU/内存/磁盘/网络/进程", category: "Ops", tags: ["Ops"], zeroDep: false },
{ name: "find-dups", desc: "重复文件查找器 — SHA256 哈希、支持批量删除", category: "Ops", tags: ["Ops", "Productivity"], zeroDep: true },
// Data Tools
{ name: "chart-cli", desc: "终端图表生成器 — Unicode 柱状图/折线图/饼图/直方图", category: "Data", tags: ["Data"], zeroDep: true },
{ name: "csv-stats", desc: "CSV 数据分析器 — 列类型推断、统计信息、直方图、相关性", category: "Data", tags: ["Data"], zeroDep: true },
{ name: "json2csv", desc: "JSON 转 CSV 转换器 — 嵌套扁平化、自动列检测、支持标准输入", category: "Data", tags: ["Data"], zeroDep: true },
{ name: "sqlite-cli", desc: "零依赖 SQLite 查询工具 — 在终端中直接运行 SQL", category: "Data", tags: ["Data", "Dev"], zeroDep: true },
// Productivity Tools
{ name: "cal", desc: "终端日历与日期计算器 — 日历显示、日期差、加减运算", category: "Productivity", tags: ["Productivity"], zeroDep: true },
{ name: "nb", desc: "命令行笔记本 — JSON 存储、全文搜索、Markdown 导出", category: "Productivity", tags: ["Productivity"], zeroDep: true },
{ name: "ren", desc: "批量文件重命名器 — 前缀/后缀/替换/正则/大小写/编号", category: "Productivity", tags: ["Productivity"], zeroDep: true },
{ name: "timer", desc: "终端计时器/秒表 — 倒计时、秒表、闹钟", category: "Productivity", tags: ["Productivity"], zeroDep: true },
{ name: "treedir", desc: "目录树可视化工具 — 零依赖的 tree 命令替代方案,尊重 .gitignore", category: "Productivity", tags: ["Productivity"], zeroDep: true },
{ name: "web-summary", desc: "网页摘要提取器 — HTMLParser 提取标题/正文/链接/关键词", category: "Productivity", tags: ["Productivity"], zeroDep: true },
{ name: "wordcount", desc: "增强版字数统计工具 — wc 替代方案,支持 UTF-8、行/词/字符/字节", category: "Productivity", tags: ["Productivity"], zeroDep: true },
// Security Tools
{ name: "passgen", desc: "密码生成器 — 密码、PIN 码、助记词,附带熵值估算", category: "Security", tags: ["Security"], zeroDep: true },
];
const CATEGORIES = [...new Set(TOOLS.map(t => t.category))];
const CATEGORY_ICONS = {
"Dev": "💻",
"Ops": "🔧",
"Data": "📊",
"Productivity": "⚡",
"Security": "🔒"
};
const TAG_COLORS = {
"Dev": { bg: "rgba(126,184,255,.1)", text: "#7eb8ff", border: "rgba(126,184,255,.25)" },
"Ops": { bg: "rgba(240,154,74,.1)", text: "#f09a4a", border: "rgba(240,154,74,.25)" },
"Data": { bg: "rgba(90,212,196,.1)", text: "#5ad4c4", border: "rgba(90,212,196,.25)" },
"Productivity": { bg: "rgba(76,218,122,.1)", text: "#4cda7a", border: "rgba(76,218,122,.25)" },
"Security": { bg: "rgba(180,138,255,.1)", text: "#b48aff", border: "rgba(180,138,255,.25)" }
};
let activeCategory = '';
function init() {
// Category tabs
const catBar = document.getElementById('categoryBar');
const total = TOOLS.length;
catBar.innerHTML = `<button class="category-btn active" data-cat="" onclick="setCategory(this, '')">🌟 全部 <span class="category-count">${total}</span></button>` +
CATEGORIES.map(cat => {
const count = TOOLS.filter(t => t.category === cat).length;
const icon = CATEGORY_ICONS[cat] || '';
return `<button class="category-btn" data-cat="${cat}" onclick="setCategory(this, '${cat}')">${icon} ${cat} <span class="category-count">${count}</span></button>`;
}).join('');
renderTools(TOOLS);
}
function setCategory(el, cat) {
document.querySelectorAll('.category-btn').forEach(b => b.classList.remove('active'));
el.classList.add('active');
activeCategory = cat;
filterTools();
}
function filterTools() {
const q = document.getElementById('searchInput').value.toLowerCase();
const filtered = TOOLS.filter(t => {
if (activeCategory && t.category !== activeCategory) return false;
if (q && !t.name.toLowerCase().includes(q) && !t.desc.toLowerCase().includes(q) && !t.tags.some(tag => tag.toLowerCase().includes(q))) return false;
return true;
});
renderTools(filtered);
document.getElementById('resultCount').textContent = `${filtered.length} / ${TOOLS.length} 个工具`;
}
function renderTools(tools) {
const grid = document.getElementById('toolGrid');
if (tools.length === 0) {
grid.innerHTML = '<div style="text-align:center;padding:60px 20px;color:var(--text3);"><div style="font-size:48px;margin-bottom:12px;">🔍</div><p>没有匹配的工具。请尝试其他关键词或分类。</p></div>';
return;
}
grid.innerHTML = tools.map(t => {
const tagHtml = t.tags.map(tag => {
const c = TAG_COLORS[tag] || { bg: 'var(--bg3)', text: 'var(--text2)', border: 'var(--border)' };
return `<span class="tool-tag" style="background:${c.bg};color:${c.text};border-color:${c.border}">${tag}</span>`;
}).join('');
const zeroDepBadge = t.zeroDep ? `<span class="tool-tag zero-dep">✓ 零依赖</span>` : `<span class="tool-tag" style="background:rgba(240,90,90,.08);border-color:rgba(240,90,90,.25);color:var(--red);">需要 curses</span>`;
return `<div class="tool-card">
<div class="tool-header">
<span class="tool-name" style="cursor:pointer;" onclick="copyText('evtool ${t.name}', '✓ 已复制: evtool ${t.name}')">${t.name}</span>
</div>
<div class="tool-desc">${t.desc}</div>
<div class="tool-tags">${tagHtml}${zeroDepBadge}</div>
<div class="tool-install">
<span>💡 evtool 子命令:</span>
<code>evtool ${t.name}</code>
</div>
</div>`;
}).join('');
}
function copyCmd(el, text) {
navigator.clipboard.writeText(text).then(() => {
const btn = el.querySelector('.copy-btn');
const orig = btn.textContent;
btn.textContent = '✓ 已复制';
setTimeout(() => btn.textContent = orig, 1500);
}).catch(() => {
const ta = document.createElement('textarea');
ta.value = text;
document.body.appendChild(ta);
ta.select();
document.execCommand('copy');
document.body.removeChild(ta);
});
}
function copyText(text, msg) {
navigator.clipboard.writeText(text).then(() => {
if (msg) {
const toast = document.createElement('div');
toast.style.cssText = 'position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--green-dim);color:#fff;padding:10px 24px;border-radius:8px;font-size:14px;z-index:999;animation:fadeIn .3s ease;';
toast.textContent = msg;
document.body.appendChild(toast);
setTimeout(() => toast.remove(), 2000);
}
}).catch(() => {
const ta = document.createElement('textarea');
ta.value = text;
document.body.appendChild(ta);
ta.select();
document.execCommand('copy');
document.body.removeChild(ta);
});
}
document.addEventListener('DOMContentLoaded', init);
</script>
</body>
</html>