Radio Garden - Terminal UI Based

April 2, 2024 ยท View on GitHub

This project is a terminal application written in Go for listen all available Radio.Garden ๐ŸŒ stations.

Example
Theme: Black and White

Installation ๐Ÿ’ป

Garden-Tui uses Beep , which uses Oto under the hood to interact with speakers across multi platforms. Check Oto Documentation to know if you need all necessary dependencies and how to install them.

Go Install ๐ŸŒธ

You can use go install to easily compile and install the package and use the garden-tui command directly in your terminal emulator.

$ go install github.com/vergonha/garden-tui@latest

Build ๐Ÿ”จ

1 - Clone the project in your machine.

$ git clone https://github.com/vergonha/garden-tui

2 - Install required dependencies

# On Ubuntu
apt-get install libasound2-dev
# On Arch
pacman -S alsa-lib

3 - Build Project

$ cd garden-tui 
$ go build .

โš  If you get the undefined newDriver error, try to export CGO_ENABLED=1. May be required for building in Linux distributions.

Usage

Use your keyboard to interact with interface. Check the keybindings below.

KeyAction
pPause
sSearch
+Increase Volume
-Decrease Volume
<ENTER>Select Station

Tasks

  • Add volume controls.
  • Improve interface usability.
  • Review code.