-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
650 lines (558 loc) · 22.7 KB
/
index.html
File metadata and controls
650 lines (558 loc) · 22.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>StaticAbletonDownloader</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="icon" href="https://cdn-resources.ableton.com/80bA26cPQ1hEJDFjpUKntxfqdmG3ZykO/static/images/favicon.ico" type="image/vnd.icon">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background: linear-gradient(135deg, #1a1a2e, #16213e);
color: #fff;
min-height: 100vh;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
overflow-x: hidden;
}
.container {
max-width: 900px;
width: 100%;
background: rgba(30, 30, 46, 0.9);
border-radius: 16px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
overflow: hidden;
margin-top: 20px;
}
header {
background: rgba(20, 20, 36, 0.95);
padding: 25px 30px;
text-align: center;
border-bottom: 1px solid rgba(107, 177, 255, 0.2);
}
h1 {
font-size: 2.8rem;
margin-bottom: 10px;
background: linear-gradient(90deg, #6bb1ff, #ff5b5b);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
text-shadow: 0 0 15px rgba(107, 177, 255, 0.3);
}
.subtitle {
color: #a0aec0;
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto;
}
.content-area {
padding: 30px;
min-height: 500px;
}
.step-title {
font-size: 1.8rem;
margin-bottom: 20px;
color: #6bb1ff;
display: flex;
align-items: center;
gap: 10px;
}
.step-icon {
width: 50px;
height: 50px;
background: rgba(107, 177, 255, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
}
.form-group {
margin-bottom: 25px;
}
label {
display: block;
margin-bottom: 10px;
font-weight: 500;
color: #cbd5e0;
font-size: 1.1rem;
}
select, input {
width: 100%;
padding: 14px 18px;
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.1);
background: rgba(26, 32, 44, 0.7);
color: #fff;
font-size: 16px;
transition: all 0.3s ease;
}
select:focus, input:focus {
outline: none;
border-color: #6bb1ff;
box-shadow: 0 0 0 3px rgba(107, 177, 255, 0.3);
}
.btn {
background: linear-gradient(135deg, #6bb1ff, #ff5b5b);
color: white;
border: none;
padding: 16px 30px;
font-size: 18px;
border-radius: 10px;
cursor: pointer;
font-weight: 600;
letter-spacing: 0.5px;
transition: all 0.3s ease;
margin-top: 10px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
width: 100%;
}
.btn:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.btn:active {
transform: translateY(1px);
}
.version-sections {
display: flex;
flex-direction: column;
gap: 20px;
}
.version-section {
background: rgba(20, 20, 36, 0.5);
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.section-header {
background: linear-gradient(90deg, #6bb1ff, #ff5b5b);
padding: 12px 20px;
font-size: 1.3rem;
font-weight: 600;
}
.section-content {
padding: 15px;
}
.version-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
gap: 10px;
}
.version-item {
padding: 10px;
background: rgba(30, 30, 46, 0.7);
border-radius: 6px;
text-align: center;
cursor: pointer;
transition: all 0.2s ease;
position: relative;
}
.version-item:hover {
background: rgba(107, 177, 255, 0.2);
}
.version-item.selected {
background: linear-gradient(135deg, #ff5b5b, #6bb1ff);
font-weight: bold;
}
.info-text {
background: rgba(20, 20, 36, 0.5);
border-left: 4px solid #6bb1ff;
padding: 15px;
border-radius: 0 8px 8px 0;
margin: 20px 0;
font-size: 0.95rem;
line-height: 1.6;
}
.info-text strong {
color: #ff5b5b;
}
.download-link {
display: none;
text-align: center;
margin-top: 30px;
padding: 20px;
background: rgba(20, 20, 36, 0.7);
border-radius: 10px;
border: 1px solid rgba(107, 177, 255, 0.3);
}
.download-link a {
color: #6bb1ff;
font-size: 1.2rem;
text-decoration: none;
font-weight: 500;
transition: all 0.3s ease;
display: block;
margin: 10px 0;
padding: 10px;
background: rgba(30, 30, 46, 0.5);
border-radius: 8px;
word-break: break-all;
}
.download-link a:hover {
color: #ff5b5b;
text-decoration: underline;
}
.os-detection {
display: inline-block;
background: rgba(107, 177, 255, 0.1);
border-radius: 4px;
padding: 3px 8px;
font-size: 0.85rem;
margin-top: 5px;
border: 1px solid rgba(107, 177, 255, 0.2);
}
footer {
text-align: center;
padding: 20px;
color: #a0aec0;
font-size: 0.9rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
flex-direction: column;
gap: 15px;
}
.github-link {
display: inline-flex;
align-items: center;
gap: 8px;
color: #6bb1ff;
text-decoration: none;
font-weight: 500;
padding: 8px 16px;
border-radius: 10px;
background: rgba(107, 177, 255, 0.1);
transition: all 0.3s ease;
border: 1px solid rgba(107, 177, 255, 0.2);
}
.github-link:hover {
background: rgba(107, 177, 255, 0.2);
color: #ff5b5b;
transform: translateY(-2px);
}
.custom-version-section {
background: rgba(20, 20, 36, 0.5);
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
margin-top: 20px;
}
.custom-version-input {
display: flex;
align-items: center;
gap: 10px;
}
.custom-version-input input {
flex: 1;
}
.custom-version-btn {
display: inline-flex;
align-items: center;
gap: 8px;
color: #6bb1ff;
text-decoration: none;
font-weight: 500;
padding: 14px 20px;
border-radius: 10px;
background: rgba(107, 177, 255, 0.1);
transition: all 0.3s ease;
border: 1px solid rgba(107, 177, 255, 0.2);
}
.custom-version-btn:hover {
background: rgba(107, 177, 255, 0.2);
color: #ff5b5b;
transform: translateY(-2px);
cursor: pointer;
}
@media (max-width: 768px) {
h1 {
font-size: 2.2rem;
}
.step-title {
font-size: 1.5rem;
}
.version-grid {
grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
}
.custom-version-input {
flex-direction: column;
}
.custom-version-btn {
width: 100%;
}
}
</style>
</head>
<body>
<div class="container">
<header>
<h1>StaticAbletonDownloader</h1>
<p class="subtitle">Get the exact version you need with one click - all in one file!</p>
</header>
<div class="content-area">
<div class="step-title">
<div class="step-icon"><i class="fas fa-download"></i></div>
Download Ableton Live Installer
</div>
<p class="info-text">
<strong>Disclaimer:</strong> This tool provides direct download links for Ableton Live installers, directly from Ableton's servers. <br>
It does not download a activated version. This is not piracy.
</p>
<div class="form-group">
<label for="os-select">Select Operating System: <span class="os-detection" id="os-detection">Detecting your OS...</span></label>
<select id="os-select">
<option value="windows">Windows</option>
<option value="mac_intel">macOS (Intel)</option>
<option value="mac_arm">macOS (Apple Silicon)</option>
</select>
</div>
<div class="form-group">
<label for="edition-select">Select Edition:</label>
<select id="edition-select">
<option value="suite">Suite</option>
<option value="standard">Standard</option>
<option value="intro">Intro</option>
<option value="lite">Lite</option>
</select>
</div>
<div class="form-group">
<label>Select Version:</label>
<div class="version-sections" id="version-sections">
<!-- Version sections will be populated by JS -->
</div>
<!-- Custom Version Section -->
<div class="custom-version-section">
<div class="section-header">
Custom Version
</div>
<div class="section-content">
<div class="custom-version-input">
<input type="text" id="custom-version-input" placeholder="Enter version (e.g., 12.3.1)">
<button class="custom-version-btn" id="custom-version-btn">
Use Custom Version
</button>
</div>
<p style="margin-top: 10px; font-size: 0.9rem; color: #a0aec0;">
Enter a version not listed above. Format: Major.Minor.Patch (e.g., 12.3.1)
</p>
</div>
</div>
</div>
<button class="btn" id="download-btn">
Download Now <i class="fas fa-download"></i>
</button>
<div class="download-link" id="download-link">
<p>Your download is ready:</p>
<a id="direct-download-link" target="_blank">Download Ableton Live</a>
<p class="info-text" style="margin-top: 15px; margin-bottom: 0;">
<i class="fas fa-info-circle"></i> If the download doesn't start automatically, click the link above
</p>
</div>
</div>
<footer>
<a href="https://github.com/devilAPI/StaticAbletonDownloader/" class="github-link">
<i class="fab fa-github"></i> View on GitHub
</a>
<p>devilAPI © 2025</p>
</footer>
</div>
<script>
// List of Ableton Live versions
const versions = [
"12.3.5", "12.3.2", "12.3.1", "12.3", "12.2.7", "12.2.6", "12.2.5", "12.2.2", "12.2.1", "12.2", "12.1.11", "12.1.10", "12.1.9", "12.1.8", "12.1.7", "12.1.6", "12.1.5",
"12.1.4", "12.1.3", "12.1.2", "12.1.1", "12.1", "12.0.25", "12.0.20", "12.0.12", "12.0.11", "12.0.10",
"12.0.9", "12.0.8", "12.0.7", "12.0.6", "12.0.5", "12.0.4", "12.0.3", "12.0.2", "12.0.1", "12.0",
"11.3.42", "11.3.35", "11.3.30", "11.3.20", "11.3.13", "11.3.12", "11.3.11", "11.3.10", "11.3.4", "11.3.3",
"11.3.2", "11.2.11", "11.2.10", "11.2.7", "11.2.6", "11.2.5", "11.2", "11.1.5", "11.1.1", "11.1",
"11.0.12", "11.0.11", "11.0.10", "11.0.6", "11.0.5", "11.0.2", "11.0.1", "11.0", "10.1.30", "10.1.25",
"10.1.18", "10.1.17", "10.1.15", "10.1.14", "10.1.13", "10.1.9", "10.1.7", "10.1.6", "10.1.5", "10.1.4",
"10.1.3", "10.1.2", "10.1.1", "10.1", "10.0.6", "10.0.5", "10.0.4", "10.0.3", "10.0.2", "10.0.1", "10.0",
"9.7.7", "9.7.6", "9.7.5", "9.7.4", "9.7.3", "9.7.2", "9.7.1", "9.7", "9.6.2", "9.6.1", "9.6", "9.5",
"9.2.3", "9.2.2", "9.2.1", "9.2", "9.1.10", "9.1.9", "9.1.8", "9.1.7", "9.1.6", "9.1.5", "9.1.4", "9.1.3",
"9.1.2", "9.1", "9.0.6", "9.0.5", "9.0.4", "9.0.3", "9.0.2", "9.0.1"
];
// Function to compare versions
function compareVersions(a, b) {
const pa = a.split('.').map(Number);
const pb = b.split('.').map(Number);
for (let i = 0; i < Math.max(pa.length, pb.length); i++) {
const na = pa[i] || 0, nb = pb[i] || 0;
if (na > nb) return 1;
if (na < nb) return -1;
}
return 0;
}
// Sort versions by major version (descending) then by minor/patch
versions.sort((a, b) => {
const aParts = a.split('.').map(Number);
const bParts = b.split('.').map(Number);
// Compare major versions
if (aParts[0] !== bParts[0]) {
return bParts[0] - aParts[0];
}
// Compare minor versions
if (aParts[1] !== bParts[1]) {
return (bParts[1] || 0) - (aParts[1] || 0);
}
// Compare patch versions
return (bParts[2] || 0) - (aParts[2] || 0);
});
// Auto-detect OS function
function detectOS() {
const userAgent = navigator.userAgent;
const osDetection = document.getElementById('os-detection');
let osValue = 'windows';
let osName = 'Windows';
// Detect operating system
if (userAgent.includes('Macintosh')) {
// Check for Apple Silicon
if (userAgent.includes('Apple') && userAgent.includes('Mac OS X 11_') ||
navigator.platform.includes('MacARM64') ||
navigator.userAgent.includes('M1') ||
navigator.userAgent.includes('M2') ||
navigator.userAgent.includes('M3')) {
osValue = 'mac_arm';
osName = 'macOS (Apple Silicon)';
} else {
osValue = 'mac_intel';
osName = 'macOS (Intel)';
}
} else if (userAgent.includes('Win')) {
osValue = 'windows';
osName = 'Windows';
} else {
// Linux and other OS default to Windows
osValue = 'windows';
osName = 'Windows (Linux default)';
}
// Update UI
document.getElementById('os-select').value = osValue;
osDetection.textContent = `Detected: ${osName}`;
osDetection.style.color = '#6bb1ff';
return osValue;
}
// Group versions by major version
function groupVersionsByMajor(versions) {
const grouped = {};
versions.forEach(version => {
const major = version.split('.')[0];
if (!grouped[major]) {
grouped[major] = [];
}
grouped[major].push(version);
});
return grouped;
}
// Populate the version sections
const versionSections = document.getElementById('version-sections');
const groupedVersions = groupVersionsByMajor(versions);
// Sort major versions descending
const majorVersions = Object.keys(groupedVersions).sort((a, b) => b - a);
majorVersions.forEach(major => {
const section = document.createElement('div');
section.className = 'version-section';
const header = document.createElement('div');
header.className = 'section-header';
header.textContent = `Version ${major}.x`;
const content = document.createElement('div');
content.className = 'section-content';
const grid = document.createElement('div');
grid.className = 'version-grid';
groupedVersions[major].forEach(version => {
const versionItem = document.createElement('div');
versionItem.className = 'version-item';
versionItem.textContent = version;
versionItem.dataset.version = version;
versionItem.addEventListener('click', () => {
// Remove selected class from all items
document.querySelectorAll('.version-item').forEach(item => {
item.classList.remove('selected');
});
// Add selected class to clicked item
versionItem.classList.add('selected');
// Clear custom version input
document.getElementById('custom-version-input').value = '';
});
grid.appendChild(versionItem);
});
content.appendChild(grid);
section.appendChild(header);
section.appendChild(content);
versionSections.appendChild(section);
});
// Custom version button event listener
document.getElementById('custom-version-btn').addEventListener('click', function() {
const customVersion = document.getElementById('custom-version-input').value.trim();
if (!customVersion) {
alert("Please enter a version number");
return;
}
// Validate version format (basic check)
const versionPattern = /^\d+(\.\d+){0,2}$/;
if (!versionPattern.test(customVersion)) {
alert("Please enter a valid version number (e.g., 12.3.1)");
return;
}
// Remove selected class from all version items
document.querySelectorAll('.version-item').forEach(item => {
item.classList.remove('selected');
});
// Show custom version as selected
document.getElementById('custom-version-input').style.borderColor = '#6bb1ff';
document.getElementById('custom-version-input').style.boxShadow = '0 0 0 3px rgba(107, 177, 255, 0.3)';
});
// Download button event listener
document.getElementById('download-btn').addEventListener('click', function() {
const os = document.getElementById('os-select').value;
const edition = document.getElementById('edition-select').value;
// Check if a version is selected or custom version is entered
const selectedVersion = document.querySelector('.version-item.selected');
const customVersion = document.getElementById('custom-version-input').value.trim();
let version;
if (selectedVersion) {
version = selectedVersion.dataset.version;
} else if (customVersion) {
version = customVersion;
} else {
alert("Please select a version or enter a custom version");
return;
}
let url = "https://cdn-downloads.ableton.com/channels/";
url += `${version}/ableton_live_${edition}_${version}`;
if (os.startsWith("mac")) {
if (compareVersions(version, "11.0.12") > 0) {
url += os === "mac_intel" ? "_intel.dmg" : "_universal.dmg";
} else {
url += "_64.dmg";
}
} else {
url += "_64.zip";
}
// Show the download link
const downloadLink = document.getElementById('download-link');
const directLink = document.getElementById('direct-download-link');
directLink.href = url;
directLink.textContent = `Download Ableton Live ${edition.charAt(0).toUpperCase() + edition.slice(1)} ${version}`;
downloadLink.style.display = 'block';
// Scroll to the download link
downloadLink.scrollIntoView({ behavior: 'smooth' });
});
// Auto-select the first version
document.querySelector('.version-item').classList.add('selected');
// Detect OS on page load
detectOS();
</script>
</body>
</html>