# I vibe coded my own Spotify with one prompt. It really plays music, and it cost 8 cents.

> Source: <https://dev.to/ezzakyab/i-vibe-coded-my-own-spotify-with-one-prompt-it-really-plays-music-and-it-cost-8-cents-bc8>
> Published: 2026-11-18 11:00:33+00:00

**Recommendation:** Scope agent prompts tightly with explicit stack, feature and constraint requirements, then iterate with small follow-up prompts that let the agent modify only the files that need changing.
More in the playbook "Working with AI coding agents": <https://wpnews.pro/playbooks/coding-agents>

A music player is a good test for an AI coding agent, because it cannot fake the result. Either sound comes out when you press play, or it does not.

So I opened an empty folder, typed one paragraph, and let the agent work. Six and a half minutes later I had Tidewave: playlists in a sidebar, albums with covers drawn in CSS, a track list, and a player bar that plays, pauses, skips and seeks. There is not a single audio file in the project. It cost 8 cents of model use.

Here is the real run, sped up:

Build a music player like Spotify, called Tidewave. A sidebar with playlists, a grid of albums with covers drawn in CSS gradients, a track list, and a player bar at the bottom with play, pause, next, previous, a progress bar I can seek, and volume. There are no audio files: generate each song's melody with the Web Audio API so that it really plays. Dark design. Give it its own name, colours and logo; do not copy any brand. Plain HTML, CSS and JavaScript, no build tools and no installs.

Three things in that prompt did most of the work:

That last part is the difference between a code generator and an agent. Nobody told it to look for the underline. It looked at its own result and did not like it.

Add a heart button on every track, and a Liked songs playlist that collects them.

Under three minutes later every track had a heart, and a Liked Songs playlist filled up as I clicked. It did not rewrite the app; it changed the files that needed changing.

It is a real, working front end: you can click through it, and it makes sound. It is not a streaming service. There are no accounts, no licensed music, no servers. For a prototype, a demo, or the start of a real project, that is exactly the part you want done in minutes.

I used [VibeCode.surf](https://vibecode.surf/?utm_source=devto&utm_medium=article&utm_campaign=spotify), a desktop code editor built around AI agents: they write the code, run it, and test it in a real browser on your own computer, with any model you choose. It runs on Mac, Windows and Linux and starts with a 7-day free trial. Disclosure: I am the founder.

Copy the prompt above, change the name, and see what yours looks like.
