From 15644f98ac1cf52de8435555dbbf06a9ddbab70b Mon Sep 17 00:00:00 2001 From: Konstantin Nazarov Date: Sun, 13 Aug 2023 21:34:47 +0100 Subject: [PATCH] Add a post about somafm cli --- .../note.md | 23 +++++++++++++++++++ result | 1 + 2 files changed, 24 insertions(+) create mode 100644 content/posts/somafm_internet_radio_from_terminal/note.md create mode 120000 result diff --git a/content/posts/somafm_internet_radio_from_terminal/note.md b/content/posts/somafm_internet_radio_from_terminal/note.md new file mode 100644 index 0000000..00a4928 --- /dev/null +++ b/content/posts/somafm_internet_radio_from_terminal/note.md @@ -0,0 +1,23 @@ +X-Date: 2023-08-13T21:22:00Z +X-Note-Id: f13a9fff-a1a7-4cc6-990d-048c81593d6f +Subject: Playing SomaFM internet radio from the terminal +X-Slug: somafm_internet_radio_from_terminal + +I don't know why, but the ease of just calling one terminal command when I need to play some background music +is so habit-forming, that I just haven't been doing it any other way. + +In particular, whenever I need electronic music for writing code, I just write: + +``` +somafm play cliqhop +``` + +This would play the [cliqhop](https://somafm.com/cliqhop/) station from SomaFM. It doesn't require any registration, +and as soon as you're done listening - you just press ^C as usual for all terminal programs. + +You can get the source at [rockymadden/somafm-cli](https://github.com/rockymadden/somafm-cli). It is actually a single +shell script that doesn't even need any compilation. Of all the third-party scripts, this one is something that I use +most often. + +If you like the terminal in the way I do - give it a try. Otherwise you may as well try +[Shortwave](https://apps.gnome.org/app/de.haeckerfelix.Shortwave/) (a lightweight GTK app). diff --git a/result b/result new file mode 120000 index 0000000..e947cf0 --- /dev/null +++ b/result @@ -0,0 +1 @@ +/nix/store/0jp7ls9glc96hwd7y4jhxcvb30dwjljc-knazarov.com-0.1.0 \ No newline at end of file