Spaces:
Paused
Paused
Download static/index.html from ttnikal/Filesharing: direct link, hf CLI and curl.
- Browser
- Download file 2.84 kB
-
https://huggingface.co/spaces/ttnikal/Filesharing/resolve/main/static/index.html
- Command line
-
hf download hf://spaces/ttnikal/Filesharing/static/index.html
-
curl -L -o index.html https://huggingface.co/spaces/ttnikal/Filesharing/resolve/main/static/index.html
2.84 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>NexusShare - Advanced File Sharing</title> | |
| <link rel="stylesheet" href="/static/style.css"> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <header> | |
| <h1><i class="fas fa-cloud-upload-alt"></i> NexusShare</h1> | |
| <p>Secure, Fast, and Universal File Sharing</p> | |
| </header> | |
| <main> | |
| <div id="upload-section" class="drop-zone"> | |
| <div class="drop-zone-content"> | |
| <i class="fas fa-file-import fa-3x"></i> | |
| <p>Drag & Drop files here or click to browse</p> | |
| <input type="file" id="file-input" multiple hidden> | |
| <button class="btn-primary" id="browse-btn">Select Files</button> | |
| </div> | |
| </div> | |
| <div id="upload-progress-container" class="upload-progress-container hidden"> | |
| <h3>Uploading...</h3> | |
| <div id="progress-items"></div> | |
| </div> | |
| <div id="terminal-section" class="cli-section"> | |
| <div class="section-header"> | |
| <h2><i class="fas fa-terminal"></i> Terminal Setup</h2> | |
| </div> | |
| <p>Run this command once to enable <code>share</code> in your terminal:</p> | |
| <div class="link-group"> | |
| <code id="cli-setup-cmd">echo 'share() { curl -T "$1" "https://ttnikal-filesharing.hf.space/upload/$(basename "$1")"; }' >> ~/.bashrc && source ~/.bashrc</code> | |
| <button class="copy-btn" onclick="copySetupCmd()"><i class="fas fa-copy"></i></button> | |
| </div> | |
| <p class="meta-hint">Usage: <code>share filename.txt</code></p> | |
| </div> | |
| <div class="file-list-section"> | |
| <div class="section-header"> | |
| <h2>Recent Files</h2> | |
| <div> | |
| <button id="zip-selected-btn" class="btn-icon" title="Zip Selected Files"><i class="fas fa-file-archive"></i> Zip Selected</button> | |
| <button id="refresh-btn" class="btn-icon"><i class="fas fa-sync-alt"></i></button> | |
| </div> | |
| </div> | |
| <div id="file-list" class="file-list"> | |
| <!-- Files will be loaded here --> | |
| <div class="loader">Loading files...</div> | |
| </div> | |
| </div> | |
| </main> | |
| <footer> | |
| <p>© 2026 NexusShare. Powered by FastAPI.</p> | |
| </footer> | |
| </div> | |
| <script src="/static/script.js"></script> | |
| </body> | |
| </html> | |