NewsCrawler.org

How Not to Build a Music Player

A developer living in Iran started building AMP, a minimal music player written in Zig[1], after finding that the lyrics view in Strawberry showed distracting timestamps. Then new protests led to an internet blackout that lasted more than four months. During the blackout, sellers on Telegram offered internet access on a black market, and the author paid $5 or more for 1GB of traffic.

During the blackout, the author used a Claude Max 20x subscription, a gift from their boss, and wrote a large part of AMP in a few days of prompting, which they call vibecoded[2]. Anthropic then banned the account after deciding the author lives in Iran, and Codeberg announced a no-AI policy. The author read and rewrote the code line by line, and four months later nearly half the codebase was gone, with the same features and a more robust result.

The author regrets relying on LLMs but thinks they can be useful as an IDE feature for repetitive tasks, such as long sed or regex commands. The v1.0 roadmap includes a music server, Android and Windows support, and packaging for major Linux distributions.

Read the original alichraghi.github.ioDiscussion

Discussion

Commenters mostly talked about the LLM experience and the name, which one said is close to the AIMP player. Asked for suggestions, one commenter recommended Musicolet for Android, saying its shuffle and folder view work very well. Others said LLMs tend to add code where removing code would solve the problem, and one noted that version control would have preserved the pre-rewrite history.

Sources

Published: First seen: Читать по-русски

Open as a page