I made my own Mp3 player

20 November 2026, 9:56 pm · 4 min read · programming, project, mp3
I made my own Mp3 player

Prelude

How does it feel to pay some corporation to hear the music that doesn't belong to you, or it's something that you rent but don't own?
In this age, Most of the people lost their patience, They want everything asap, rush hours.
Music is something you want to feel and listen to without those fucking ads that are heavily dragged into the beautiful songs. You give money, the music stays; you stop giving money and the music leaves.
I find these things very ugly about this generation, as I believe in manually setting up and downloading a song in its highest quality and then listening.

Introduction

18.11.2026, 20:00
Due to a huge transformer in between the electricity that reaches my room, my current isn't stable; it just goes off and comes back again within a few seconds. (I know it can be solved by using a personal UPS for my pc but yeah)
I have to turn my Spotify on again and again. And that's how my problem comes to the surface.
Most of the time, I don't know what songs are playing in my background, as it just runs by the algorithm. Few songs are ever recommended by the algorithm, and because of that, I thought, how about I discover the songs and then download them on my PC so that whenever I feel like listening to music, I can get the ones that I own on my PC and so that I can't mindlessly listen to some genre I don't like.
[21:00]
I started off with the simple idea; now the task is how to design it?
Throughout my life till now, I have been using Linux since I was 12, so I decided that I will go with the CLI look.
I first made the prototype using Claude,
NOOWWW
WHY CLAUDE???

  • I already knew the core thing: how it should be done, so I preferred to design the JS and test it out, and then giving the code to Claude and telling it how to create the appearance is something that can make my job faster and very clear.

[19.11.2026, 8:00]
By this time, I am done with the first version of it.
Now, I should stop calling it IT and actually give it a name :\

I liked how it is till now. It is very light. It holds the songs perfectly, adds features like visualisers, and most importantly, you can use the mouse. You can only use KEYBOARD

But...

The First version Sucks.

19.11.2026, 10:00]
So there are a lot of tools available online that help you convert YouTube music/video to MP3, but there's one that runs on your command prompt- I mean, on your computer, not in your browser. Those are yt-dlp and ffmpeg. Both help with downloading and running the music properly on your pc (locally).

So the process was like
COPY THE LINK FROM YOUTUBE -> WRITE THE COMMAND IN POWERSHELL -> DOWNLOAD THE SONG -> LOAD THE SONG ON THE PLAYER -> BOOM, LISTEN.

After some time, this feels very hectic,
The process is so damn longggg 😶

New Light

[19.11.2026, 12:00]
I built the second version with more visualizers and more things, I am listing the features below...

Features.

  • Playlist from any folder (subfolders included), with shuffle and repeat (off / all / one)
  • Album covers and full track details read from the file tags: title, artist, album, year, genre, track, codec, bitrate, sample rate, size
  • Ten visualizers: bars, waveform, matrix, radial, spectrogram,particles, joy (ridgelines), tunnel, stars, radar
  • Fullscreen visualizer mode
  • Crossfade between tracks, with the next track preloaded
  • Monochrome home screen with a pulsing icon, recent and most played tracks
  • Listening stats: totals, last 7 days, top tracks and artists
  • Four color themes: green, amber, cyan, white
  • Search, remembers your folder, volume, and settings
  • No mouse needed
  • BIGGEST FEATURE : download audio from a link to mp3 (see below)
  • Single song: saved as Title.mp3 in your music folder.
  • Playlist: paste a playlist link and press Enter, or paste a song link that is inside a playlist and press p for the whole playlist. Songs go into a folder named after the playlist, numbered like 001 - Title.mp3. Songs that fail are skipped.

Cookies: Light uses your Firefox cookies by default, which avoids most "sign in / not a bot" blocks. Press Tab in the download screen to switch to Chrome, Edge, Brave or no cookies. If the chosen browser fails, Light automatically retries without cookies.

Update: if downloads stop working, open the download screen with an empty link and press u to update yt-dlp.

This needs two free tools that are not bundled:

yt-dlp (yt-dlp.exe)
ffmpeg (ffmpeg.exe, from a Windows build)
Press d, then b to open the folder Light looks in, and drop both .exe files there. Or install them so they are on your PATH (for example, winget install yt-dlp.yt-dlp and winget install Gyan.FFmpeg).

You can view the repo (It's fully open-source)
GITHUB REPO
VISUALS
HOW TO DOWNLOAD?

Back to all posts