English | 简体中文
QQMusic for console is a qqmusic client based on TUI(Text User Interface).
clone this repository git clone --recursive https://www.github.com/aurora0x27/qqmusic-cli
, and cd qqmusic-cli
-
Windows
-
check compiler
g++ -v
orclang++ -v
, since windows itself does not have a C++ compiler, you may install MingW or Clang -
check CMake
cmake --version
, MingW should have CMake also -
configure and build the programme
cmake -B build && cmake --build build
-
the executable file name is
qqmusic-cli.exe
, you may run it with command.\build\qqmusic-cli.exe
-
-
MacOS and Linux
-
check C++ compiler
g++ -v
orclang++ -v
, if your machine does not have one of them, you may install by a package manager. -
check CMake
cmake --version
-
configure and build the programme
cmake -B build && cmake --build build
-
the executable file name is
qqmusic-cli
, you may run it with command$./build/qqmusic-cli
. -
To use it in normal terminal, you can make a link to the executable file
$ sudo ln `pwd`/build/qqmusic-cli /usr/bin/qqmusic-cli
-
The inspiration of the project came from the project musicfox, and spotify-tui
Using libraries:
-
ftxui
-
boost asio
-
jsoncpp
The QQMusic API is in another repository qqmusic-api-cxx
Main contributors are 清风之恋 and kingpoem, thanks to 白井黑子 for his contribution of doing test on MacOS.