Show HN: 自托管 MP3 播放器,带你重温 80 年代复古风

2作者: hilti20 天前
我开发了 NeonAMP,一个基于浏览器的 MP3 播放器,它以单个 PHP 文件的形式运行。<p>你只需将 index.php 放入 MP3 所在的文件夹,它就会自动扫描音乐库,读取完整的 ID3 标签,并将元数据存储在 SQLite 数据库中。播放使用 Web Audio API,包括 DJ 风格的曲目交叉淡入淡出。<p>用户界面支持键盘操作,并且有意设计成复古风格。前端没有使用任何框架,无需构建步骤,整个文件大小不到 100KB。<p>技术栈:PHP 8.3+、原生 JavaScript、SQLite。<p>演示:<a href="https:&#x2F;&#x2F;github.com&#x2F;marchildmann&#x2F;NeonAMP" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;marchildmann&#x2F;NeonAMP</a><p>想知道大家有什么想法,以及可以在哪些方面改进。
查看原文
I built NeonAMP, a browser-based MP3 player that runs as a single PHP file.<p>You drop index.php into a folder of MP3s and it auto-scans the library, reads full ID3 tags, and stores metadata in SQLite. Playback uses the Web Audio API, including DJ-style crossfading between tracks.<p>The UI is keyboard-driven and intentionally retro. No frameworks on the frontend, no build step, and the whole thing is under 100KB.<p>Tech: PHP 8.3+, Vanilla JS, SQLite.<p>Demo: <a href="https:&#x2F;&#x2F;github.com&#x2F;marchildmann&#x2F;NeonAMP" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;marchildmann&#x2F;NeonAMP</a><p>Curious what people think and where this could be improved.