How to access SoundCloud from the command line in Linux

Last updated on September 15, 2020 by Adrien Brochard

If you enjoy music streaming and originally-created sounds, you cannot have missed SoundCloud. Based in Germany, this cloud streaming service is now famous and well-established for any music adventurer. And naturally, as a Linux enthusiast, you might wonder how to join your passion for Linux with your love for music. As a solution, I advise you to check out Soundcloud2000, a command line client for SoundCloud born out of the Music Hack Day Stockholm '13.

Installation of SoundCloud CLI Client

For Debian or Ubuntu users, install via:

$ sudo apt-get install portaudio19-dev libmpg123-dev libncurses-dev ruby1.9.1-dev 
$ sudo gem install soundcloud2000

For Fedora users, install via:

$ sudo yum install portaudio-devel libmpg123-devel ncurses-devel ruby-devel
$ sudo gem install soundcloud2000

For CentOS users, install or upgrade to the latest Ruby/RubyGems (1.9 and higher), enable Repoforge repo, and install via:

$ sudo yum install portaudio-devel mpg123-devel
$ sudo gem install curses soundcloud2000

And finally, go to the official github page for the sources.

Usage

Soundcloud2000 is very easy to pick up. Some might even say simplistic. I like it for that sobriety and the effort of the three authors and contributors. Launch it via:

$ soundcloud2000

From there, you will be welcomed with a splash screen:

and then a list of songs:

You can scroll through the list via the up and down keys, play a song with enter, pause/resume with the space bar, and fast forward/rewind with the right and left arrow keys. As you can see, nothing groundbreaking but definitely ergonomic.

If the random list is too long to scroll through, you have an option to see all the tracks for a particular user by hitting the 'u' key and then typing his name.

That is probably one of the major defaults of Soundcloud2000. While the navigation is not optimized, I have high hopes for improvements and support as the software is still very young.

Bonus

Another alternative as a bonus: if you like the idea of using SoundCloud from a terminal, but do not want to install any additional software (or maybe you cannot), I advise you to go to cmd.fm. The website is a kind of camouflage for SoundCloud, as it hides it behind a shell interface.

Type help for a list of commands, which is a lot longer than for Soundcloud2000. As examples, I noticed:

And it even supports auto-completion via the tabulation key for genres.

To conclude, Soundcloud2000 is a neat program that does exactly what it is supposed to. We can forgive its current flaws as they are surely tied to its youth. I really hope that it will grow and include more features (and potentially get inspiration from cmd.fm).

If you like the idea, I invite you to support the programmers, and if you like these kinds of initiatives, support Music Hack Day which mixes software development and music.

What do you think of using SoundCloud from the command line? Please let us know in the comments.

Support Xmodulo

This website is made possible by minimal ads and your gracious donation via PayPal (Credit Card) or Bitcoin (1M161JGAkz3oaHNvTiPFjNYkeABox8rb4g).

Please note that this article is published by Xmodulo.com under a Creative Commons Attribution-ShareAlike 3.0 Unported License. If you would like to use the whole or any part of this article, you need to cite this web page at Xmodulo.com as the original source.

Xmodulo © 2021 ‒ AboutWrite for UsFeed ‒ Powered by DigitalOcean