Skip to content

talz-a/appleMusic-cli-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

appleMusic-cli-player

image

Control your music directly from the terminal

Overview

appleMusic-cli-player is a command-line interface (CLI) tool designed to control music playback on Apple Music. Built using Go and the Cobra CLI library, it allows you to manage your music without leaving the terminal. With commands for playing, pausing, skipping tracks, and more, this tool offers seamless control over your Apple Music experience.

Usage

  • List of Commands:

    music [command]
    • completion - Generate the autocompletion script for the specified shell
    • current - Display currently playing song information
    • help - Get help about any command
    • next - Skip to the next track in Apple Music
    • open - Open Apple Music
    • pause - Pause music playback
    • play - Play the current song in Apple Music
    • playlists - Choose a playlist to play
    • shuffle - Toggle shuffle mode in Apple Music
    • volume - Set the volume for Apple Music
  • Flags:

    -h, --help     Help for music
    -t, --toggle   Help message for toggle

Use music [command] --help for more information about a specific command.

Run locally

  • Clone the repository

    git clone https://github.com/ta-02/appleMusic-cli-player.git
  • Navigate to the project directory

    cd appleMusic-cli-player
  • Build the project

    go build
  • Run the CLI

    ./music

About

Apple Music control from the CLI

Resources

License

Stars

Watchers

Forks

Contributors