Split any YouTube song into stems
TypeScript
website: artistic hero + use-case staircase — feathers in hero, waveform backdrop, lucide icons, hero as framed image, per-section screenshots in media/
Daniel Ravina37b494214f7c
diff --git a/website/index.html b/website/index.htmlindex 1b783f1..6613cc4 100644--- a/website/index.html+++ b/website/index.html@@ -7,7 +7,7 @@<meta name="description" content="Free and open source. Paste a link, pick your instruments, and play vocals, drums, bass, guitar and piano as synced stems. Runs entirely on your machine." /><meta property="og:title" content="StemKit — split songs from YouTube into stems" /><meta property="og:description" content="Free and open source. Runs entirely on your machine. Karaoke, acapellas and instrumentals, one click away." />- <meta property="og:image" content="https://stemkit.pages.dev/screenshot.jpg" />+ <meta property="og:image" content="https://stemkit.pages.dev/media/hero.jpg" /><meta name="twitter:card" content="summary_large_image" /><link rel="icon" type="image/png" href="icon.png" /><link rel="preconnect" href="https://fonts.googleapis.com" />@@ -50,7 +50,8 @@nav .right a.gh { display: flex; align-items: center; gap: 7px; }nav .right svg { width: 17px; height: 17px; fill: currentColor; }- .hero { text-align: center; padding: 84px 0 0; }+ .hero { position: relative; text-align: center; padding: 84px 0 0; }+ .hero > * { position: relative; z-index: 1; }.hero h1 {font-size: clamp(2.7rem, 6.4vw, 4.6rem);font-weight: 700; letter-spacing: -0.035em; line-height: 1.04;@@ -81,7 +82,7 @@.frame {position: relative; margin-top: 64px;- border-radius: 18px; overflow: hidden; cursor: pointer;+ border-radius: 18px; overflow: hidden;border: 1px solid var(--line);box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);background: #101016;@@ -91,38 +92,7 @@background: linear-gradient(120deg, rgba(167, 139, 250, 0.35), rgba(52, 211, 153, 0.25));filter: blur(46px); opacity: 0.5; border-radius: 24px;}- .frame img, .frame video { display: block; width: 100%; height: auto; }- .frame .play {- position: absolute; inset: 0;- display: flex; align-items: center; justify-content: center;- background: rgba(11, 11, 16, 0.35);- transition: opacity 0.2s ease;- }- .frame .play .circle {- width: 84px; height: 84px; border-radius: 999px;- background: #fff; color: #0b0b10;- display: flex; align-items: center; justify-content: center;- box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);- transition: transform 0.15s ease;- }- .frame:hover .play .circle { transform: scale(1.08); }- .frame .play .circle svg { width: 30px; height: 30px; fill: currentColor; margin-left: 5px; }- .frame .sound {- position: absolute; top: 16px; right: 16px;- font-family: "JetBrains Mono", monospace; font-size: 11.5px;- background: rgba(11, 11, 16, 0.7); color: var(--text);- border-radius: 6px; padding: 6px 11px; letter-spacing: 0.08em;- }- .frame .bar {- position: absolute; bottom: 0; left: 0; height: 3px; width: 0%;- background: linear-gradient(90deg, var(--violet), var(--emerald));- }- .frame.playing .play { opacity: 0; }- .frame.playing:hover .play { opacity: 1; background: rgba(11, 11, 16, 0.2); }- .frame.playing:hover .play .circle { background: rgba(255, 255, 255, 0.9); }- .frame .fallback { display: none; }- .frame.novideo .fallback { display: block; }- .frame.novideo video, .frame.novideo .play, .frame.novideo .sound { display: none; }+ .frame img { display: block; width: 100%; height: auto; }section { padding: 110px 0 0; }.kicker {@@ -149,17 +119,12 @@}.shot {margin: 0; position: relative; overflow: hidden;- aspect-ratio: 16 / 10; border-radius: 16px;+ border-radius: 16px;background: #101016; border: 1px solid var(--line);box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);}- .shot img { display: block; width: 100%; height: 100%; object-fit: cover; }- .shot.empty { display: flex; align-items: center; justify-content: center; border-style: dashed; box-shadow: none; background: #0d0d12; }- .shot.empty::after {- content: attr(data-file);- font-family: "JetBrains Mono", monospace; font-size: 12.5px;- color: var(--faint); letter-spacing: 0.08em;- }+ .shot img { display: block; width: 100%; height: auto; }+ .shot.zoom img { width: 125%; max-width: none; }.caption-note { color: var(--faint); font-size: 13px; margin-top: 16px; font-family: "JetBrains Mono", monospace; text-align: center; }.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }@@ -173,10 +138,50 @@.req b { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }.req span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 7px; line-height: 1.55; }- .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; margin-top: 50px; }- .fact { border-top: 1px solid var(--line); padding: 22px 0 26px; }- .fact dt { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }- .fact dd { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 8px; }+ .boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 20px; align-items: start; position: relative; z-index: 1; }+ .pbox:nth-child(1) { margin-top: 0; }+ .pbox:nth-child(2) { margin-top: 44px; }+ .pbox:nth-child(3) { margin-top: 88px; }+ .pbox:nth-child(4) { margin-top: 132px; }+ section.uses { position: relative; }+ .waves {+ position: absolute; top: 0; bottom: 0;+ left: 50%; transform: translateX(-50%);+ width: 100vw; overflow: hidden;+ pointer-events: none; z-index: 0;+ }+ .waves svg { width: 100%; height: 100%; display: block; }+ .wave {+ fill: none; stroke-width: 2;+ vector-effect: non-scaling-stroke;+ filter: blur(7px);+ }+ .feathers {+ position: absolute; top: 0; bottom: 0;+ left: 50%; transform: translateX(-50%);+ width: 100vw; overflow: hidden;+ pointer-events: none; z-index: 0;+ }+ .feather {+ position: absolute;+ border-radius: 999px;+ background: linear-gradient(90deg, transparent 0%, var(--c) 45%, var(--c) 55%, transparent 100%);+ filter: blur(8px);+ }+ .pbox {+ background: var(--panel); border: 1px solid var(--line);+ border-radius: 18px; padding: 30px 26px 34px;+ }+ .pico {+ display: inline-flex; align-items: center; justify-content: center;+ width: 52px; height: 52px; border-radius: 14px;+ background: color-mix(in srgb, var(--c) 12%, transparent);+ border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line));+ color: var(--c); margin-bottom: 22px;+ }+ .pico svg { width: 26px; height: 26px; stroke: currentColor; fill: none; }+ .pbox h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }+ .pbox p { color: var(--muted); font-size: 14px; line-height: 1.6; }.end { text-align: center; padding: 130px 0 0; }.end h2 { max-width: 640px; margin: 0 auto; }@@ -193,9 +198,11 @@footer .links a:hover { color: var(--text); }@media (max-width: 820px) {- .steps, .facts, .reqs { grid-template-columns: 1fr; }+ .steps, .reqs { grid-template-columns: 1fr; }.frow { grid-template-columns: 1fr; gap: 30px; }.frow.flip .txt { order: 0; }+ .boxes { grid-template-columns: 1fr 1fr; }+ .pbox:nth-child(n) { margin-top: 0; }.hero { padding-top: 56px; }section { padding-top: 84px; }}@@ -218,6 +225,14 @@</nav><header class="hero">+ <div class="feathers" aria-hidden="true">+ <i class="feather" style="--c: #a78bfa; top: 6%; left: -38%; width: 940px; height: 13px; opacity: 0.5; transform: rotate(6deg);"></i>+ <i class="feather" style="--c: #f87171; top: 22%; right: -30%; width: 820px; height: 9px; opacity: 0.45; transform: rotate(-7deg);"></i>+ <i class="feather" style="--c: #60a5fa; top: 38%; left: -22%; width: 760px; height: 14px; opacity: 0.5; transform: rotate(5deg);"></i>+ <i class="feather" style="--c: #fbbf24; top: 54%; right: -42%; width: 880px; height: 10px; opacity: 0.4; transform: rotate(-8deg);"></i>+ <i class="feather" style="--c: #34d399; top: 70%; left: -34%; width: 820px; height: 12px; opacity: 0.45; transform: rotate(7deg);"></i>+ <i class="feather" style="--c: #a78bfa; top: 86%; right: -24%; width: 720px; height: 8px; opacity: 0.35; transform: rotate(-5deg);"></i>+ </div><h1>Split songs from YouTube into <span class="grad">stems</span>.</h1><p class="sub">Paste a link, pick your instruments, and play vocals, drums, bass, guitar and piano as synced tracks. Free and open source. Runs entirely on your machine.</p><div class="cta">@@ -230,19 +245,9 @@<p class="dl-cap" id="dl-cap">fetching the latest release…</p></header>- <!--- HERO VIDEO · media/hero.mp4 (the only sound-on video on the page, click to play)- Record: play Bohemian Rhapsody from ~0:30 with the full mix audible (4s). Click Karaoke,- vocals drop dead, let it run (6s). Click Acapella, only the voice remains (5s). Back to All (2s).- 15-20s. Capture SYSTEM AUDIO, not the mic. The screenshot below is the poster frame.- -->- <div class="frame" id="hero">- <img class="fallback" src="screenshot.jpg" alt="StemKit splitting Bohemian Rhapsody into six stems" />- <video preload="metadata" playsinline src="media/hero.mp4" poster="screenshot.jpg"></video>- <div class="play"><div class="circle"><svg viewBox="0 0 24 24"><path d="M8 5.5v13a1 1 0 0 0 1.54.84l10-6.5a1 1 0 0 0 0-1.68l-10-6.5A1 1 0 0 0 8 5.5Z"/></svg></div></div>- <span class="sound">SOUND ON · CLICK</span>- <div class="bar"></div>- </div>+ <figure class="frame" id="hero">+ <img src="media/hero.jpg" alt="StemKit splitting a song into six stems" />+ </figure><section><p class="kicker">How it works</p>@@ -279,9 +284,8 @@<li>No browser tab, ever</li></ul></div>- <!-- drop website/feat-search.jpg and it replaces this placeholder -->- <figure class="shot" data-file="feat-search.jpg">- <img src="feat-search.jpg" alt="StemKit search screen" onerror="this.parentNode.classList.add('empty'); this.remove()" />+ <figure class="shot zoom">+ <img src="media/yt-search.jpg" alt="StemKit search screen with YouTube results" /></figure></div></section>@@ -299,9 +303,8 @@<li>Live progress, runs locally</li></ul></div>- <!-- drop website/feat-split.jpg and it replaces this placeholder -->- <figure class="shot" data-file="feat-split.jpg">- <img src="feat-split.jpg" alt="StemKit splitting a song by instrument" onerror="this.parentNode.classList.add('empty'); this.remove()" />+ <figure class="shot">+ <img src="media/stems.jpg" alt="StemKit splitting a song by instrument" /></figure></div></section>@@ -311,42 +314,59 @@<div class="txt"><span class="accent" style="background: #fbbf24;"></span><p class="kicker amber">Export</p>- <h2>Saved library + exports.</h2>- <p>Every split is saved and reopens instantly. Export any stem, or all of them, as standard WAVs that drop straight into any DAW.</p>+ <h2>Export straight into your DAW.</h2>+ <p>Every stem exports as a standard WAV file — vocals, drums, bass, guitar, piano, or the full instrumental. Drop them into Ableton, Logic, FL Studio, GarageBand. No conversion, no fuss.</p><ul>- <li>Library remembers every split</li>- <li>Export any stem as WAV</li>+ <li>Any stem, or all of them at once</li>+ <li>Standard WAV files</li><li>Works with any DAW</li></ul></div>- <!-- drop website/feat-export.jpg and it replaces this placeholder -->- <figure class="shot" data-file="feat-export.jpg">- <img src="feat-export.jpg" alt="StemKit library and export menu" onerror="this.parentNode.classList.add('empty'); this.remove()" />+ <figure class="shot">+ <img src="media/export.jpg" alt="StemKit export menu" /></figure></div></section>- <section>- <p class="kicker">Use cases</p>- <h2>What you can do with the stems.</h2>- <dl class="facts">- <div class="fact">- <dt>Learn your instrument</dt>- <dd>Solo the guitar, piano or bass on any song you are studying and play along. Mute everything else and the part you are learning stops being a guessing game. Rewind a hundred times, the app never gets tired.</dd>+ <section class="uses">+ <div class="waves" aria-hidden="true">+ <svg viewBox="0 0 1440 480" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">+ <path class="wave" style="stroke: #a78bfa; opacity: 0.4;"+ d="M-160 260 Q -80 165 0 260 T 240 260 T 480 260 T 720 260 T 960 260 T 1200 260 T 1440 260 T 1680 260" />+ <path class="wave" style="stroke: #60a5fa; opacity: 0.34;"+ d="M-160 320 Q -80 470 0 320 T 240 320 T 480 320 T 720 320 T 960 320 T 1200 320 T 1440 320 T 1680 320" />+ <path class="wave" style="stroke: #fbbf24; opacity: 0.3;"+ d="M-160 205 Q -80 130 0 205 T 240 205 T 480 205 T 720 205 T 960 205 T 1200 205 T 1440 205 T 1680 205" />+ <path class="wave" style="stroke: #f87171; opacity: 0.26;"+ d="M-160 150 Q -80 235 0 150 T 240 150 T 480 150 T 720 150 T 960 150 T 1200 150 T 1440 150 T 1680 150" />+ <path class="wave" style="stroke: #34d399; opacity: 0.3;"+ d="M-160 400 Q -80 330 0 400 T 240 400 T 480 400 T 720 400 T 960 400 T 1200 400 T 1440 400 T 1680 400" />+ <path class="wave" style="stroke: #a78bfa; opacity: 0.2;"+ d="M-160 95 Q -80 45 0 95 T 240 95 T 480 95 T 720 95 T 960 95 T 1200 95 T 1440 95 T 1680 95" />+ </svg>+ </div>+ <div class="boxes">+ <div class="pbox">+ <span class="pico" style="--c: #a78bfa;"><i data-lucide="headphones"></i></span>+ <h3>Learn your instrument</h3>+ <p>Solo the guitar, bass or piano and pick out every note by ear.</p></div>- <div class="fact">- <dt>Sing</dt>- <dd>Any track becomes your backing band. The karaoke preset strips the vocals instantly, at home, at a party, or for the cover you have been planning to post. No per-track fees, no waiting on a service.</dd>+ <div class="pbox">+ <span class="pico" style="--c: #f87171;"><i data-lucide="music"></i></span>+ <h3>Play with a backing track</h3>+ <p>Mute your own instrument and the band plays on without you.</p></div>- <div class="fact">- <dt>Remix and sample</dt>- <dd>Pull acapellas and drum loops for flips and mashups. Export as WAV, drop them into your DAW, and get to work. It runs on your machine, so your ideas never touch someone else's server.</dd>+ <div class="pbox">+ <span class="pico" style="--c: #60a5fa;"><i data-lucide="scissors"></i></span>+ <h3>Remix and sample</h3>+ <p>Pull clean acapellas and drum loops for flips and mashups.</p></div>- <div class="fact">- <dt>Study the mix</dt>- <dd>Hear what the drummer actually played. Isolate the bass line you could never pick out of the mix. Solo the piano part on your favorite record and learn the voicings by ear.</dd>+ <div class="pbox">+ <span class="pico" style="--c: #fbbf24;"><i data-lucide="mic"></i></span>+ <h3>Sing / Karaoke</h3>+ <p>Strip the vocals from any song and the mic is yours.</p></div>- </dl>+ </div></section><section>@@ -382,6 +402,7 @@</footer></div>+ <script src="https://unpkg.com/lucide@latest"></script><script>(function () {var REPO = 'danielravina/stemkit'@@ -420,31 +441,7 @@if (c) c.textContent = 'grab the latest release from GitHub'})- /* hero: click to play with sound, poster falls back to screenshot if video missing */- var hero = document.getElementById('hero')- var heroVideo = hero.querySelector('video')- heroVideo.addEventListener('error', function () {- hero.classList.add('novideo')- }, { once: true })- hero.addEventListener('click', function () {- if (heroVideo.error) return- if (heroVideo.paused) {- heroVideo.play()- hero.classList.add('playing')- } else {- heroVideo.pause()- hero.classList.remove('playing')- }- })- heroVideo.addEventListener('timeupdate', function () {- if (heroVideo.duration) {- hero.querySelector('.bar').style.width = (heroVideo.currentTime / heroVideo.duration) * 100 + '%'- }- })- heroVideo.addEventListener('ended', function () {- hero.classList.remove('playing')- hero.querySelector('.bar').style.width = '0%'- })+ if (window.lucide) lucide.createIcons()})()</script></body>diff --git a/website/media/export.jpg b/website/media/export.jpgnew file mode 100644index 0000000..fe38604Binary files /dev/null and b/website/media/export.jpg differdiff --git a/website/screenshot.jpg b/website/media/hero.jpgsimilarity index 100%rename from website/screenshot.jpgrename to website/media/hero.jpgdiff --git a/website/media/stems.jpg b/website/media/stems.jpgnew file mode 100644index 0000000..bddefcfBinary files /dev/null and b/website/media/stems.jpg differdiff --git a/website/media/yt-search.jpg b/website/media/yt-search.jpgnew file mode 100644index 0000000..f68f57aBinary files /dev/null and b/website/media/yt-search.jpg differ