Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jibaru/gobeats

Google Drive Command Line Music Player
https://github.com/jibaru/gobeats

command-line-tool golang google-drive google-drive-api-v3 music-player oto

Last synced: 1 day ago
JSON representation

Google Drive Command Line Music Player

Awesome Lists containing this project

README

        



GoBeats


Google Drive Command Line Player




# Installation

1. Download the binary for your os.
2. In same folder of the binary, create a `config.yml` file. Then put your initial configuration there.
3. In same folder of the binary, create a folder called `storage`.
4. Start the application on a terminal.

## Installation with golang

```bash
go install github.com/jibaru/gobeats/cmd/main@latest
```

# Configuration

You need to make public some Google Drive folder (and your mp3 files you want to read).
Also, you need to generate a Google Drive API Key to fetch initial data.

| Configuration | Description |
|------------------------------|-------------------------------|
| google_drive.root_folder_key | Your Google Drive Folder Key |
| google_drive.api_key | Your Google Drive API Key |
| player.autoplay | Set autoplay |
| player.initial_volume | Set initial volume (0 to 100) |

# Commands

| Key | Description |
|----------------|---------------------|
| q | quit |
| s | shuffle |
| enter | plays selected song |
| up-down arrows | scroll song list |
| p | pause |
| r | resume |