How Not to Build a Music Player
Web page · https://alichraghi.github.io/blog/how-not-to-build-a-music-player
First seen by Oriel on .
AI summary
This retrospective describes building AMP, a Zig music player for offline use, and rewriting much of its LLM-generated code after discovering unnecessary complexity.
- AMP targets a minimal feature set, no C++ dependencies, native system integration, custom UI, and line-synced lyrics without displayed timestamps.
- Extended internet blackouts and expensive restricted connectivity motivated the author to archive music and continue developing an offline player.
- A substantial portion of AMP was initially vibecoded with Claude, but reviewing tens of thousands of lines led to a four-month rewrite.
- Nearly half the codebase was removed while retaining and expanding its features, reinforcing the author’s preference for treating LLMs as IDE features.
- The v1.0 roadmap includes a music server, Android and Windows support, and packaging for major Linux distributions.
#zig #music players #offline software #llm-assisted coding
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Hacker News: 174, latest observation ; +161 over observed period since
- Lobsters: 124, latest observation ; +122 over observed period since
Comments
Comment count reported by the source.
- Hacker News: 83, latest observation ; +83 over observed period since
- Lobsters: 25, latest observation ; +24 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Hacker News | 50491400 | https://alichraghi.github.io/blog/how-not-to-build-a-music-player/ Read discussion |
| Lobsters | lh9pwf | https://alichraghi.github.io/blog/how-not-to-build-a-music-player Read discussion |