Skip to content

justinmdickey/goplaying

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoPlaying

Description

This is a basic Now Playing TUI written in Go. I wanted a simple way to see what was playing on my Spotify account without having to open the app. This is a simple solution that uses playerctl to get the currently playing song and display it in the terminal. It even gives you basic controls to play/pause, skip, and go back.

GoPlaying

Installation

Arch Linux

You can install GoPlaying from the AUR with the package goplaying-git.

yay -S goplaying-git

Manual

Dependencies

  • go
  • playerctl
  1. Clone the repository
git clone https://github.com/justinmdickey/goplaying.git
  1. cd into the directory
cd goplaying
  1. Run go build
go build
  1. Run ./goplaying
./goplaying

Usage

Custom colors can be set using flags: --color or -c - Set the color of the text. This can be a color name or hex code.

./goplaying --color=red
./goplaying -c red
./goplaying -c=#ff0000

The controls are basic vim keybinds:

  • p - Play/Pause
  • n - Next
  • b - Previous
  • q - Quit

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Now Playing TUI written in Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •