anycoder-778fb29a / index.html
sky-meilin's picture
Upload folder using huggingface_hub
b68f509 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sky Liberator 5.0 - Script Downloader</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
:root {
--primary: #4a6bff;
--primary-dark: #3a5bef;
--secondary: #f8f9fa;
--text: #333;
--text-light: #666;
--warning: #ffc107;
--danger: #dc3545;
--success: #28a745;
--border-radius: 12px;
--box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
--transition: all 0.3s ease;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
color: var(--text);
line-height: 1.6;
}
header {
width: 100%;
max-width: 1200px;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.logo {
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
color: var(--text);
}
.logo i {
font-size: 2rem;
color: var(--primary);
}
.logo span {
font-weight: 600;
font-size: 1.5rem;
}
.anycoder-link {
font-size: 0.9rem;
color: var(--text-light);
text-decoration: none;
transition: var(--transition);
}
.anycoder-link:hover {
color: var(--primary);
}
.container {
width: 100%;
max-width: 800px;
background: white;
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
padding: 30px;
margin-bottom: 30px;
}
h1 {
text-align: center;
margin-bottom: 20px;
color: var(--primary);
font-weight: 700;
font-size: 2rem;
}
.description {
text-align: center;
margin-bottom: 30px;
color: var(--text-light);
font-size: 1.1rem;
}
.warning-box {
background: rgba(255, 193, 7, 0.1);
border-left: 4px solid var(--warning);
padding: 15px;
margin-bottom: 30px;
border-radius: 0 var(--border-radius) var(--border-radius) 0;
display: flex;
align-items: start;
gap: 10px;
}
.warning-box i {
color: var(--warning);
margin-top: 3px;
}
.warning-box p {
margin: 0;
font-size: 0.95rem;
}
.code-block {
background: #f8f9fa;
border-radius: var(--border-radius);
padding: 20px;
margin: 20px 0;
font-family: 'Courier New', Courier, monospace;
font-size: 0.9rem;
overflow-x: auto;
position: relative;
}
.code-block::before {
content: "Command";
position: absolute;
top: -10px;
left: 20px;
background: white;
padding: 0 10px;
font-size: 0.8rem;
color: var(--text-light);
}
.code-block pre {
margin: 0;
white-space: pre-wrap;
word-wrap: break-word;
}
.btn {
display: inline-block;
padding: 12px 24px;
background: var(--primary);
color: white;
border: none;
border-radius: var(--border-radius);
font-weight: 600;
cursor: pointer;
transition: var(--transition);
text-decoration: none;
text-align: center;
font-size: 1rem;
}
.btn:hover {
background: var(--primary-dark);
transform: translateY(-2px);
}
.btn:disabled {
background: #cccccc;
cursor: not-allowed;
transform: none;
}
.btn-danger {
background: var(--danger);
}
.btn-danger:hover {
background: #c82333;
}
.btn-group {
display: flex;
gap: 15px;
margin-top: 30px;
flex-wrap: wrap;
justify-content: center;
}
.status {
margin-top: 30px;
padding: 15px;
border-radius: var(--border-radius);
text-align: center;
display: none;
}
.status-success {
background: rgba(40, 167, 69, 0.1);
color: var(--success);
display: block;
}
.status-error {
background: rgba(220, 53, 69, 0.1);
color: var(--danger);
display: block;
}
.progress-container {
margin-top: 20px;
display: none;
}
.progress-bar {
height: 6px;
background: #e9ecef;
border-radius: 3px;
overflow: hidden;
}
.progress {
height: 100%;
background: var(--primary);
width: 0%;
transition: width 0.3s ease;
}
.instructions {
margin-top: 30px;
padding: 20px;
background: var(--secondary);
border-radius: var(--border-radius);
}
.instructions h3 {
margin-bottom: 15px;
color: var(--primary);
}
.instructions ol {
padding-left: 20px;
}
.instructions li {
margin-bottom: 10px;
}
footer {
width: 100%;
max-width: 1200px;
text-align: center;
padding: 20px;
color: var(--text-light);
font-size: 0.9rem;
}
@media (max-width: 768px) {
.container {
padding: 20px;
}
.btn-group {
flex-direction: column;
}
.btn {
width: 100%;
}
header {
flex-direction: column;
gap: 15px;
text-align: center;
}
.logo {
justify-content: center;
}
}
@media (max-width: 480px) {
h1 {
font-size: 1.5rem;
}
.description {
font-size: 1rem;
}
}
</style>
</head>
<body>
<header>
<a href="#" class="logo">
<i class="fas fa-cloud-download-alt"></i>
<span>Sky Liberator</span>
</a>
<a href="https://huggingface.co/spaces/akhaliq/anycoder" class="anycoder-link" target="_blank">
<i class="fas fa-code"></i> Built with anycoder
</a>
</header>
<div class="container">
<h1>Sky Liberator 5.0</h1>
<p class="description">Download and execute the latest version of the Sky Liberator script</p>
<div class="warning-box">
<i class="fas fa-exclamation-triangle"></i>
<p><strong>Security Warning:</strong> This script will be downloaded and made executable. Only proceed if you trust the source. We are not responsible for any damage caused by executing this script.</p>
</div>
<div class="code-block">
<pre>wget https://raw.githubusercontent.com/YOUR_USERNAME/sky-liberator/main/sky_liberator_5.0.sh
chmod +x sky_liberator_5.0.sh</pre>
</div>
<div class="btn-group">
<button id="downloadBtn" class="btn">
<i class="fas fa-download"></i> Download Script
</button>
<button id="executeBtn" class="btn btn-danger" disabled>
<i class="fas fa-play"></i> Make Executable
</button>
</div>
<div class="progress-container" id="progressContainer">
<div class="progress-bar">
<div class="progress" id="progressBar"></div>
</div>
</div>
<div class="status" id="statusMessage"></div>
<div class="instructions">
<h3>Manual Instructions</h3>
<ol>
<li>Open your terminal</li>
<li>Run the commands shown above</li>
<li>The first command downloads the script</li>
<li>The second command makes it executable</li>
<li>You can then run the script with: <code>./sky_liberator_5.0.sh</code></li>
</ol>
</div>
</div>
<footer>
<p>© 2023 Sky Liberator. All rights reserved. | This tool is for educational purposes only.</p>
</footer>
<script>
document.addEventListener('DOMContentLoaded', function() {
const downloadBtn = document.getElementById('downloadBtn');
const executeBtn = document.getElementById('executeBtn');
const statusMessage = document.getElementById('statusMessage');
const progressContainer = document.getElementById('progressContainer');
const progressBar = document.getElementById('progressBar');
let downloadComplete = false;
// Simulate download process
downloadBtn.addEventListener('click', function() {
downloadBtn.disabled = true;
downloadBtn.textContent = 'Downloading...';
progressContainer.style.display = 'block';
let progress = 0;
const interval = setInterval(() => {
progress += Math.random() * 10;
if (progress > 90) {
progress = 90;
}
progressBar.style.width = progress + '%';
if (progress >= 90) {
clearInterval(interval);
setTimeout(() => {
progressBar.style.width = '100%';
downloadBtn.textContent = 'Download Complete';
downloadBtn.disabled = true;
executeBtn.disabled = false;
downloadComplete = true;
statusMessage.textContent = 'Script downloaded successfully!';
statusMessage.className = 'status status-success';
}, 500);
}
}, 300);
});
// Simulate making executable
executeBtn.addEventListener('click', function() {
if (!downloadComplete) return;
executeBtn.disabled = true;
executeBtn.textContent = 'Processing...';
setTimeout(() => {
executeBtn.textContent = 'Script is Executable';
statusMessage.textContent = 'Script is now executable. You can run it with: ./sky_liberator_5.0.sh';
statusMessage.className = 'status status-success';
// Create a fake terminal output effect
const terminalOutput = document.createElement('div');
terminalOutput.style.marginTop = '20px';
terminalOutput.style.padding = '15px';
terminalOutput.style.background = '#000';
terminalOutput.style.color = '#0f0';
terminalOutput.style.borderRadius = 'var(--border-radius)';
terminalOutput.style.fontFamily = 'monospace';
terminalOutput.style.whiteSpace = 'pre';
terminalOutput.textContent = `$ chmod +x sky_liberator_5.0.sh\n$ ./sky_liberator_5.0.sh\n[Sky Liberator 5.0] Initializing...\n[Sky Liberator 5.0] Ready!`;
const btnGroup = document.querySelector('.btn-group');
btnGroup.parentNode.insertBefore(terminalOutput, btnGroup.nextSibling);
}, 1500);
});
// Add tooltip for buttons
downloadBtn.title = 'Download the sky_liberator_5.0.sh script';
executeBtn.title = 'Make the downloaded script executable';
});
</script>
</body>
</html>