How Not to Build a Music Player
Archived — this story has rotated out of today’s deck. It is kept here in full.
The gist
Developer Ali Cheraghi built his own music player, AMP, in Zig after Iran's internet blackouts made streaming unviable.
The project's LLM-written code was later cut roughly in half after Codeberg's no-AI policy.
Background
Ali Cheraghi is the developer behind AMP, a music player he wrote in Zig (a programming language) and hosted on Codeberg (a code-hosting platform). He had been using Strawberry, a feature-rich offline music player, but disliked how it displayed timestamps next to lyrics instead of line-synced lyrics. After the Twelve-Day War and the internet blackouts in Iran made online music players unviable for him, he started AMP with goals of a minimal feature set, no C++ dependencies and proper system integration.
How it unfolded
- 2025Cheraghi received a Claude Max 20x subscription as a gift from his boss.
- After the Twelve-Day WarHe began archiving tracks and looking for offline alternatives, and discovered Strawberry.
- After January 8 and 9 protestsAnother internet blackout began, lasting more than four months.
- During the blackoutAnonymous people on Telegram sold internet access via personal White SIMs, whitelisted servers and Starlink dishes, charging $5 or more for just 1GB of traffic.
- May 25, 2026A screenshot dated from an early dark-themed AMP interface showed a music library and synchronized lyrics.
- After connection mostly restoredWith UDP traffic still blocked (affecting QUIC), he shifted attention to LLMs and vibecoded a good chunk of AMP.
- Shortly afterAnthropic banned his account after figuring out he lives in Iran.
- ThenCodeberg announced its no-AI policy.
- Four months laterNearly half the codebase was gone and the player was more robust with the same set of features and more.
Key terms
- Zig
- A general-purpose system programming language emphasizing performance, simplicity and metaprogramming, released as free open-source software.
- LLM
- A machine learning model trained on huge amounts of text to generate, summarize, translate, and analyze language.
- QUIC
- A general-purpose transport layer network protocol initially designed at Google and now standardized for web traffic.
Source: Wikipedia
Who’s saying what
- Author
- Cheraghi says he regrets relying on LLMs, calling himself mentally incapable of reviewing tens of thousands of lines of code, and now plans to go the old-school way and never rush his hobbies.
- Author
- He still thinks a healthy relationship with LLMs is possible if you treat them as a fancy IDE feature.