e2dbb66525
- serve.go: embedded web UI (embed.FS), REST API endpoints for search, list, download (SSE progress), and WAV extraction - main.go: added serve subcommand and flag registration - web/ui: vanilla JS frontend with search cards, download queue, extract controls; dark theme, zero dependencies - electron/: Electron wrapper that spawns fetch serve as sidecar, reads port from stdout, creates BrowserWindow; electron-builder config for macOS .app bundle with akaiutil + script as resources Refs #1, #9
46 lines
1.4 KiB
HTML
46 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>AKAI Utils</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<div id="app">
|
|
<header>
|
|
<h1>AKAI Utils</h1>
|
|
<span class="subtitle">Sampler ISO Downloader & WAV Extractor</span>
|
|
</header>
|
|
|
|
<section id="search-section">
|
|
<div class="search-bar">
|
|
<input type="text" id="search-query" placeholder="Search archive.org AKAI samplers..."
|
|
value="subject:akai AND subject:sampler">
|
|
<input type="text" id="search-filter" placeholder="Extra filter (e.g. vocal, drum)">
|
|
<button id="search-btn">Search</button>
|
|
<button id="search-dl-all">Download Top 10</button>
|
|
</div>
|
|
<div id="search-status"></div>
|
|
<div id="search-results"></div>
|
|
</section>
|
|
|
|
<section id="download-section">
|
|
<h2>Downloads <span id="dl-count"></span></h2>
|
|
<div id="download-queue"></div>
|
|
</section>
|
|
|
|
<section id="extract-section">
|
|
<h2>WAV Extraction</h2>
|
|
<div class="extract-controls">
|
|
<input type="text" id="extract-iso-dir" placeholder="ISO directory" value="./output/isos">
|
|
<input type="text" id="extract-wav-dir" placeholder="WAV output directory" value="./output/wavs">
|
|
<button id="extract-btn">Extract</button>
|
|
</div>
|
|
<div id="extract-status"></div>
|
|
</section>
|
|
</div>
|
|
<script src="app.js"></script>
|
|
</body>
|
|
</html>
|