2020-09-05 17:06:23 +08:00
2020-07-20 22:24:33 +08:00
2020-07-03 14:46:53 +08:00
2020-08-22 22:04:00 +08:00
2020-08-22 14:41:03 +08:00
2020-08-18 11:16:21 +08:00
2020-08-18 11:16:21 +08:00
2020-09-05 17:06:23 +08:00
2020-06-22 00:05:56 +08:00
2020-08-18 12:26:58 +08:00
2020-09-05 17:06:23 +08:00
2020-08-25 20:45:16 +08:00
2020-08-22 14:59:10 +08:00
2020-08-22 14:59:10 +08:00
2020-07-24 22:27:08 +08:00
2020-08-25 22:05:17 +08:00
2020-08-25 22:05:47 +08:00
2020-08-25 21:13:09 +08:00
2020-08-22 15:17:23 +08:00
2020-08-25 21:44:20 +08:00
2020-08-11 22:16:55 +08:00
2020-09-05 17:06:23 +08:00

Gomu (Go Music Player) Go Report Card Build Status

Gomu is a Terminal User Interface TUI music player to play mp3 files from your local machine.

demo

Features

  • lightweight
  • simple
  • fast
  • show audio files as tree
  • queue cache
  • vim keybindings
  • fzf integration
  • youtube-dl integration
  • audio file management
  • customizeable

Dependencies

If you are using ubuntu, you need to install alsa and required dependencies

$ sudo apt install libasound2-dev go

Optional dependencies can be installed by this command

$ sudo apt install youtube-dl fzf fonts-noto

Installation

go get -u github.com/issadarkthing/gomu

Configuration

By default, gomu will look for audio files in ~/music directory. If you wish to change to your desired location, edit ~/.config/gomu/config file and change music_dir: path/to/your/musicDir.

Sample config file:

color:
  accent:            "#008B8B"
  background:        none
  foreground:        "#FFFFFF"
  now_playing_title: "#017702"
  playlist:          "#008B8B"
  popup:             "#0A0F14"

general:
  confirm_bulk_add:  true
  confirm_on_exit:   true
  load_prev_queue:   true
  music_dir:         ~/music
  popup_timeout:     5s
  volume:            100
  emoji:             true
  fzf:               false

Fzf

Eventhough gomu can use fzf as its finder but it is recommended to use built-in finder. This is due to the bug which may cause the application to hang up if fzf is being used for a long period of time (not everytime). As of v1.5.0, the default built-in finder will be used instead of fzf. To override this behaviour, edit this line fzf: false to change it into true in ~/.config/gomu/config.

Keybindings

Key Description
j down
k up
tab change panel
space toggle play/pause
esc close popup
n skip
q quit
l (lowercase L) add song to queue
L add playlist to queue
h close node in playlist
d remove from queue
D delete playlist
+ volume up
- volume down
Y download audio
a create playlist
? toggle help

Project Background

I just wanted to implement my own music player with a programming language i'm currently learning (Go). Gomu might not be stable as it in constant development. For now, it can fulfill basic music player functions such as:

  • add and delete songs from queue
  • create playlists
  • skip
  • play
  • pause

Seeking and more advanced stuff has not yet been implemented; feel free to contribute :)

Description
No description provided
Readme GPL-2.0 20 MiB
Languages
Go 99.4%
Makefile 0.5%
Shell 0.1%