Some CLI awesomeness

I’ll have to confess I wasn’t always a fan of CLI applications, I come from a world were all I knew was GUI. I even thought that the heavy use of terminal emulators and CLI apps was snobbish, you know, the feeling was kind of like when (some) people say “BTW, I use Arch” I used to roll my eyes internally.

Yet, here I am writing about CLI apps and how awesome they are…

ncspot

ncspot is very good (but it requires a premium subscription), it provides a bloat free ultra lightweight CLI client for Spotify, in my tests it consumed less than 50 MB of RAM:

Searching for Sabaton in ncspot
51MB !

The official client consumes ~600 MB, probably related to the chromium-like backend and all the social bloat (yes, I’m anti-social):

Spotify hogging the memory

The creator provides a footprint reference but I wanted to see for myself and boy, this app delivers, it is just meant to stream music and provide some basic navigation capabilities, which is good enough for me and it actually helps my productivity. The only missing feature is media key bindings but that’s just me nitpicking.

ncspot is written in rust, I encourage everyone to check the project’s repo, it has to be compiled and installed from the AUR (I installed this on my pinebookpro too and it got really toasty)

mps-youtube

I used to rely on GUI apps like smtube and FreeTube, however these are heavier and bloated, respectively.

Given the success I had with ncspot I ventured into mps-youtube, which follows the same principle as ncspot, it lets you search for videos in the CLI and then reproduce them in an external mpv or mplayer window, no bloat or ads, just beautiful:

Linus Tech Tips latest videos

However there’s a catch, since it is completely free it won’t work out of the box, you have to get a Youtube API Key from our evil overlord Google (details of the issue here)

It is possible to change the external video player preference, running the app also requires you to change mode search_music to false, and show_video to true.

mps-youtube is written in python, I also encourage everyone to check the project’s repo, it can be installed from Manjaro’s official repositories.

Some thoughts on privacy

Having described the apps and their advantages there are always some downsides:

  • ncspot requires your Spotify login information so there is some possible tracking happening but as far as I know it is like using the official client in private mode
  • mps-youtube requires a Youtube API key to work properly so there is always the risk of Google linking your account to the requests using your API key, maybe FreeTube is better in this regard

Day 38 of

By lopeztel

Mexican, wannabe maker and overall linux distro enthusiast. I enjoy playing around with electronics, running, painting and reading. I started blogging as therapy and got more invested recently.

4 comments

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.