Giter Site home page Giter Site logo

timoknapp / soundcloud-cli Goto Github PK

View Code? Open in Web Editor NEW
36.0 1.0 3.0 131 KB

๐Ÿ”Šโ˜๏ธ Simple CLI to fetch SoundCloud tracks

License: MIT License

Go 96.77% Makefile 3.23%
soundcloud soundcloud-downloader soundcloud-api golang hacktoberfest

soundcloud-cli's Introduction

๐Ÿ”Šโ˜๏ธ soundcloud-cli

Simple CLI to fetch the SoundCloud streams

Getting started

Build

You can either build it yourself or just download the latest build from here. If you want build it yourself, you can use the Makefile with you desired architeture:

# build for linux
make build-linux

# build for Raspberry
make build-linux-arm

# build for Mac
make build-mac

# build for Mac ARM
make build-mac-arm

# build for Windows
make build-windows

Info

./sc -h
NAME:
   SoundCloud CLI - A simple CLI to interact with tracks on SoundCloud

USAGE:
   main [global options] command [command options] [arguments...]

VERSION:
   1.0.0

COMMANDS:
   download, dl  Download a track
   meta, m       Show metadata for a track
   search, ls    Search for a tracks
   help, h       Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)

Run

Search:

./sc ls --limit 5 andhim
     ID     |             TITLE              |                                URL                                  
------------+--------------------------------+---------------------------------------------------------------------
  177318577 | Elderbrook x Andhim - How Many | https://soundcloud.com/andhim/elderbrook-how-many-times-andhim-rmx  
            | Times                          |                                                                     
  29552513  | Theophilus London - Wine &     | https://soundcloud.com/andhim/wine-and-chocolate-andhim-rmx         
            | Chocolates (andhim rmx)        |                                                                     
  90830301  | Hausch                         | https://soundcloud.com/andhim/andhim-hausch                         
  112750743 | Boy Boy Boy                    | https://soundcloud.com/andhim/andhim-boy-boy-boy                    
  99537297  | andhim live at Fusion Festival | https://soundcloud.com/andhim/andhim-live-at-fusion                 

Download:

./sc download -h
NAME:
   main download - Download a track

USAGE:
   main download [command options] [arguments...]

OPTIONS:
   --path value     Path where the files will be stored (default: "download")
   --quality value  Quality of the track (default: "mp3")
   --help, -h       show help (default: false)


# By ID >
./sc download $TRACK_ID
# By URL >
./sc download $TRACK_URL

Features

  • Download tracks by URL or ID
  • Search tracks
  • Show metadata for a track
  • ID3 Tags
  • Support multiple system-architectures

Planned Features

  • Support multiple tracks download (e.g. by playlist URL)

Contribution

PRs Welcome :)

soundcloud-cli's People

Contributors

renovate-bot avatar timoknapp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

soundcloud-cli's Issues

Does your soundcloud-cli app use credentials?

Hi, Timo!
One dev question: Does your great go/golang app use any credentials to search/listen music/download operations?
If yes, please share them. I want to create C# analog of your soundcloud-cli solution (but with simplest UI) to listen music at my old sweet Lumia950 WinPhone :)
Best wishes,
mediaexplorer
P.S. soundcloud blocked any new app registration, so I need your help...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.