#music #cli #jay-chou

app jay-cli

Listen music from CLI

4 stable releases

1.1.0 Jul 21, 2024
1.0.2 Aug 7, 2023
1.0.0 Aug 2, 2023

#176 in Audio

Download history 9/week @ 2024-09-11 9/week @ 2024-09-18 5/week @ 2024-09-25

167 downloads per month

MIT license

195KB
565 lines

jay-cli (only for learning purpose)

Listen music via CLI

  • Currently, it's only tested on MacOS
         _____                    _____                _____                            _____                    _____            _____          
        /\    \                  /\    \              |\    \                          /\    \                  /\    \          /\    \         
       /::\    \                /::\    \             |:\____\                        /::\    \                /::\____\        /::\    \        
       \:::\    \              /::::\    \            |::|   |                       /::::\    \              /:::/    /        \:::\    \       
        \:::\    \            /::::::\    \           |::|   |                      /::::::\    \            /:::/    /          \:::\    \      
         \:::\    \          /:::/\:::\    \          |::|   |                     /:::/\:::\    \          /:::/    /            \:::\    \     
          \:::\    \        /:::/__\:::\    \         |::|   |                    /:::/  \:::\    \        /:::/    /              \:::\    \    
          /::::\    \      /::::\   \:::\    \        |::|   |                   /:::/    \:::\    \      /:::/    /               /::::\    \   
 _____   /::::::\    \    /::::::\   \:::\    \       |::|___|______            /:::/    / \:::\    \    /:::/    /       ____    /::::::\    \  
/\    \ /:::/\:::\    \  /:::/\:::\   \:::\    \      /::::::::\    \          /:::/    /   \:::\    \  /:::/    /       /\   \  /:::/\:::\    \ 
/::\    /:::/  \:::\____\/:::/  \:::\   \:::\____\    /::::::::::\    \        /:::/____/     \:::\____\/:::/____/       /::\   \/:::/  \:::\____\
\:::\  /:::/    \::/    /\::/    \:::\  /:::/    /   /:::/~~~~/~~ \ ___\       \:::\    \      \::/    /\:::\    \       \:::\  /:::/    \::/    /
\:::\/:::/    / \/____/  \/____/ \:::\/:::/    /   /:::/    /                  \:::\    \      \/____/  \:::\    \       \:::\/:::/    / \/____/ 
 \::::::/    /                    \::::::/    /   /:::/    /                    \:::\    \               \:::\    \       \::::::/    /          
  \::::/    /                      \::::/    /   /:::/    /                      \:::\    \               \:::\    \       \::::/____/           
   \::/    /                       /:::/    /    \::/    /                        \:::\    \               \:::\    \       \:::\    \           
    \/____/                       /:::/    /      \/____/                          \:::\    \               \:::\    \       \:::\    \          
                                 /:::/    /                                         \:::\    \               \:::\    \       \:::\    \         
                                /:::/    /                                           \:::\____\               \:::\____\       \:::\____\        
                                \::/    /                                             \::/    /                \::/    /        \::/    /        
                                 \/____/                                               \/____/                  \/____/          \/____/         


2023-08-01 at 12 51 AM

How to install

cargo install jay-cli

How to use

There are two commands: single and random

  • single: you need to choose song manually
  • random: song is choson for you randomly
  • loop-one: choose one song and loop forever
Usage: jay-cli <COMMAND>

Commands:
  single  Choose song manually one by one after playing
  random  Song automatically chosen for you after playing
  help    Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

Architecture

Might be a little bit complex than it should be!

image

Dependencies

~17–51MB
~820K SLoC