Files
miles-web/projects/music-app.html
T
2026-07-29 04:07:36 -05:00

270 lines
12 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Music App | Miles Wolf Allen</title>
<meta name="description" content="Music App — a music player that doesn't interrupt you with ads. Inspired by YouTube Music without the annoying parts.">
<link rel="canonical" href="https://milesallen.site/projects/music-app.html">
<meta property="og:title" content="Music App | Miles Wolf Allen">
<meta property="og:description" content="Music player without ads. Inspired by YouTube Music without the annoying parts.">
<meta property="og:image" content="https://milesallen.site/og.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Space+Mono:wght@400;700&family=Inter:wght@400;500;600;800&display=swap" rel="stylesheet">
<link rel="icon" type="image/png" href="../favicon.png">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="cursor-dot" id="cursorDot"></div>
<div class="cursor-ring" id="cursorRing"></div>
<div class="progress-bar" id="progressBar"></div>
<button class="theme-toggle" id="themeToggle" aria-label="Toggle theme"></button>
<div class="shortcut-modal" id="shortcutModal">
<div class="shortcut-card">
<h3>Keyboard Shortcuts</h3>
<div class="shortcut-row"><span>Go Home</span><kbd>H</kbd></div>
<div class="shortcut-row"><span>Go to GitHub</span><kbd>G</kbd></div>
<div class="shortcut-row"><span>Toggle theme</span><kbd>T</kbd></div>
<div class="shortcut-row"><span>Show shortcuts</span><kbd>?</kbd></div>
<div class="close-hint">Press Esc or ? to close</div>
</div>
</div>
<div class="flash" id="flash"></div>
<div class="toast-stack" id="toastStack"></div>
<nav class="mobile-nav">
<a href="../index.html">Home</a>
<a href="fedl.html">FEDL</a>
<a href="music-app.html" class="active">Music App</a>
<a href="command-move.html">CommandMove</a>
<a href="https://github.com/mileswolfallen2" target="_blank">GitHub</a>
</nav>
<div class="container">
<nav>
<a href="../index.html" class="nav-logo"><span class="logo-dot"></span> milesallen</a>
<div class="nav-links">
<a href="../index.html#about">About</a>
<a href="../index.html#skills">Skills</a>
<a href="../index.html#projects">Projects</a>
<a href="../index.html#contact">Contact</a>
</div>
</nav>
<section class="project-hero">
<div class="breadcrumb">
<a href="../index.html">Home</a>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="9 18 15 12 9 6"/></svg>
<span>Music App</span>
</div>
<h1>Music App</h1>
<p class="tagline">A sleek, lightweight, and ad-free music player web app inspired by YouTube Music. Built for speed, simplicity, and control.</p>
<div class="project-meta-bar">
<a href="https://github.com/mileswolfallen2/music-app" class="meta-chip primary" target="_blank">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 00-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0020 4.77 5.07 5.07 0 0019.91 1S18.73.65 16 2.48a13.38 13.38 0 00-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 005 4.77a5.44 5.44 0 00-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 009 18.13V22"/></svg>
View on GitHub
</a>
<a href="https://mileswolfallen2.github.io/music-app/" class="meta-chip" target="_blank">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 014 10 15.3 15.3 0 01-4 10 15.3 15.3 0 01-4-10 15.3 15.3 0 014-10z"/></svg>
Live Demo
</a>
<span class="meta-chip">JavaScript</span>
<span class="meta-chip">Apache-2.0</span>
</div>
<div class="stats-bar">
<div class="stat-item">
<div class="stat-value accent" id="gh-stars">--</div>
<div class="stat-label">Stars</div>
</div>
<div class="stat-item">
<div class="stat-value green" id="gh-forks">--</div>
<div class="stat-label">Forks</div>
</div>
<div class="stat-item">
<div class="stat-value orange" id="gh-issues">--</div>
<div class="stat-label">Issues</div>
</div>
<div class="stat-item">
<div class="stat-value" id="gh-lang">--</div>
<div class="stat-label">Language</div>
</div>
</div>
</section>
<section class="reveal">
<div class="section-divider"></div>
<h2 class="section-title">Features</h2>
<div class="feature-grid">
<div class="feature-card">
<h3>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"/><path d="M19.07 4.93a10 10 0 010 14.14"/><path d="M15.54 8.46a5 5 0 010 7.07"/></svg>
Ad-Free Playback
</h3>
<p>Enjoy music from YouTube with little to no interruptions. Focused on uninterrupted listening.</p>
</div>
<div class="feature-card">
<h3>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 014 10 15.3 15.3 0 01-4 10 15.3 15.3 0 01-4-10 15.3 15.3 0 014-10z"/></svg>
Web-First
</h3>
<p>100% web-based. No downloads, no installs. Fast loading with minimal dependencies.</p>
</div>
<div class="feature-card">
<h3>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="16 18 22 12 16 6"/><polyline points="8 6 2 12 8 18"/></svg>
Developer-Friendly
</h3>
<p>Clean, modular code. No frameworks -- just plain HTML, CSS, and JavaScript.</p>
</div>
<div class="feature-card">
<h3>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 20h9"/><path d="M16.5 3.5a2.121 2.121 0 013 3L7 19l-4 1 1-4L16.5 3.5z"/></svg>
Playlist Tools
</h3>
<p>Includes tools to convert YouTube playlists to static HTML and generate JavaScript playlist files.</p>
</div>
</div>
</section>
<section class="reveal">
<div class="section-divider"></div>
<h2 class="section-title">Project Files</h2>
<div class="table-wrapper">
<table>
<thead>
<tr><th>File</th><th>Description</th></tr>
</thead>
<tbody>
<tr><td><code>index.html</code></td><td>Main music app interface</td></tr>
<tr><td><code>script.js</code></td><td>Main app logic -- playback and UI behavior</td></tr>
<tr><td><code>songs.js</code></td><td>Song data and playlist definitions</td></tr>
<tr><td><code>style.css</code></td><td>Core styling for all pages</td></tr>
<tr><td><code>playlist2static.html</code></td><td>Tool to convert YouTube playlists to static HTML</td></tr>
<tr><td><code>playlist2static.js</code></td><td>JavaScript logic behind playlist conversion</td></tr>
<tr><td><code>static-list-generator.html</code></td><td>GUI for creating static playlist files</td></tr>
<tr><td><code>static-to-js.html</code></td><td>Converts HTML playlist elements into JavaScript format</td></tr>
</tbody>
</table>
</div>
</section>
<section class="reveal">
<div class="section-divider"></div>
<h2 class="section-title">Tech Stack</h2>
<div class="tech-stack">
<span class="tech-badge">JavaScript (89.7%)</span>
<span class="tech-badge">CSS (5.7%)</span>
<span class="tech-badge">HTML (4.6%)</span>
<span class="tech-badge">YouTube API</span>
<span class="tech-badge">GitHub Pages</span>
<span class="tech-badge">Cloudflare Pages</span>
</div>
</section>
<footer>
<div class="footer-links" style="margin-bottom: 12px;">
<a href="../uses.html" style="color:var(--muted);text-decoration:none;">Uses</a>
<span style="color:var(--muted);margin:0 8px;">·</span>
<a href="../now.html" style="color:var(--muted);text-decoration:none;">Now</a>
<span style="color:var(--muted);margin:0 8px;">·</span>
<a href="../colophon.html" style="color:var(--muted);text-decoration:none;">Colophon</a>
<span style="color:var(--muted);margin:0 8px;">·</span>
<a href="../experiments.html" style="color:var(--accent);text-decoration:none;">Internet History</a>
</div>
Built by Miles · 2026 · Powered by too much coffee and the Konami code
</footer>
</div>
<script>
fetch('https://api.github.com/repos/mileswolfallen2/music-app')
.then(r => r.json())
.then(d => {
if (d.stargazers_count != null) document.getElementById('gh-stars').textContent = d.stargazers_count;
if (d.forks_count != null) document.getElementById('gh-forks').textContent = d.forks_count;
if (d.open_issues_count != null) document.getElementById('gh-issues').textContent = d.open_issues_count;
if (d.language) document.getElementById('gh-lang').textContent = d.language;
})
.catch(() => {});
const observer = new IntersectionObserver((entries) => {
entries.forEach(e => { if (e.isIntersecting) e.target.classList.add('visible'); });
}, { threshold: 0.1, rootMargin: '0px 0px -40px 0px' });
document.querySelectorAll('.reveal').forEach(el => observer.observe(el));
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/[email protected]/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/[email protected]/ScrollTrigger.min.js"></script>
<script>
gsap.registerPlugin(ScrollTrigger);
// Hero entrance
const heroTl = gsap.timeline({ defaults: { ease: 'power3.out' } });
heroTl
.from('.breadcrumb', { x: -30, opacity: 0, duration: 0.6 })
.from('.project-hero h1', { y: 50, opacity: 0, duration: 0.8 }, '-=0.3')
.from('.tagline', { y: 30, opacity: 0, duration: 0.7 }, '-=0.4')
.from('.meta-chip', { y: 20, opacity: 0, scale: 0.8, duration: 0.4, stagger: 0.06 }, '-=0.3')
.from('.stats-bar', { y: 30, opacity: 0, duration: 0.6 }, '-=0.2')
.from('.stat-item', { y: 20, opacity: 0, scale: 0.9, duration: 0.4, stagger: 0.08, ease: 'back.out(1.5)' }, '-=0.3');
// Nav entrance
gsap.from('nav', { y: -20, opacity: 0, duration: 0.6, ease: 'power2.out' });
// Section titles
document.querySelectorAll('.section-title').forEach(title => {
gsap.from(title, {
scrollTrigger: { trigger: title, start: 'top 85%' },
y: 30, opacity: 0, duration: 0.7, ease: 'power3.out'
});
});
// Section dividers
document.querySelectorAll('.section-divider').forEach(div => {
gsap.from(div, {
scrollTrigger: { trigger: div, start: 'top 90%' },
width: 0, duration: 0.6, ease: 'power2.out'
});
});
// Feature cards stagger
document.querySelectorAll('.feature-grid').forEach(grid => {
gsap.from(grid.querySelectorAll('.feature-card'), {
scrollTrigger: { trigger: grid, start: 'top 85%' },
y: 50, opacity: 0, scale: 0.9, duration: 0.6, stagger: 0.1, ease: 'power3.out'
});
});
// Tech badges
document.querySelectorAll('.tech-stack').forEach(stack => {
gsap.from(stack.querySelectorAll('.tech-badge'), {
scrollTrigger: { trigger: stack, start: 'top 88%' },
y: 20, opacity: 0, scale: 0.8, duration: 0.4, stagger: 0.05, ease: 'back.out(1.5)'
});
});
// Tables
document.querySelectorAll('.table-wrapper').forEach(wrapper => {
gsap.from(wrapper, {
scrollTrigger: { trigger: wrapper, start: 'top 85%' },
y: 40, opacity: 0, duration: 0.7, ease: 'power3.out'
});
});
// Code blocks
document.querySelectorAll('code-block').forEach(block => {
gsap.from(block, {
scrollTrigger: { trigger: block, start: 'top 88%' },
y: 30, opacity: 0, duration: 0.6, ease: 'power3.out'
});
});
// Footer
gsap.from('footer', {
scrollTrigger: { trigger: 'footer', start: 'top 95%' },
opacity: 0, duration: 0.8
});
window.addEventListener('load', () => ScrollTrigger.refresh());
</script>
<script src="script.js"></script>
</body>
</html>