GhostPack / index.html
ghostai1's picture
Update index.html
803579a verified
<!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/bootstrap@5.3.3/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 with Dynamic Effects -->
<nav class="navbar navbar-expand-lg navbar-dark bg-ghost-nav">
<div class="container-fluid">
<a class="navbar-brand animate__animated animate__pulse" 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">Install</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 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">Files</a></li>
<li class="nav-item"><a class="nav-link" href="#screenshots">Screenshots</a></li>
<li class="nav-item"><a class="nav-link" href="#ads">Ads & Offers</a></li>
</ul>
</div>
</div>
</nav>
<!-- Hero Section with Cosmic Vibe -->
<section id="home" class="hero-section text-center text-white">
<div class="container py-5">
<h1 class="display-2 animate__animated animate__zoomIn animate__delay-1s" style="text-shadow: 0 0 20px #00ffcc, 0 0 30px #ff00ff;">๐Ÿ‘ป GhostPack</h1>
<p class="lead animate__animated animate__fadeIn animate__delay-2s">Unleash Veo 3-Level Video Sorcery on Your Laptop! ๐Ÿ˜ˆ๐Ÿš€</p>
<p class="animate__animated animate__fadeIn animate__delay-3s">Transform your โ‰ฅ6GB VRAM GPU into a spectral video powerhouse with ghostai1โ€™s genius math.</p>
<div class="preview-window animate__animated animate__fadeInUp animate__delay-4s">
<img src="https://huggingface.co/spaces/ghostai1/GhostPack/resolve/main/preview_mockup.png" alt="GhostPack Preview" class="img-fluid rounded shadow-lg" style="border: 3px solid #00ffcc;">
<p class="mt-2 text-muted">Witness the cutting-edge ghostgradio.py interface in action!</p>
</div>
<div class="mt-4">
<a href="#installation" class="btn btn-ghost btn-lg animate__animated animate__pulse animate__infinite">Get Started Now ๐Ÿ› ๏ธ</a>
<a href="https://github.com/ghostai1/GhostPack" class="btn btn-outline-ghost btn-lg animate__animated animate__pulse animate__infinite" target="_blank">Explore GitHub ๐ŸŒŸ</a>
</div>
</div>
</section>
<!-- Features Section with Enhanced Details -->
<section id="features" class="py-5 bg-dark text-white">
<div class="container">
<h2 class="text-center mb-5 animate__animated animate__fadeInUp">โœจ Spectral Features Unleashed</h2>
<p class="lead lead-text mb-4">Dive into GhostPackโ€™s revolutionary video generation capabilities.</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>๐Ÿ“น Veo 3-Level AI</h3>
<p class="card-text">Generates hyper-realistic videos using cutting-edge next-frame prediction, optimized for 8GB RAM laptops with fluid, seamless transitions powered by advanced neural networks.</p>
</div>
</div>
</div>
<div class="col">
<div class="card bg-ghost-card h-100">
<div class="card-body text-center">
<h3>โšก๏ธ Phantom Speed</h3>
<p class="card-text">Leverages Teacache to slash rendering time by ~40%, delivering frames in ~12-15s on RTX 3060, ideal for rapid prototyping and production.</p>
</div>
</div>
</div>
<div class="col">
<div class="card bg-ghost-card h-100">
<div class="card-body text-center">
<h3>๐Ÿ› ๏ธ Laptop Domination</h3>
<p class="card-text">Runs 13B parameter models efficiently on GPUs with โ‰ฅ6GB VRAM, tailored for budget-friendly setups like the RTX 3060, democratizing AI video creation.</p>
</div>
</div>
</div>
<div class="col">
<div class="card bg-ghost-card h-100">
<div class="card-body text-center">
<h3>๐ŸŽ›๏ธ Custom Workflows</h3>
<p class="card-text">Offers extensive customization with adjustable frame lengths, batch sizes, and detailed prompt engineering for unparalleled creative control.</p>
</div>
</div>
</div>
<div class="col">
<div class="card bg-ghost-card h-100">
<div class="card-body text-center">
<h3>๐Ÿ‘๏ธ Live Preview</h3>
<p class="card-text">Provides real-time frame previews in ghostgradio.py, allowing instant tweaks and visual feedback during the creative process.</p>
</div>
</div>
</div>
<div class="col">
<div class="card bg-ghost-card h-100">
<div class="card-body text-center">
<h3>๐Ÿค Open Source Power</h3>
<p class="card-text">Thrives on community contributions, offering open-source code for continuous improvement and collaborative innovation.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Optimizations Section with Deep Knowledge -->
<section id="optimizations" class="py-5 bg-dark text-white">
<div class="container">
<h2 class="text-center mb-5 animate__animated animate__fadeInUp">๐Ÿง™โ€โ™‚๏ธ Ghostai1โ€™s Math Sorcery</h2>
<p class="lead lead-text mb-4">Unlock the science behind GhostPackโ€™s performance optimizations.</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 h-100"><div class="card-body"><h3>๐Ÿ”ฎ Teacache</h3><p class="lead-text">Caches diffusion states to reduce computation, cutting frame time by ~40% (~12s/frame on RTX 3060). Formula: \( T_{\text{total}} \approx 0.6 \cdot T_{\text{base}} \), optimizing GPU cycles.</p></div></div></div>
<div class="col"><div class="card bg-ghost-card h-100"><div class="card-body"><h3>๐Ÿง™โ€โ™‚๏ธ Sage-Attention</h3><p class="lead-text">Streamlines transformer attention layers, boosting speed by ~5-10% with \( T_{\text{attn}} \approx 0.9 \cdot T_{\text{base_attn}} \), enhancing low-VRAM performance.</p></div></div></div>
<div class="col"><div class="card bg-ghost-card h-100"><div class="card-body"><h3>โšก CUDA Tweaks</h3><p class="lead-text">Optimizes memory allocation, reducing latency by ~10-15% with \( L_{\text{CUDA}} \approx 0.85 \cdot L_{\text{base}} \), maximizing GPU efficiency.</p></div></div></div>
<div class="col"><div class="card bg-ghost-card h-100"><div class="card-body"><h3>๐Ÿš€ Dynamic Scheduling</h3><p class="lead-text">Adapts processing queues, speeding tasks by ~15-20% with \( T_{\text{sched}} \approx 0.8 \cdot T_{\text{base_sched}} \), improving workflow efficiency.</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 h-100"><div class="card-body"><h3>๐Ÿงฌ Context Packing</h3><p class="lead-text">Compresses frame contexts into a fixed matrix, saving ~50% VRAM (~2-3GB) with \( M_{\text{VRAM}} \propto O(1) \), enabling long videos on low-memory GPUs.</p></div></div></div>
<div class="col"><div class="card bg-ghost-card h-100"><div class="card-body"><h3>๐Ÿ’พ tcmalloc</h3><p class="lead-text">Replaces standard allocation, cutting overhead by ~5-20% with \( O_{\text{mem}} \approx 0.8 \cdot O_{\text{glibc}} \), easing CPU load.</p></div></div></div>
<div class="col"><div class="card bg-ghost-card h-100"><div class="card-body"><h3>๐Ÿ“ฆ Memory Cache</h3><p class="lead-text">Preloads data, reducing swaps by ~25% with \( M_{\text{swap}} \approx 0.75 \cdot M_{\text{base_swap}} \), boosting data access speed.</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 h-100"><div class="card-body"><h3>โšก Dynamic Batching</h3><p class="lead-text">Adapts batch sizes (2-4 frames), increasing throughput by ~30-50% with \( \text{Throughput} \propto B \cdot \text{FPS}_{\text{base}} \), optimizing GPU load.</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 h-100"><div class="card-body"><h3>๐Ÿ”‹ Power Optimization</h3><p class="lead-text">Reduces power draw by ~20-30% during idle with \( P_{\text{idle}} \approx 0.7 \cdot P_{\text{base_idle}} \), perfect for energy-efficient setups.</p></div></div></div>
<div class="col"><div class="card bg-ghost-card h-100"><div class="card-body"><h3>๐Ÿงต Thread Tuning</h3><p class="lead-text">Optimizes thread allocation, boosting CPU efficiency by ~10-15% with \( 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-12">
<h3 class="text-center 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, use teacache</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 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 with Epic Vibe -->
<section id="demo" class="py-5 bg-dark text-white">
<div class="container">
<h2 class="text-center mb-5 animate__animated animate__fadeInUp">๐ŸŽฅ Demo Video Showcase</h2>
<p class="lead lead-text mb-4 animate__animated animate__fadeIn">Behold GhostPackโ€™s spectral video generation in action!</p>
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card bg-ghost-card animate__animated animate__fadeIn" style="border: 3px solid #ff00ff; box-shadow: 0 0 20px #ff00ff;">
<div class="card-body text-center p-4">
<img src="https://cdn-uploads.huggingface.co/production/uploads/6421b1c68adc8881b974a89d/k8pgUlg4OvdUZpbMNTcp5.gif" alt="GhostPack Demo GIF" class="img-fluid rounded" style="max-height: 400px; animation: pulse 2s infinite;">
<p class="mt-3">Epic sample 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 animate__animated animate__bounce" target="_blank">Unlock More Demos ๐Ÿ“น</a>
</div>
</div>
</section>
<!-- Future Features with Visionary Details -->
<section id="future" class="py-5 bg-ghost-alt text-white">
<div class="container">
<h2 class="text-center mb-5 animate__animated animate__fadeInUp">๐ŸŒŒ Future Spectral Phantoms</h2>
<p class="lead light-lead-text mb-4">Groundbreaking upgrades to revolutionize AI video creation.</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>๐Ÿ—ฃ๏ธ Voice Generation</h3>
<p class="light-lead-text">Advanced AI voice synthesis with customizable tones and pitch, seamlessly integrated into ghostgradio.py for immersive narrated videos.</p>
</div>
</div>
</div>
<div class="col">
<div class="card bg-ghost-alt-card h-100">
<div class="card-body text-center">
<h3>๐Ÿ–ผ๏ธ AI Images</h3>
<p class="light-lead-text">Generates stunning, high-resolution starting frames with AI-crafted visuals, elevating video pipeline creativity to new heights.</p>
</div>
</div>
</div>
<div class="col">
<div class="card bg-ghost-alt-card h-100">
<div class="card-body text-center">
<h3>๐ŸŽฎ VR Integration</h3>
<p class="light-lead-text">Future-ready VR video rendering, delivering immersive 3D spectral experiences with real-time interaction.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Installation Section with Detailed Steps -->
<section id="installation" class="py-5 bg-dark text-white">
<div class="container">
<h2 class="text-center mb-5 animate__animated animate__fadeInUp">๐Ÿ› ๏ธ Unleash GhostPack</h2>
<p class="lead lead-text mb-4">Step into the future with a simple installation, requiring >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>๐Ÿง 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, and CUDA 12.6 for optimal performance.</p>
</div>
</div>
</div>
<div class="col">
<div class="card bg-ghost-card h-100">
<div class="card-body text-center">
<h3>๐ŸชŸ Windows</h3>
<pre><code class="code-block">git clone https://github.com/ghostai1/GhostPack
cd GhostPack
install.bat</code></pre>
<p>Automatically downloads >30GB models, ensure NVIDIA drivers are installed.</p>
</div>
</div>
</div>
<div class="col">
<div class="card bg-ghost-card h-100">
<div class="card-body text-center">
<h3>๐ŸŽ 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>Supports M1/M2 (slower performance), 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 animate__animated animate__bounce" target="_blank">Grab Latest Release ๐Ÿ“ฆ</a>
</div>
</div>
</section>
<!-- Usage Section with In-Depth Guide -->
<section id="usage" class="py-5 bg-dark text-white">
<div class="container">
<h2 class="text-center mb-5 animate__animated animate__fadeInUp">๐Ÿ“น Weave Ghostly Videos</h2>
<p class="lead lead-text mb-4">Master GhostPack with this detailed usage guide.</p>
<div class="row row-cols-1 g-4">
<div class="col">
<div class="card bg-ghost-card h-100">
<div class="card-body">
<h3>Launch Phantom GUI</h3>
<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 the virtual environment and launches the GUI, accessible locally on port 5666.</p>
</div>
</div>
</div>
<div class="col">
<div class="card bg-ghost-card h-100">
<div class="card-body">
<h3>Craft Spells</h3>
<ul class="lead-text">
<li>Upload a base image or video frame to kickstart your project.</li>
<li>Input a vivid prompt: โ€œA spectral figure glides through a neon-lit city under twin moons.โ€</li>
<li>Enable teacache for โšก๏ธ speed and fine-tune batch size for optimal performance.</li>
<li>Set 15fps for a 5-second video (~75 frames) or customize duration and frame rate for unique outputs.</li>
</ul>
</div>
</div>
</div>
<div class="col">
<div class="card bg-ghost-card h-100">
<div class="card-body">
<h3>Summon Spirits</h3>
<p class="lead-text">Monitor GPU usage with <code>nvidia-smi</code>, expecting ~80-100% utilization as the spectral magic unfolds.</p>
</div>
</div>
</div>
<div class="col">
<div class="card bg-ghost-card h-100">
<div class="card-body">
<h3>Export Results</h3>
<p class="lead-text">Export your masterpiece as an MP4 with adjustable compression (CRF 0-100) to balance quality and file size.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Community Hub with Interactive Flair -->
<section id="community" class="py-5 bg-ghost-alt text-white">
<div class="container">
<h2 class="text-center mb-5 animate__animated animate__fadeInUp">๐Ÿค Community Hub</h2>
<p class="lead light-lead-text mb-4">Join a vibrant community to collaborate and innovate.</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>๐Ÿ’ฌ Discord Server</h3>
<p class="light-lead-text">Connect with creators worldwide for real-time support, updates, and spectral brainstorming sessions.</p>
<a href="https://discord.gg/ghostpack" class="btn btn-ghost animate__animated animate__bounce" target="_blank">Join the Spectral Chat</a>
</div>
</div>
</div>
<div class="col">
<div class="card bg-ghost-alt-card h-100">
<div class="card-body text-center">
<h3>๐Ÿฆ X Thread</h3>
<p class="light-lead-text">Follow for breaking news, expert tutorials, and stunning community-generated showcases.</p>
<a href="https://x.com/search?q=ghostpack" class="btn btn-ghost animate__animated animate__bounce" target="_blank">Dive into 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 animate__animated animate__pulse" target="_blank">Report Issues ๐Ÿšฉ</a>
</div>
</div>
</section>
<!-- Technical Deep Dive with Expert Insights -->
<section id="technical" class="py-5 bg-dark text-white">
<div class="container">
<h2 class="text-center mb-5 animate__animated animate__fadeInUp">๐Ÿ” Technical Deep Dive</h2>
<p class="lead lead-text mb-4">Explore the intricate technology powering GhostPack.</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>๐Ÿ› ๏ธ Architecture</h3>
<p class="lead-text">Built on HunyuanVideo and FramePackI2V_HY frameworks, utilizing LlamaModel for language processing and CLIPTextModel for visual embeddings, creating a robust AI backbone.</p>
</div>
</div>
</div>
<div class="col">
<div class="card bg-ghost-card h-100">
<div class="card-body text-center">
<h3>๐Ÿ“Š Pipeline</h3>
<p class="lead-text">Employs k-diffusion sampling with unipc for high-fidelity frame generation, optimized with real-time preview capabilities and efficient memory handling.</p>
</div>
</div>
</div>
</div>
<div class="text-center mt-4">
<a href="https://github.com/ghostai1/GhostPack/wiki" class="btn btn-ghost animate__animated animate__bounce" target="_blank">Dive into Wiki ๐Ÿ”—</a>
</div>
</div>
</section>
<!-- FAQ Section with Expanded Answers -->
<section id="faq" class="py-5 bg-ghost-alt text-white">
<div class="container">
<h2 class="text-center mb-5 animate__animated animate__fadeInUp">โ“ 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 needed?</button></h2>
<div id="faq1" class="accordion-collapse collapse show"><div class="accordion-body light-lead-text">Minimum requirement: 6GB VRAM GPU (e.g., GTX 1650) with 8GB RAM; Optimal setup: 12GB VRAM (e.g., RTX 3060) for full feature access and performance.</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 from GitHub, navigate to the directory, and run the appropriate install script (e.g., <code>./install_ubuntu.sh</code>) as outlined in the Installation section for a seamless setup.</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?</button></h2>
<div id="faq3" class="accordion-collapse collapse"><div class="accordion-body light-lead-text">Yes, contributions are welcome! Check the Contributing Guidelines for a detailed process to join the development team.</div></div>
</div>
</div>
</div>
</section>
<!-- Tutorials Section with Rich Content -->
<section id="tutorials" class="py-5 bg-dark text-white">
<div class="container">
<h2 class="text-center mb-5 animate__animated animate__fadeInUp">๐Ÿ“š Tutorials</h2>
<p class="lead lead-text mb-4">Master GhostPack with these in-depth learning resources.</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>๐ŸŽฌ Getting Started</h3>
<p class="lead-text">A step-by-step guide to install GhostPack and create your first spectral video, from setup to export.</p>
<a href="https://github.com/ghostai1/GhostPack/wiki/Getting-Started" class="btn btn-ghost animate__animated animate__bounce" target="_blank">Start Here</a>
</div>
</div>
</div>
<div class="col">
<div class="card bg-ghost-card h-100">
<div class="card-body text-center">
<h3>โš™๏ธ Advanced Configuration</h3>
<p class="lead-text">Unlock pro-level control with detailed instructions on customizing prompts, batch sizes, and advanced settings.</p>
<a href="https://github.com/ghostai1/GhostPack/wiki/Advanced-Configuration" class="btn btn-ghost animate__animated animate__bounce" target="_blank">Go Pro</a>
</div>
</div>
</div>
<div class="col">
<div class="card bg-ghost-card h-100">
<div class="card-body text-center">
<h3>๐ŸŽฅ Video Export Tips</h3>
<p class="lead-text">Expert techniques for exporting MP4s with optimal CRF settings to balance quality, size, and performance.</p>
<a href="https://github.com/ghostai1/GhostPack/wiki/Video-Export-Tips" class="btn btn-ghost animate__animated animate__bounce" target="_blank">Export Mastery</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 animate__animated animate__pulse" target="_blank">Discover More ๐Ÿ“–</a>
</div>
</div>
</section>
<!-- Contributing Guidelines with Community Call -->
<section id="contribute" class="py-5 bg-ghost-alt text-white">
<div class="container">
<h2 class="text-center mb-5 animate__animated animate__fadeInUp">๐ŸŒฑ Contributing Guidelines</h2>
<p class="lead light-lead-text mb-4">Join the revolution and shape GhostPackโ€™s future.</p>
<div class="row">
<div class="col-md-12">
<div class="card bg-ghost-alt-card">
<div class="card-body text-center">
<h3>๐ŸŽฏ How to Contribute</h3>
<ul class="light-lead-text">
<li>Fork the repository and create a dedicated feature branch for your changes.</li>
<li>Submit pull requests with thorough descriptions and tested code.</li>
<li>Adhere to coding standards outlined in the wiki for consistency.</li>
<li>Test your enhancements with ghostgradio.py to ensure compatibility.</li>
</ul>
<a href="https://github.com/ghostai1/GhostPack/blob/main/CONTRIBUTING.md" class="btn btn-ghost animate__animated animate__bounce" target="_blank">Join the Team</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Screenshots Section with Gallery Feel -->
<section id="screenshots" class="py-5 bg-dark text-white">
<div class="container">
<h2 class="text-center mb-5 animate__animated animate__fadeInUp">๐Ÿ“ธ Screenshots Gallery</h2>
<p class="lead lead-text mb-4">Immerse yourself in GhostPackโ€™s visual magic.</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 shadow-lg" style="max-height: 300px;">
<p class="mt-2">Main Interface: Command Center</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 shadow-lg" style="max-height: 300px;">
<p class="mt-2">Advanced Settings: Fine-Tune Power</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 shadow-lg" style="max-height: 300px;">
<p class="mt-2">Logs Display: Performance Insights</p>
</div>
</div>
</div>
</div>
<p class="text-center mt-4 lead-text">Upload your own screenshots to flaunt your spectral creations!</p>
</div>
</section>
<!-- Last Files Section with Live Updates -->
<section id="files" class="py-5 bg-ghost-alt text-white">
<div class="container">
<h2 class="text-center mb-5 animate__animated animate__fadeInUp">๐Ÿ“‚ Latest Conjurations</h2>
<p class="lead light-lead-text mb-4">Access the freshest files and logs from the GhostPack vault.</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>๐Ÿ“œ Latest File</h3>
<p class="light-lead-text">Dive into <code>ghostgradio.py</code>, the pulsating core of GhostPackโ€™s GUI, updated regularly.</p>
<a href="https://github.com/ghostai1/GhostPack/blob/main/ghostgradio.py" class="btn btn-ghost animate__animated animate__bounce" 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>๐Ÿ“‹ Logs</h3>
<p class="light-lead-text">Explore real-time render logs for debugging and performance optimization.</p>
<a href="https://github.com/ghostai1/GhostPack/tree/main/outputs" class="btn btn-ghost animate__animated animate__bounce" 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 animate__animated animate__pulse me-3" target="_blank">Refresh Repo ๐Ÿ”„</a>
<a href="https://github.com/ghostai1/GhostPack/tree/main/outputs" class="btn btn-ghost animate__animated animate__pulse" target="_blank">Refresh Logs ๐Ÿ“ฅ</a>
</div>
</div>
</section>
<!-- Ads & Offers Section with Flashy Promotions for Your Stuff -->
<section id="ads" class="py-5 bg-dark text-white">
<div class="container">
<h2 class="text-center mb-5 animate__animated animate__fadeInUp">๐Ÿ’ฐ Ads & Exclusive Offers</h2>
<p class="lead lead-text mb-4">Level up your spectral journey with these epic deals!</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>๐ŸŽฎ GhostPack Pro Pack</h3>
<p class="lead-text">Unlock exclusive templates, advanced tutorials, and priority support for your GhostPack projects! Visit <a href="https://huggingface.co/spaces/ghostai1/GhostPack-Pro" target="_blank">GhostPack Pro</a> to grab this limited-time offer.</p>
<a href="https://huggingface.co/spaces/ghostai1/GhostPack-Pro" class="btn btn-ghost animate__animated animate__bounce" target="_blank">Get Pro Pack Now!</a>
</div>
</div>
</div>
<div class="col">
<div class="card bg-ghost-card h-100">
<div class="card-body text-center">
<h3>๐ŸŒ GhostAI Marketplace</h3>
<p class="lead-text">Sell your spectral creations or buy unique assets on the GhostAI Marketplace! Check out <a href="https://ghostai-marketplace.com" target="_blank">ghostai-marketplace.com</a> for a thriving community hub.</p>
<a href="https://ghostai-marketplace.com" class="btn btn-ghost animate__animated animate__bounce" target="_blank">Join Marketplace</a>
</div>
</div>
</div>
</div>
<div class="row mt-4">
<div class="col">
<div class="card bg-ghost-card h-100">
<div class="card-body text-center">
<h3>๐Ÿ“š GhostPack Masterclass</h3>
<p class="lead-text">Enroll in the GhostPack Masterclass for in-depth video sorcery training! Learn advanced techniques at <a href="https://ghostai1.teachable.com" target="_blank">ghostai1.teachable.com</a> and become a pro creator.</p>
<a href="https://ghostai1.teachable.com" class="btn btn-ghost animate__animated animate__bounce" target="_blank">Enroll Today!</a>
</div>
</div>
</div>
</div>
<p class="text-center mt-4 lead-text animate__animated animate__flash">More exclusive drops coming soonโ€”stay spectral! ๐Ÿš€๐Ÿ‘ป</p>
</div>
</section>
<!-- Footer with Dynamic Glow -->
<footer class="bg-ghost-black text-white text-center py-3">
<p class="animate__animated animate__pulse animate__infinite">๐Ÿ‘ป 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 class="animate__animated animate__fadeIn animate__delay-1s">Created 07:29 PM CDT, June 11, 2025 ๐Ÿ˜ˆโšก๏ธ</p>
</footer>
<!-- Modals with Expanded Knowledge -->
<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>Teacache is a revolutionary caching mechanism that stores intermediate diffusion states, slashing frame generation time by approximately 40% (down to ~12 seconds per frame on an RTX 3060). This optimization leverages a mathematical reduction where \( T_{\text{total}} \approx 0.6 \cdot T_{\text{base}} \), significantly enhancing GPU cycle efficiency and enabling faster iterative video creation.</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>Context Packing compresses frame contexts into a fixed-size matrix, reducing VRAM usage by ~50% (saving ~2-3GB for a 60-second video). This technique uses a constant memory model \( M_{\text{VRAM}} \propto O(1) \), making it ideal for low-memory GPUs like the GTX 1650, expanding accessibility.</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>Dynamic Batching adjusts batch sizes (2-4 frames) dynamically, boosting throughput by ~30-50%. The formula \( \text{Throughput} \propto B \cdot \text{FPS}_{\text{base}} \) optimizes GPU load, enhancing performance across varying hardware capacities.</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>Sage-Attention refines transformer attention mechanisms, saving ~5-10% processing time with \( T_{\text{attn}} \approx 0.9 \cdot T_{\text{base_attn}} \). This reduces computational overhead, especially beneficial for low-VRAM systems.</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>tcmalloc replaces standard memory allocation, reducing overhead by ~5-20% with \( O_{\text{mem}} \approx 0.8 \cdot O_{\text{glibc}} \), improving multitasking and system stability.</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>CUDA Tweaks optimize memory allocation, cutting latency by ~10-15% with \( L_{\text{CUDA}} \approx 0.85 \cdot L_{\text{base}} \), maximizing NVIDIA GPU potential.</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>Dynamic Scheduling adapts processing queues, reducing task time by ~15-20% with \( T_{\text{sched}} \approx 0.8 \cdot T_{\text{base_sched}} \), enhancing multi-task efficiency.</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>Memory Cache preloads data, cutting swap operations by ~25% with \( M_{\text{swap}} \approx 0.75 \cdot M_{\text{base_swap}} \), improving data retrieval speed.</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>Power Optimization lowers consumption by ~20-30% during idle with \( P_{\text{idle}} \approx 0.7 \cdot P_{\text{base_idle}} \), ideal for sustainable use.</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>Thread Tuning optimizes allocation, boosting CPU efficiency by ~10-15% with \( C_{\text{thread}} \approx 0.85 \cdot C_{\text{base_thread}} \), reducing overhead.</p></div></div></div>
</div>
<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<!-- Custom JS -->
<script src="script.js"></script>
<style>
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
</style>
</body>
</html>