Skip to content

GloboInt/lssa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lssa

List similar artists.

lssa

Contents

About

lssa is a CLI program for the terminal that accepts one or more music artists as arguments and returns a list of similar artists.

Usage

View the usage and help output with the --help or -h flag, or ./help.txt to view the help output as a plain text file.

Pre-Build

This section describes what environments this program may run on, any prior requirements or dependencies needed, and any third party libraries used.

Important

Any shell commands using relative paths are expected to be executed in the root directory of this repository.

Environments

  • Linux (supported)
  • BSD (supported)
  • macOS (supported)

Compilers

  • GCC >= 8.0.0 (supported)
  • Clang >= 7.0.0 (supported)
  • Apple Clang >= 11.0.0 (untested)

Dependencies

  • ZLib
  • PThread
  • OpenSSL >= 1.1.0
  • CMake >= 3.8
  • ICU >= 62.1
  • Boost >= 1.68.0

Linked Libraries

  • z (libz) ZLib library for gzip and deflate compression
  • ssl (libssl) part of the OpenSSL library
  • crypto (libcrypto) part of the OpenSSL library
  • pthread (libpthread) POSIX threads library
  • icuuc (libicuuc) part of the ICU library
  • icui18n (libicui18n) part of the ICU library
  • boost_system (libboost_system) part of the Boost library
  • boost_iostreams (libboost_iostreams) part of the Boost library

Included Libraries

  • Parg: for parsing CLI args, modified and included as ./src/ob/parg.hh
  • Belle: HTTP client, modified and included as ./src/ob/belle.hh

macOS

Using a new version of GCC or Clang is required, as the default Apple Clang compiler does not support C++17 Standard Library features such as std::filesystem.

A new compiler can be installed through a third-party package manager such as Brew. Assuming you have Brew already installed, the following commands should install the latest GCC.

brew install gcc
brew link gcc

The following CMake argument will then need to be appended to the end of the line when running the build script. Remember to replace the placeholder <path-to-g++> with the canonical path to the new g++ compiler binary.

./build.sh -DCMAKE_CXX_COMPILER='<path-to-g++>'

Build

The following shell command will build the project in release mode:

./build.sh

To build in debug mode, run the script with the --debug flag.

Install

The following shell command will install the project in release mode:

./install.sh

To install in debug mode, run the script with the --debug flag.

License

This project is licensed under the MIT License.

Copyright (c) 2019 Brett Robinson

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Packages

No packages published

Languages

  • C++ 97.0%
  • CMake 2.3%
  • Shell 0.7%