File size: 40,620 Bytes
0423506
 
 
 
 
545a39f
0423506
 
e2e9365
 
0423506
 
 
 
 
 
 
5da5273
 
0423506
 
 
 
5da5273
 
0423506
 
545a39f
a6f0668
545a39f
0423506
 
0a5b90a
5da5273
0a5b90a
 
 
5da5273
8e34172
0423506
 
 
 
 
 
 
5da5273
e2e9365
5da5273
 
dfa63ad
 
9dd284c
dfa63ad
0a5b90a
 
 
 
0423506
 
 
 
 
 
978a9c9
9dd284c
cd44dcf
 
5da5273
 
e2e9365
9dd284c
0423506
 
 
cd44dcf
5da5273
 
978a9c9
9dd284c
0423506
 
 
cd44dcf
5da5273
 
978a9c9
9dd284c
0a5b90a
 
 
 
5da5273
 
 
9dd284c
0a5b90a
 
 
 
5da5273
 
0a5b90a
9dd284c
0a5b90a
 
 
 
5da5273
 
 
9dd284c
0423506
 
 
 
 
 
cd44dcf
8b64a36
 
 
 
9dd284c
8b64a36
5da5273
 
 
 
8b64a36
 
5da5273
 
9dd284c
 
 
 
57a42d6
e2e9365
5da5273
 
9dd284c
 
 
978a9c9
 
5da5273
 
9dd284c
978a9c9
 
5da5273
8b64a36
9dd284c
 
3c2d6d4
5da5273
545a39f
3c2d6d4
cd44dcf
 
 
 
5da5273
cd44dcf
9dd284c
 
 
 
cd44dcf
 
 
 
 
545a39f
 
 
a6f0668
 
 
 
5da5273
a6f0668
 
5da5273
a6f0668
8a7e8e7
9dd284c
a6f0668
 
 
 
0a5b90a
 
 
a6f0668
 
 
545a39f
9dd284c
545a39f
 
9dd284c
0a5b90a
cd44dcf
9dd284c
5da5273
545a39f
9dd284c
978a9c9
 
 
cd44dcf
9dd284c
5da5273
545a39f
9dd284c
0a5b90a
 
 
 
9dd284c
5da5273
0a5b90a
9dd284c
57a42d6
 
e2e9365
 
 
 
 
0423506
a6f0668
0423506
dfa63ad
9dd284c
cd44dcf
 
a6f0668
5da5273
dfa63ad
 
0423506
 
 
9dd284c
dfa63ad
 
0423506
cd44dcf
a6f0668
5da5273
dfa63ad
 
0423506
545a39f
9dd284c
dfa63ad
 
0423506
cd44dcf
a6f0668
5da5273
dfa63ad
 
0423506
 
 
9dd284c
dfa63ad
 
0423506
 
0a5b90a
 
 
0423506
 
 
 
6e54e4c
0423506
cd44dcf
9dd284c
5da5273
 
9dd284c
dfa63ad
5da5273
dfa63ad
0423506
e2e9365
9dd284c
dfa63ad
 
5da5273
 
9dd284c
5da5273
 
 
9dd284c
 
 
 
6e54e4c
 
 
5da5273
 
9dd284c
5da5273
 
9dd284c
6e54e4c
 
5da5273
 
9dd284c
5da5273
 
9dd284c
6e54e4c
 
5da5273
 
0423506
 
 
0a5b90a
9dd284c
0a5b90a
 
9dd284c
0a5b90a
 
9dd284c
5da5273
0a5b90a
9dd284c
0a5b90a
 
 
 
 
9dd284c
5da5273
0a5b90a
9dd284c
0a5b90a
 
 
 
 
 
 
 
 
 
 
 
6e54e4c
0a5b90a
 
9dd284c
0a5b90a
 
6e54e4c
5da5273
0a5b90a
9dd284c
0a5b90a
 
 
 
6e54e4c
5da5273
0a5b90a
9dd284c
0a5b90a
 
 
 
 
 
 
 
 
 
 
9dd284c
0a5b90a
 
 
9dd284c
 
 
0a5b90a
9dd284c
 
 
0a5b90a
9dd284c
 
 
0a5b90a
 
 
 
 
 
6e54e4c
0a5b90a
 
9dd284c
0a5b90a
 
6e54e4c
5da5273
0a5b90a
9dd284c
 
0a5b90a
 
 
 
6e54e4c
5da5273
0a5b90a
9dd284c
 
0a5b90a
 
 
6e54e4c
 
5da5273
9dd284c
 
 
6e54e4c
 
 
0a5b90a
 
9dd284c
0a5b90a
 
 
 
 
9dd284c
0a5b90a
 
9dd284c
0a5b90a
 
9dd284c
5da5273
0a5b90a
6e54e4c
9dd284c
 
 
 
0a5b90a
9dd284c
0a5b90a
 
 
 
 
 
 
8e34172
6e54e4c
8e34172
 
9dd284c
8e34172
 
6e54e4c
8e34172
364cf2a
0a5b90a
8e34172
 
 
 
6e54e4c
8e34172
0a5b90a
50d50c6
8e34172
 
 
 
6e54e4c
8e34172
6e54e4c
0a5b90a
8e34172
 
 
 
9dd284c
8e34172
 
 
dfa63ad
9dd284c
dfa63ad
 
9dd284c
dfa63ad
 
9dd284c
dfa63ad
 
9dd284c
 
dfa63ad
 
 
 
9dd284c
dfa63ad
 
9dd284c
 
dfa63ad
 
 
 
 
aef2773
 
dfa63ad
 
 
 
0423506
5da5273
 
9dd284c
0423506
 
cd44dcf
 
9dd284c
cd44dcf
 
9dd284c
cd44dcf
 
9dd284c
cd44dcf
 
9dd284c
cd44dcf
 
9dd284c
cd44dcf
 
9dd284c
0a5b90a
 
9dd284c
0a5b90a
 
9dd284c
0a5b90a
 
9dd284c
0a5b90a
 
9dd284c
cd44dcf
 
57a42d6
e2e9365
0423506
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>๐Ÿ‘ป GhostPack: Veo 3-Level Video Sorcery ๐Ÿ˜ˆ</title>
    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
    <!-- Animate.css -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/>
    <!-- Custom CSS -->
    <link rel="stylesheet" href="style.css">
    <!-- Favicon -->
    <link rel="icon" href="https://huggingface.co/spaces/ghostai1/GhostPack/resolve/main/ghostpack_logo.png">
</head>
<body>
    <!-- Navbar -->
    <nav class="navbar navbar-expand-lg navbar-dark bg-ghost-nav">
        <div class="container-fluid">
            <a class="navbar-brand" href="#">๐Ÿ‘ป GhostPack</a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse justify-content-end" id="navbarNav">
                <ul class="navbar-nav">
                    <li class="nav-item"><a class="nav-link" href="#home">Home</a></li>
                    <li class="nav-item"><a class="nav-link" href="#features">Features</a></li>
                    <li class="nav-item"><a class="nav-link" href="#optimizations">Math Sorcery</a></li>
                    <li class="nav-item"><a class="nav-link" href="#demo">Demo</a></li>
                    <li class="nav-item"><a class="nav-link" href="#future">Future</a></li>
                    <li class="nav-item"><a class="nav-link" href="#installation">Installation</a></li>
                    <li class="nav-item"><a class="nav-link" href="#usage">Usage</a></li>
                    <li class="nav-item"><a class="nav-link" href="#community">Community</a></li>
                    <li class="nav-item"><a class="nav-link" href="#technical">Tech Deep Dive</a></li>
                    <li class="nav-item"><a class="nav-link" href="#faq">FAQ</a></li>
                    <li class="nav-item"><a class="nav-link" href="#tutorials">Tutorials</a></li>
                    <li class="nav-item"><a class="nav-link" href="#contribute">Contribute</a></li>
                    <li class="nav-item"><a class="nav-link" href="#files">Latest Files</a></li>
                    <li class="nav-item"><a class="nav-link" href="#screenshots">Screenshots</a></li>
                </ul>
            </div>
        </div>
    </nav>

    <!-- Hero Section -->
    <section id="home" class="hero-section text-center text-white">
        <div class="container py-5">
            <h1 class="display-3 animate__animated animate__zoomIn">๐Ÿ‘ป GhostPack</h1>
            <p class="lead animate__animated animate__fadeIn animate__delay-1s">Veo 3-Level Video Sorcery for 8GB RAM Laptops! ๐Ÿ˜ˆ๐Ÿš€</p>
            <p class="animate__animated animate__fadeIn animate__delay-2s">Unleash photorealistic videos with ghostai1โ€™s math on โ‰ฅ6GB VRAM GPUs.</p>
            <div class="preview-window animate__animated animate__fadeIn animate__delay-3s">
                <img src="https://huggingface.co/spaces/ghostai1/GhostPack/resolve/main/preview_mockup.png" alt="GhostPack Preview" class="img-fluid rounded">
                <p class="mt-2">Preview of ghostgradio.py interface and capabilities.</p>
            </div>
            <div class="mt-4">
                <a href="#installation" class="btn btn-ghost btn-lg animate__animated animate__pulse animate__delay-4s me-3">Summon Now ๐Ÿ› ๏ธ</a>
                <a href="https://github.com/ghostai1/GhostPack" class="btn btn-outline-ghost btn-lg animate__animated animate__pulse animate__delay-4s" target="_blank">GitHub ๐ŸŒŸ</a>
            </div>
        </div>
    </section>

    <!-- Features Section -->
    <section id="features" class="py-5 bg-dark text-white">
        <div class="container">
            <h2 class="text-center mb-5 animate__animated animate__fadeIn">โœจ Spectral Features</h2>
            <p class="lead lead-text mb-4">Discover GhostPackโ€™s advanced video generation technology.</p>
            <div class="row row-cols-1 row-cols-md-3 g-4">
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐Ÿ“น Veo 3-Level AI</h3>
                            <p class="card-text">Generates hyper-realistic videos using next-frame prediction, optimized for 8GB RAM laptops with smooth transitions.</p>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">โšก๏ธ Phantom Speed</h3>
                            <p class="card-text">Teacache reduces rendering time by ~40%, achieving ~12-15s per frame on RTX 3060 for faster output.</p>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐Ÿ› ๏ธ Laptop Domination</h3>
                            <p class="card-text">Supports 13B models on GPUs with โ‰ฅ6GB VRAM, tailored for budget systems like RTX 3060.</p>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐ŸŽ›๏ธ Custom Workflows</h3>
                            <p class="card-text">Offers flexible settings for frame length, batch size, and custom prompts to match creative needs.</p>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐Ÿ‘๏ธ Live Preview</h3>
                            <p class="card-text">Provides real-time frame previews in ghostgradio.py for immediate creative adjustments.</p>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐Ÿค Open Source</h3>
                            <p class="card-text">Leverages community contributions and open-source code for ongoing enhancements.</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Optimizations Section -->
    <section id="optimizations" class="py-5 bg-dark text-white">
        <div class="container">
            <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐Ÿง™โ€โ™‚๏ธ Ghostai1โ€™s Math Sorcery</h2>
            <p class="lead lead-text mb-4">Optimized with advanced math for low-resource systems.</p>
            <ul class="nav nav-tabs justify-content-center mb-4" id="optTab" role="tablist">
                <li class="nav-item"><button class="nav-link active" id="speed-tab" data-bs-toggle="tab" data-bs-target="#speed" type="button">โšก๏ธ Speed</button></li>
                <li class="nav-item"><button class="nav-link" id="memory-tab" data-bs-toggle="tab" data-bs-target="#memory" type="button">๐Ÿ”ฎ Memory</button></li>
                <li class="nav-item"><button class="nav-link" id="compute-tab" data-bs-toggle="tab" data-bs-target="#compute" type="button">๐Ÿงฌ Compute</button></li>
                <li class="nav-item"><button class="nav-link" id="efficiency-tab" data-bs-toggle="tab" data-bs-target="#efficiency" type="button">๐ŸŒŒ Efficiency</button></li>
            </ul>
            <div class="tab-content" id="optTabContent">
                <div class="tab-pane fade show active" id="speed" role="tabpanel">
                    <div class="row row-cols-1 row-cols-md-2 g-4">
                        <div class="col"><div class="card bg-ghost-card"><div class="card-body"><h4>๐Ÿ”ฎ Teacache</h4><p class="lead-text">Reduces frame time by ~40% (~12s/frame on RTX 3060), \( T_{\text{total}} \approx 0.6 \cdot T_{\text{base}} \)</p></div></div></div>
                        <div class="col"><div class="card bg-ghost-card"><div class="card-body"><h4>๐Ÿง™โ€โ™‚๏ธ Sage-Attention</h4><p class="lead-text">Improves speed by ~5-10%, \( T_{\text{attn}} \approx 0.9 \cdot T_{\text{base_attn}} \)</p></div></div></div>
                        <div class="col"><div class="card bg-ghost-card"><div class="card-body"><h4>โšก CUDA Tweaks</h4><p class="lead-text">Cuts latency by ~10-15%, \( L_{\text{CUDA}} \approx 0.85 \cdot L_{\text{base}} \)</p></div></div></div>
                        <div class="col"><div class="card bg-ghost-card"><div class="card-body"><h4>๐Ÿš€ Dynamic Scheduling</h4><p class="lead-text">Speeds tasks by ~15-20%, \( T_{\text{sched}} \approx 0.8 \cdot T_{\text{base_sched}} \)</p></div></div></div>
                    </div>
                </div>
                <div class="tab-pane fade" id="memory" role="tabpanel">
                    <div class="row row-cols-1 row-cols-md-2 g-4">
                        <div class="col"><div class="card bg-ghost-card"><div class="card-body"><h4>๐Ÿงฌ Context Packing</h4><p class="lead-text">Saves ~50% VRAM (~2-3GB), \( M_{\text{VRAM}} \propto O(1) \)</p></div></div></div>
                        <div class="col"><div class="card bg-ghost-card"><div class="card-body"><h4>๐Ÿ’พ tcmalloc</h4><p class="lead-text">Reduces overhead by ~5-20%, \( O_{\text{mem}} \approx 0.8 \cdot O_{\text{glibc}} \)</p></div></div></div>
                        <div class="col"><div class="card bg-ghost-card"><div class="card-body"><h4>๐Ÿ“ฆ Memory Cache</h4><p class="lead-text">Cuts swaps by ~25%, \( M_{\text{swap}} \approx 0.75 \cdot M_{\text{base_swap}} \)</p></div></div></div>
                    </div>
                </div>
                <div class="tab-pane fade" id="compute" role="tabpanel">
                    <div class="row row-cols-1 g-4">
                        <div class="col"><div class="card bg-ghost-card"><div class="card-body"><h4>โšก Dynamic Batching</h4><p class="lead-text">Boosts throughput by ~30-50%, \( \text{Throughput} \propto B \cdot \text{FPS}_{\text{base}} \)</p></div></div></div>
                    </div>
                </div>
                <div class="tab-pane fade" id="efficiency" role="tabpanel">
                    <div class="row row-cols-1 row-cols-md-2 g-4">
                        <div class="col"><div class="card bg-ghost-card"><div class="card-body"><h4>๐Ÿ”‹ Power Optimization</h4><p class="lead-text">Saves ~20-30% power, \( P_{\text{idle}} \approx 0.7 \cdot P_{\text{base_idle}} \)</p></div></div></div>
                        <div class="col"><div class="card bg-ghost-card"><div class="card-body"><h4>๐Ÿงต Thread Tuning</h4><p class="lead-text">Enhances CPU by ~10-15%, \( C_{\text{thread}} \approx 0.85 \cdot C_{\text{base_thread}} \)</p></div></div></div>
                    </div>
                </div>
            </div>
            <div class="row mt-5">
                <div class="col-md-12">
                    <h3 class="text-center text-white mb-3">VRAM Requirements ๐Ÿ–ฅ๏ธ</h3>
                    <div class="table-responsive">
                        <table class="table table-dark table-bordered">
                            <thead><tr><th>GPU</th><th>VRAM</th><th>Performance</th><th>Notes</th></tr></thead>
                            <tbody>
                                <tr><td>GTX 1650</td><td>6GB</td><td>~18-25s/frame</td><td>Minimum, teacache recommended</td></tr>
                                <tr><td>RTX 3050</td><td>8GB</td><td>~15-20s/frame</td><td>Balanced, batch size 2</td></tr>
                                <tr><td>RTX 3060</td><td>12GB</td><td>~10-15s/frame</td><td>Optimal, batch size 2-4</td></tr>
                                <tr><td>RTX 4090</td><td>24GB</td><td>~1.5-2.5s/frame</td><td>High-end, max batch</td></tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Demo Video Showcase -->
    <section id="demo" class="py-5 bg-dark text-white">
        <div class="container">
            <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐ŸŽฅ Demo Video Showcase</h2>
            <p class="lead lead-text mb-4 animate__animated animate__fadeIn">Witness GhostPackโ€™s spectral video generation in action!</p>
            <div class="row">
                <div class="col-md-8 mx-auto">
                    <div class="card bg-ghost-card animate__animated animate__fadeIn">
                        <div class="card-body text-center">
                            <img src="https://cdn-uploads.huggingface.co/production/uploads/6421b1c68adc8881b974a89d/k8pgUlg4OvdUZpbMNTcp5.gif" alt="GhostPack Demo GIF" class="img-fluid rounded" style="max-height: 400px;">
                            <p class="mt-3">Sample output from ghostgradio.py, featuring a neon-lit spectral battle scene.</p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="text-center mt-4">
                <a href="https://github.com/ghostai1/GhostPack/blob/main/demo_videos" class="btn btn-ghost" target="_blank">More Demos ๐Ÿ“น</a>
            </div>
        </div>
    </section>

    <!-- Future Features Section -->
    <section id="future" class="py-5 bg-ghost-alt text-dark">
        <div class="container">
            <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐ŸŒŒ Future Spectral Phantoms</h2>
            <p class="lead light-lead-text mb-4">Exciting upgrades to push AI video generation boundaries.</p>
            <div class="row row-cols-1 row-cols-md-3 g-4">
                <div class="col">
                    <div class="card bg-ghost-alt-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐Ÿ—ฃ๏ธ Voice Generation</h3>
                            <p class="light-lead-text">AI-driven voice synthesis with customizable tones for narrated videos in ghostgradio.py.</p>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-alt-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐Ÿ–ผ๏ธ AI Images</h3>
                            <p class="light-lead-text">Generates high-quality starting frames with AI-crafted visuals for richer video pipelines.</p>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-alt-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐ŸŽฎ VR Integration</h3>
                            <p class="light-lead-text">Future support for VR video rendering, creating immersive 3D experiences.</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Installation Section -->
    <section id="installation" class="py-5 bg-dark text-white">
        <div class="container">
            <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐Ÿ› ๏ธ Unleash GhostPack</h2>
            <p class="lead lead-text mb-4">Install from GitHub, requires >30GB disk and compatible hardware.</p>
            <div class="row row-cols-1 row-cols-md-3 g-4">
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐Ÿง Ubuntu</h3>
                            <pre><code class="code-block">git clone https://github.com/ghostai1/GhostPack
cd GhostPack
chmod +x install_ubuntu.sh
./install_ubuntu.sh</code></pre>
                            <p>Requires NVIDIA GPU, 8GB RAM, Python 3.10, CUDA 12.6.</p>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐ŸชŸ Windows</h3>
                            <pre><code class="code-block">git clone https://github.com/ghostai1/GhostPack
cd GhostPack
install.bat</code></pre>
                            <p>Auto-downloads >30GB models, needs NVIDIA drivers.</p>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐ŸŽ macOS</h3>
                            <pre><code class="code-block">git clone https://github.com/ghostai1/GhostPack
cd GhostPack
chmod +x install_macos.sh
./install_macos.sh</code></pre>
                            <p>M1/M2 support (slower), requires Metal compatibility.</p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="text-center mt-4">
                <a href="https://github.com/ghostai1/GhostPack/releases" class="btn btn-ghost" target="_blank">Latest Release ๐Ÿ“ฆ</a>
            </div>
        </div>
    </section>

    <!-- Usage Section -->
    <section id="usage" class="py-5 bg-dark text-white">
        <div class="container">
            <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐Ÿ“น Weave Ghostly Videos</h2>
            <p class="lead lead-text mb-4">Detailed steps to harness GhostPackโ€™s video sorcery.</p>
            <div class="row row-cols-1 g-4">
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body">
                            <h4>Launch Phantom GUI</h4>
                            <pre><code class="code-block">source ~/ghostpack_venv/venv/bin/activate
cd ~/ghostpack_venv
python ghostgradio.py --port 5666 --server 0.0.0.0</code></pre>
                            <p>Activates virtual environment and launches GUI on port 5666.</p>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body">
                            <h4>Craft Spells</h4>
                            <ul class="lead-text">
                                <li>Upload an image or video frame as a starting point.</li>
                                <li>Enter prompt: โ€œA spectral figure glides through a neon-lit city.โ€</li>
                                <li>Enable teacache for โšก๏ธ speed and adjust batch size for efficiency.</li>
                                <li>Set 15fps, 5s video (~75 frames) or customize duration and frame rate.</li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body">
                            <h4>Summon Spirits</h4>
                            <p class="lead-text">Monitor GPU usage with <code>nvidia-smi</code>, expecting ~80-100% utilization during rendering.</p>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body">
                            <h4>Export Results</h4>
                            <p class="lead-text">Save MP4 files with adjustable compression (CRF 0-100) for quality control.</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Community Hub Section -->
    <section id="community" class="py-5 bg-ghost-alt text-dark">
        <div class="container">
            <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐Ÿค Community Hub</h2>
            <p class="lead light-lead-text mb-4">Connect with the GhostPack community to share and learn.</p>
            <div class="row row-cols-1 row-cols-md-2 g-4">
                <div class="col">
                    <div class="card bg-ghost-alt-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐Ÿ’ฌ Discord Server</h3>
                            <p class="light-lead-text">Join for real-time support, updates, and discussions with fellow creators.</p>
                            <a href="https://discord.gg/ghostpack" class="btn btn-ghost" target="_blank">Join Now</a>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-alt-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐Ÿฆ X Thread</h3>
                            <p class="light-lead-text">Follow for the latest news, detailed tutorials, and community showcases.</p>
                            <a href="https://x.com/search?q=ghostpack" class="btn btn-ghost" target="_blank">Visit X</a>
                        </div>
                    </div>
                </div>
            </div>
            <div class="text-center mt-4">
                <a href="https://github.com/ghostai1/GhostPack/issues" class="btn btn-outline-ghost" target="_blank">Report Issues ๐Ÿšฉ</a>
            </div>
        </div>
    </section>

    <!-- Technical Deep Dive Section -->
    <section id="technical" class="py-5 bg-dark text-white">
        <div class="container">
            <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐Ÿ” Technical Deep Dive</h2>
            <p class="lead lead-text mb-4">Explore the technical foundation of GhostPackโ€™s engine.</p>
            <div class="row row-cols-1 row-cols-md-2 g-4">
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐Ÿ› ๏ธ Architecture</h3>
                            <p class="lead-text">Built on HunyuanVideo and FramePackI2V_HY, using LlamaModel and CLIPTextModel for advanced embeddings and processing.</p>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐Ÿ“Š Pipeline</h3>
                            <p class="lead-text">Employs k-diffusion sampling with unipc for high-quality frame generation, optimized for real-time preview and efficiency.</p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="text-center mt-4">
                <a href="https://github.com/ghostai1/GhostPack/wiki" class="btn btn-ghost" target="_blank">Wiki ๐Ÿ”—</a>
            </div>
        </div>
    </section>

    <!-- FAQ Section -->
    <section id="faq" class="py-5 bg-ghost-alt text-dark">
        <div class="container">
            <h2 class="text-center mb-5 animate__animated animate__fadeIn">โ“ Frequently Asked Questions</h2>
            <div class="accordion" id="faqAccordion">
                <div class="accordion-item bg-ghost-alt-card">
                    <h2 class="accordion-header"><button class="accordion-button" data-bs-toggle="collapse" data-bs-target="#faq1">What hardware is required?</button></h2>
                    <div id="faq1" class="accordion-collapse collapse show"><div class="accordion-body light-lead-text">Minimum: 6GB VRAM GPU (e.g., GTX 1650), 8GB RAM; Optimal: 12GB VRAM (e.g., RTX 3060).</div></div>
                </div>
                <div class="accordion-item bg-ghost-alt-card">
                    <h2 class="accordion-header"><button class="accordion-button collapsed" data-bs-toggle="collapse" data-bs-target="#faq2">How do I install GhostPack?</button></h2>
                    <div id="faq2" class="accordion-collapse collapse"><div class="accordion-body light-lead-text">Clone the repository and run the appropriate install script, e.g., <code>./install_ubuntu.sh</code>, as per the Installation section.</div></div>
                </div>
                <div class="accordion-item bg-ghost-alt-card">
                    <h2 class="accordion-header"><button class="accordion-button collapsed" data-bs-toggle="collapse" data-bs-target="#faq3">Can I contribute to the project?</button></h2>
                    <div id="faq3" class="accordion-collapse collapse"><div class="accordion-body light-lead-text">Yes, check the Contributing Guidelines for details on participation.</div></div>
                </div>
            </div>
        </div>
    </section>

    <!-- Tutorials Section -->
    <section id="tutorials" class="py-5 bg-dark text-white">
        <div class="container">
            <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐Ÿ“š Tutorials</h2>
            <p class="lead lead-text mb-4">Comprehensive guides to master GhostPackโ€™s video sorcery.</p>
            <div class="row row-cols-1 row-cols-md-2 g-4">
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐ŸŽฌ Getting Started</h3>
                            <p class="lead-text">Step-by-step setup and first video creation with GhostPack.</p>
                            <a href="https://github.com/ghostai1/GhostPack/wiki/Getting-Started" class="btn btn-ghost" target="_blank">View Tutorial</a>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">โš™๏ธ Advanced Configuration</h3>
                            <p class="lead-text">Detailed guide on customizing prompts, batch sizes, and advanced settings.</p>
                            <a href="https://github.com/ghostai1/GhostPack/wiki/Advanced-Configuration" class="btn btn-ghost" target="_blank">View Tutorial</a>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐ŸŽฅ Video Export Tips</h3>
                            <p class="lead-text">Expert tips for exporting MP4 files with optimal CRF settings for quality and size.</p>
                            <a href="https://github.com/ghostai1/GhostPack/wiki/Video-Export-Tips" class="btn btn-ghost" target="_blank">View Tutorial</a>
                        </div>
                    </div>
                </div>
            </div>
            <div class="text-center mt-4">
                <a href="https://github.com/ghostai1/GhostPack/wiki/Tutorials" class="btn btn-outline-ghost" target="_blank">More Tutorials ๐Ÿ“–</a>
            </div>
        </div>
    </section>

    <!-- Contributing Guidelines Section -->
    <section id="contribute" class="py-5 bg-ghost-alt text-dark">
        <div class="container">
            <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐ŸŒฑ Contributing Guidelines</h2>
            <p class="lead light-lead-text mb-4">Shape GhostPackโ€™s future with your contributions.</p>
            <div class="row">
                <div class="col-md-12">
                    <div class="card bg-ghost-alt-card">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐ŸŽฏ How to Contribute</h3>
                            <ul class="light-lead-text">
                                <li>Fork the repository and create a feature branch.</li>
                                <li>Submit pull requests with clear descriptions and code changes.</li>
                                <li>Adhere to coding standards outlined in the wiki.</li>
                                <li>Test modifications using ghostgradio.py before submission.</li>
                            </ul>
                            <a href="https://github.com/ghostai1/GhostPack/blob/main/CONTRIBUTING.md" class="btn btn-ghost" target="_blank">View Guidelines</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Screenshots Section -->
    <section id="screenshots" class="py-5 bg-dark text-white">
        <div class="container">
            <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐Ÿ“ธ Screenshots</h2>
            <p class="lead lead-text mb-4">View GhostPackโ€™s spectral magic in action.</p>
            <div class="row row-cols-1 row-cols-md-3 g-4">
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body text-center">
                            <img src="https://cdn-uploads.huggingface.co/production/uploads/6421b1c68adc8881b974a89d/7ABE2lOA4LOUtPfh1mhxP.png" alt="Main Interface" class="img-fluid rounded" style="max-height: 300px;">
                            <p class="mt-2">Main Interface</p>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body text-center">
                            <img src="https://cdn-uploads.huggingface.co/production/uploads/6421b1c68adc8881b974a89d/9qNVRX2eM2iCY8xQKcOwW.png" alt="Advanced Settings" class="img-fluid rounded" style="max-height: 300px;">
                            <p class="mt-2">Advanced Settings</p>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-card h-100">
                        <div class="card-body text-center">
                            <img src="https://cdn-uploads.huggingface.co/production/uploads/6421b1c68adc8881b974a89d/--fIS9ITg4-VqN22ySoa2.png" alt="Logs Display" class="img-fluid rounded" style="max-height: 300px;">
                            <p class="mt-2">Logs Display</p>
                        </div>
                    </div>
                </div>
            </div>
            <p class="text-center mt-4 lead-text">Add more screenshots to showcase your projects!</p>
        </div>
    </section>

    <!-- Last Files Section -->
    <section id="files" class="py-5 bg-ghost-alt text-dark">
        <div class="container">
            <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐Ÿ“‚ Latest Conjurations</h2>
            <p class="lead light-lead-text mb-4">Explore the latest files and logs from the repo.</p>
            <div class="row row-cols-1 row-cols-md-2 g-4">
                <div class="col">
                    <div class="card bg-ghost-alt-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐Ÿ“œ Latest File</h3>
                            <p class="light-lead-text">Access <code>ghostgradio.py</code>, the core GUI script of GhostPack.</p>
                            <a href="https://github.com/ghostai1/GhostPack/blob/main/ghostgradio.py" class="btn btn-ghost" target="_blank">View File</a>
                        </div>
                    </div>
                </div>
                <div class="col">
                    <div class="card bg-ghost-alt-card h-100">
                        <div class="card-body text-center">
                            <h3 class="card-title">๐Ÿ“‹ Logs</h3>
                            <p class="light-lead-text">Review render logs for debugging and performance insights.</p>
                            <a href="https://github.com/ghostai1/GhostPack/tree/main/outputs" class="btn btn-ghost" target="_blank">View Logs</a>
                        </div>
                    </div>
                </div>
            </div>
            <div class="text-center mt-4">
                <a href="https://github.com/ghostai1/GhostPack" class="btn btn-outline-ghost me-3" target="_blank">Refresh Repo ๐Ÿ”„</a>
                <a href="https://github.com/ghostai1/GhostPack/tree/main/outputs" class="btn btn-ghost" target="_blank">Refresh Logs ๐Ÿ“ฅ</a>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="bg-ghost-black text-white text-center py-3">
        <p>๐Ÿ‘ป GhostPack by ghostai1 | <a href="https://github.com/ghostai1/GhostPack">GitHub</a> | <a href="https://huggingface.co/spaces/ghostai1/GhostPack">Hugging Face</a> | Apache-2.0</p>
        <p>Created 07:09 PM CDT, June 11, 2025 ๐Ÿ˜ˆโšก๏ธ</p>
    </footer>

    <!-- Modals -->
    <div class="modal fade" id="teacacheModal" tabindex="-1" aria-labelledby="teacacheModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-lg"><div class="modal-content bg-ghost-card text-white"><div class="modal-header"><h5 class="modal-title" id="teacacheModalLabel">๐Ÿ”ฎ Teacache</h5><button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button></div><div class="modal-body"><p>Cuts frame generation time by ~40% (~12s/frame on RTX 3060) by caching diffusion states, \( T_{\text{total}} \approx 0.6 \cdot T_{\text{base}} \).</p></div></div></div>
    </div>
    <div class="modal fade" id="contextModal" tabindex="-1" aria-labelledby="contextModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-lg"><div class="modal-content bg-ghost-card text-white"><div class="modal-header"><h5 class="modal-title" id="contextModalLabel">๐Ÿงฌ Context Packing</h5><button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button></div><div class="modal-body"><p>Reduces VRAM usage by ~50% (~2-3GB for 60s video) with fixed-size matrix compression, \( M_{\text{VRAM}} \propto O(1) \).</p></div></div></div>
    </div>
    <div class="modal fade" id="batchingModal" tabindex="-1" aria-labelledby="batchingModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-lg"><div class="modal-content bg-ghost-card text-white"><div class="modal-header"><h5 class="modal-title" id="batchingModalLabel">โšก Dynamic Batching</h5><button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button></div><div class="modal-body"><p>Increases throughput by ~30-50% with adaptive batch sizes (2-4 frames), \( \text{Throughput} \propto B \cdot \text{FPS}_{\text{base}} \).</p></div></div></div>
    </div>
    <div class="modal fade" id="sageModal" tabindex="-1" aria-labelledby="sageModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-lg"><div class="modal-content bg-ghost-card text-white"><div class="modal-header"><h5 class="modal-title" id="sageModalLabel">๐Ÿง™โ€โ™‚๏ธ Sage-Attention</h5><button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button></div><div class="modal-body"><p>Optimizes attention layers for ~5-10% time savings, \( T_{\text{attn}} \approx 0.9 \cdot T_{\text{base_attn}} \).</p></div></div></div>
    </div>
    <div class="modal fade" id="tcmallocModal" tabindex="-1" aria-labelledby="tcmallocModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-lg"><div class="modal-content bg-ghost-card text-white"><div class="modal-header"><h5 class="modal-title" id="tcmallocModalLabel">๐Ÿ’พ tcmalloc</h5><button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button></div><div class="modal-body"><p>Reduces memory overhead by ~5-20% with efficient allocation, \( O_{\text{mem}} \approx 0.8 \cdot O_{\text{glibc}} \).</p></div></div></div>
    </div>
    <div class="modal fade" id="cudaModal" tabindex="-1" aria-labelledby="cudaModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-lg"><div class="modal-content bg-ghost-card text-white"><div class="modal-header"><h5 class="modal-title" id="cudaModalLabel">โšก CUDA Tweaks</h5><button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button></div><div class="modal-body"><p>Lowers latency by ~10-15% with optimized memory, \( L_{\text{CUDA}} \approx 0.85 \cdot L_{\text{base}} \).</p></div></div></div>
    </div>
    <div class="modal fade" id="dynamicModal" tabindex="-1" aria-labelledby="dynamicModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-lg"><div class="modal-content bg-ghost-card text-white"><div class="modal-header"><h5 class="modal-title" id="dynamicModalLabel">๐Ÿš€ Dynamic Scheduling</h5><button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button></div><div class="modal-body"><p>Reduces task time by ~15-20% with adaptive queues, \( T_{\text{sched}} \approx 0.8 \cdot T_{\text{base_sched}} \).</p></div></div></div>
    </div>
    <div class="modal fade" id="cacheModal" tabindex="-1" aria-labelledby="cacheModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-lg"><div class="modal-content bg-ghost-card text-white"><div class="modal-header"><h5 class="modal-title" id="cacheModalLabel">๐Ÿ“ฆ Memory Cache</h5><button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button></div><div class="modal-body"><p>Decreases swaps by ~25% with data preloading, \( M_{\text{swap}} \approx 0.75 \cdot M_{\text{base_swap}} \).</p></div></div></div>
    </div>
    <div class="modal fade" id="powerModal" tabindex="-1" aria-labelledby="powerModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-lg"><div class="modal-content bg-ghost-card text-white"><div class="modal-header"><h5 class="modal-title" id="powerModalLabel">๐Ÿ”‹ Power Optimization</h5><button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button></div><div class="modal-body"><p>Saves ~20-30% power during idle, \( P_{\text{idle}} \approx 0.7 \cdot P_{\text{base_idle}} \).</p></div></div></div>
    </div>
    <div class="modal fade" id="threadModal" tabindex="-1" aria-labelledby="threadModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-lg"><div class="modal-content bg-ghost-card text-white"><div class="modal-header"><h5 class="modal-title" id="threadModalLabel">๐Ÿงต Thread Tuning</h5><button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button></div><div class="modal-body"><p>Boosts CPU efficiency by ~10-15%, \( C_{\text{thread}} \approx 0.85 \cdot C_{\text{base_thread}} \).</p></div></div></div>
    </div>

    <!-- Bootstrap JS -->
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
    <!-- Custom JS -->
    <script src="script.js"></script>
</body>
</html>