-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
658 lines (592 loc) · 21.5 KB
/
Copy pathindex.html
File metadata and controls
658 lines (592 loc) · 21.5 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SQLite Manager - SQLite 数据库管理工具</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary: #6366f1;
--primary-light: #818cf8;
--bg-dark: #0f172a;
--bg-card: #1e293b;
--bg-hover: #334155;
--text: #f1f5f9;
--text-secondary: #94a3b8;
--border: #334155;
--success: #10b981;
--warning: #f59e0b;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background: var(--bg-dark);
color: var(--text);
line-height: 1.6;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header */
header {
background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-dark) 100%);
border-bottom: 1px solid var(--border);
padding: 60px 0;
text-align: center;
}
.logo {
width: 80px;
height: 80px;
background: var(--primary);
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 24px;
font-size: 40px;
}
h1 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 12px;
}
.subtitle {
color: var(--text-secondary);
font-size: 1.1rem;
margin-bottom: 24px;
}
.version-badge {
display: inline-block;
background: var(--primary);
color: white;
padding: 6px 16px;
border-radius: 20px;
font-size: 0.9rem;
font-weight: 500;
}
/* Navigation */
nav {
background: var(--bg-card);
border-bottom: 1px solid var(--border);
position: sticky;
top: 0;
z-index: 100;
}
nav ul {
display: flex;
justify-content: center;
list-style: none;
padding: 0;
gap: 8px;
flex-wrap: wrap;
}
nav a {
display: block;
padding: 12px 20px;
color: var(--text-secondary);
text-decoration: none;
border-radius: 8px;
transition: all 0.2s;
}
nav a:hover {
background: var(--bg-hover);
color: var(--text);
}
/* Sections */
section {
padding: 60px 0;
border-bottom: 1px solid var(--border);
}
section:last-child {
border-bottom: none;
}
h2 {
font-size: 1.8rem;
margin-bottom: 24px;
display: flex;
align-items: center;
gap: 12px;
}
h2 .icon {
width: 36px;
height: 36px;
background: var(--primary);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
}
/* Features Grid */
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
}
.feature {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 12px;
padding: 24px;
transition: all 0.2s;
}
.feature:hover {
border-color: var(--primary);
transform: translateY(-2px);
}
.feature-icon {
width: 48px;
height: 48px;
background: var(--primary);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
margin-bottom: 16px;
}
.feature h3 {
font-size: 1.1rem;
margin-bottom: 8px;
}
.feature p {
color: var(--text-secondary);
font-size: 0.95rem;
}
/* Download Section */
.download-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
}
.download-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 12px;
padding: 24px;
}
.download-card h3 {
margin-bottom: 16px;
display: flex;
align-items: center;
gap: 10px;
}
.download-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px;
background: var(--bg-hover);
border-radius: 8px;
margin-bottom: 8px;
}
.download-item:last-child {
margin-bottom: 0;
}
.download-link {
color: var(--primary-light);
text-decoration: none;
font-weight: 500;
display: flex;
align-items: center;
gap: 6px;
}
.download-link:hover {
text-decoration: underline;
}
/* Changelog */
.changelog {
position: relative;
padding-left: 30px;
}
.changelog::before {
content: '';
position: absolute;
left: 8px;
top: 0;
bottom: 0;
width: 2px;
background: var(--border);
}
.version-item {
position: relative;
margin-bottom: 32px;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 12px;
padding: 24px;
}
.version-item::before {
content: '';
position: absolute;
left: -26px;
top: 28px;
width: 12px;
height: 12px;
background: var(--primary);
border-radius: 50%;
border: 3px solid var(--bg-dark);
}
.version-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
flex-wrap: wrap;
gap: 12px;
}
.version-tag {
background: var(--primary);
color: white;
padding: 4px 12px;
border-radius: 6px;
font-weight: 600;
}
.version-date {
color: var(--text-secondary);
font-size: 0.9rem;
}
.changes {
list-style: none;
}
.changes li {
padding: 8px 0;
border-bottom: 1px solid var(--border);
display: flex;
align-items: flex-start;
gap: 10px;
}
.changes li:last-child {
border-bottom: none;
}
.change-tag {
display: inline-block;
padding: 2px 8px;
border-radius: 4px;
font-size: 0.75rem;
font-weight: 600;
flex-shrink: 0;
}
.tag-new { background: #10b981; color: white; }
.tag-fix { background: #ef4444; color: white; }
.tag-opt { background: #3b82f6; color: white; }
.tag-docker { background: #8b5cf6; color: white; }
/* Usage Steps */
.steps {
counter-reset: step;
}
.step {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 12px;
padding: 24px;
margin-bottom: 16px;
counter-increment: step;
position: relative;
padding-left: 70px;
}
.step::before {
content: counter(step);
position: absolute;
left: 20px;
top: 50%;
transform: translateY(-50%);
width: 36px;
height: 36px;
background: var(--primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 1.1rem;
}
.step h4 {
margin-bottom: 8px;
}
.step p {
color: var(--text-secondary);
font-size: 0.95rem;
}
.step code {
background: var(--bg-dark);
padding: 2px 8px;
border-radius: 4px;
font-family: 'JetBrains Mono', monospace;
font-size: 0.9rem;
}
/* Footer */
footer {
background: var(--bg-card);
border-top: 1px solid var(--border);
padding: 40px 0;
text-align: center;
}
footer p {
color: var(--text-secondary);
margin-bottom: 8px;
}
.links {
display: flex;
justify-content: center;
gap: 24px;
margin-top: 16px;
}
.links a {
color: var(--primary-light);
text-decoration: none;
}
.links a:hover {
text-decoration: underline;
}
/* Responsive */
@media (max-width: 768px) {
h1 { font-size: 1.8rem; }
h2 { font-size: 1.4rem; }
section { padding: 40px 0; }
nav ul { padding: 8px; }
nav a { padding: 10px 14px; font-size: 0.9rem; }
.step { padding-left: 60px; }
.step::before { left: 12px; width: 32px; height: 32px; }
}
</style>
</head>
<body>
<header>
<div class="container">
<div class="logo">💾</div>
<h1>SQLite Manager</h1>
<p class="subtitle">简洁高效的 SQLite 数据库 Web 管理工具</p>
<span class="version-badge">v1.1.0</span>
</div>
</header>
<nav>
<div class="container">
<ul>
<li><a href="#features">功能特性</a></li>
<li><a href="#download">下载安装</a></li>
<li><a href="#usage">使用说明</a></li>
<li><a href="#changelog">更新日志</a></li>
</ul>
</div>
</nav>
<section id="features">
<div class="container">
<h2><span class="icon">⚡</span> 功能特性</h2>
<div class="features">
<div class="feature">
<div class="feature-icon">📂</div>
<h3>多数据库管理</h3>
<p>同时打开和管理多个 SQLite 数据库,支持快速切换</p>
</div>
<div class="feature">
<div class="feature-icon">📋</div>
<h3>表管理</h3>
<p>查看所有表、表结构、索引信息,支持搜索和过滤</p>
</div>
<div class="feature">
<div class="feature-icon">✏️</div>
<h3>数据编辑</h3>
<p>双击单元格编辑数据,支持新增、删除行,自动保存</p>
</div>
<div class="feature">
<div class="feature-icon">🔧</div>
<h3>结构修改</h3>
<p>添加、删除字段,创建、删除索引,修改表结构</p>
</div>
<div class="feature">
<div class="feature-icon">📤</div>
<h3>数据导出</h3>
<p>支持将表数据导出为 CSV 格式,方便数据迁移</p>
</div>
<div class="feature">
<div class="feature-icon">🔒</div>
<h3>安全可靠</h3>
<p>用户认证登录,密码加密存储,支持密码修改和重置</p>
</div>
</div>
</div>
</section>
<section id="download">
<div class="container">
<h2><span class="icon">📥</span> 下载安装</h2>
<div class="download-grid">
<div class="download-card">
<h3>🍎 macOS</h3>
<div class="download-item">
<span>Intel (x64)</span>
<a href="release/v1.1.0/techfunway-sqlite-manage-1.0.0-macos-amd64.tar.gz" class="download-link">
⬇️ 下载
</a>
</div>
<div class="download-item">
<span>Apple Silicon (M1/M2)</span>
<a href="release/v1.1.0/techfunway-sqlite-manage-1.0.0-macos-arm64.tar.gz" class="download-link">
⬇️ 下载
</a>
</div>
</div>
<div class="download-card">
<h3>🐧 Linux</h3>
<div class="download-item">
<span>x64</span>
<a href="release/v1.1.0/techfunway-sqlite-manage-1.0.0-linux-amd64.tar.gz" class="download-link">
⬇️ 下载
</a>
</div>
<div class="download-item">
<span>ARM64</span>
<a href="release/v1.1.0/techfunway-sqlite-manage-1.0.0-linux-arm64.tar.gz" class="download-link">
⬇️ 下载
</a>
</div>
</div>
<div class="download-card">
<h3>🪟 Windows</h3>
<div class="download-item">
<span>x64</span>
<a href="release/v1.1.0/techfunway-sqlite-manage-1.0.0-windows-amd64.tar.gz" class="download-link">
⬇️ 下载
</a>
</div>
</div>
<div class="download-card">
<h3>📱 飞牛 NAS</h3>
<div class="download-item">
<span>x86 版本</span>
<a href="release/v1.1.0/techfunway-sqlite-manage-v1.1.0-fnos-amd64.fpk" class="download-link">
⬇️ 下载
</a>
</div>
<div class="download-item">
<span>ARM 版本</span>
<a href="release/v1.1.0/techfunway-sqlite-manage-v1.1.0-fnos-arm64.fpk" class="download-link">
⬇️ 下载
</a>
</div>
</div>
<div class="download-card">
<h3>🐳 Docker</h3>
<div class="download-item">
<span>AMD64 镜像</span>
<a href="release/v1.1.0/techfunways-sqlite-manage-v1.1.0-amd64.docker.tar.gz" class="download-link">
⬇️ 下载
</a>
</div>
<div class="download-item">
<span>ARM64 镜像</span>
<a href="release/v1.1.0/techfunways-sqlite-manage-v1.1.0-arm64.docker.tar.gz" class="download-link">
⬇️ 下载
</a>
</div>
</div>
</div>
</div>
</section>
<section id="usage">
<div class="container">
<h2><span class="icon">📖</span> 使用说明</h2>
<div class="steps">
<div class="step">
<h4>启动程序</h4>
<p>解压后运行 <code>./start.sh</code> (Linux/macOS) 或双击 <code>start.bat</code> (Windows)</p>
</div>
<div class="step">
<h4>创建管理员账号</h4>
<p>首次访问会提示创建管理员账号,输入用户名和密码即可</p>
</div>
<div class="step">
<h4>打开数据库</h4>
<p>点击"浏览服务器文件"选择数据库,或"新建数据库"创建新的数据库</p>
</div>
<div class="step">
<h4>管理数据</h4>
<p>点击左侧表名查看数据,双击单元格编辑,点击"新建表"创建新表</p>
</div>
</div>
<h3 style="margin-top: 32px; margin-bottom: 16px;">常用命令</h3>
<div class="download-card">
<div class="download-item">
<span>查看版本</span>
<code>./sqlite-manager version</code>
</div>
<div class="download-item">
<span>重置密码</span>
<code>./sqlite-manager reset-password</code>
</div>
<div class="download-item">
<span>指定端口</span>
<code>./sqlite-manager -port 3000</code>
</div>
<div class="download-item">
<span>查看帮助</span>
<code>./sqlite-manager help</code>
</div>
</div>
<h3 style="margin-top: 32px; margin-bottom: 16px;">Docker 运行</h3>
<div class="download-card">
<div class="download-item">
<span>运行容器</span>
<code style="font-size: 0.8rem;">docker run -p 8903:8903 -v ./data:/data techfunways/sqlite-manage:v1.1.0-amd64</code>
</div>
<div class="download-item">
<span>加载镜像</span>
<code>docker load < xxx.docker.tar.gz</code>
</div>
</div>
</div>
</section>
<section id="changelog">
<div class="container">
<h2><span class="icon">📝</span> 更新日志</h2>
<div class="changelog">
<div class="version-item">
<div class="version-header">
<span class="version-tag">v1.1.0</span>
<span class="version-date">2026-03-31</span>
</div>
<ul class="changes">
<li><span class="change-tag tag-new">新功能</span> 数据库管理:支持多数据库同时打开和管理</li>
<li><span class="change-tag tag-new">新功能</span> 文件浏览器:浏览服务器文件系统选择数据库</li>
<li><span class="change-tag tag-new">新功能</span> 用户认证:支持登录、注册、密码修改</li>
<li><span class="change-tag tag-new">新功能</span> 数据编辑:双击单元格编辑,支持新增/删除行</li>
<li><span class="change-tag tag-new">新功能</span> 表结构:查看和修改表结构、字段、索引</li>
<li><span class="change-tag tag-new">新功能</span> 数据导出:支持导出为 CSV 格式</li>
<li><span class="change-tag tag-new">新功能</span> 飞牛 NAS:支持 fnOS 应用打包和安装</li>
<li><span class="change-tag tag-new">新功能</span> Docker:支持多平台镜像构建</li>
<li><span class="change-tag tag-opt">优化</span> 响应式设计:完美适配桌面和移动设备</li>
<li><span class="change-tag tag-opt">优化</span> 深色主题:专业级 UI 设计</li>
</ul>
</div>
</div>
</div>
</section>
<footer>
<div class="container">
<p>SQLite Manager - 简洁高效的 SQLite 数据库管理工具</p>
<p>© 2026 科技智趣坊. All rights reserved.</p>
<div class="links">
<a href="http://techfunway.wycto.cn">官网</a>
<a href="http://techfunway.wycto.cn/fnapp/sqlite-manage">飞牛应用</a>
</div>
</div>
</footer>
<script>
// 平滑滚动
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
</script>
</body>
</html>