Saturday, August 25, 2012

Firkant, a music player, completely in your browser!

EDIT: Try the live demo here!

I'm found of music, it colors my day. This also applies to the rest of my family. Because of that I've set up an Ampache server where we add our music. This makes it really easy to discover new music and listen to eachothers suggestions.
The only problem with Ampache is that all the clients, well, they suck. There are a lot of half finished plugins, small tests etc. but no real client that just works. Works cross platform. Lets you cache music so that you can listen to it while offline etc. All these nicks and picks made me so frustrated that I started rolling my own. I wanted this:

  • Browse artist/album/track

  • Cache things so they are available offline

  • Be truely cross platform

I started hacking at an already existing python player Quickplayer. It worked out ok untill I needed to change the interface while keeping it cross platform. I realized that this would never work.
After some thinking I started wishing I could've done it as a webpage, that would be esay except for the "offline" mode. I read around the net and discovered that Chrome apps actually can be offline, as well as get permissions to XMLHttpRequst to an arbitrary host. This combined with the new File Api support was all I needed. I started coding and in about 3-4 days I had a finished player.
The UI
It's written as a Chrome app, that is a tottally normal webpage only that it's hosted from your harddrive. It also has relaxed access control allow origin so that I can communicate with the webserver that runs the Ampache instance.
It lets you create your own subset library from that is cached locally, enabeling you to listen to your music wherever you've got your laptop.
To view it in the Chrome Web Store.
The code is available at GitHub.



  1. In my opinion, there is nothing more beautiful in the world than the sound of music) My very good friend advised me this player, because I was just looking for such software to view files on my computer. I have downloaded it from this website cuz I usually install software from the reliable site. Thanks a lot for this post.

  2. The market for musical instruments and vintage music gear has gone up considerably. From 1985 onwards, the prices are on a high. old vintage record players