RC RANDOM CHAOS

How LLM-Generated Code Nearly Derailed an Offline Music Player

· via Hacker News

Original source

How Not to Build a Music Player

Hacker News →

A developer in Iran built AMP, a custom offline music player written in Zig, after discovering that cloud-dependent music software fails during internet blackouts. During a four-month government-imposed shutdown, they worked on the project using expensive black market connectivity. When access partially restored, they experimented with Claude AI to accelerate development, generating large portions of the codebase.

The arrangement proved short-lived. Anthropic banned the account after detecting the developer’s location, and the hosting platform Codeberg announced a no-AI policy. Rather than keep the generated code, the developer spent four months reviewing and rewriting every line. The effort reduced the codebase by roughly half while simultaneously improving robustness and maintaining feature completeness—a stark contrast to the assumption that AI-assisted code saves time.

The experience reshaped how the developer approaches tooling. Rather than viewing LLMs as general code architects, they now treat them as narrow utilities for automating routine tasks. The project illustrates how geopolitical access restrictions, platform policies, and hands-on code review can converge to challenge narratives around AI-accelerated development.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.