Skip to content

Latest commit

Β 

History

History
68 lines (45 loc) Β· 1.77 KB

readme.md

File metadata and controls

68 lines (45 loc) Β· 1.77 KB

Radio Garden - Terminal UI Based

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.

Key Action
p Pause
s Search
+ Increase Volume
- Decrease Volume
<ENTER> Select Station

Tasks

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