Giter Site home page Giter Site logo

parakeet's Introduction

Parakeet

mascot

forthebadgeforthebadgeforthebadge

Go Version Go Report Card Build Status License Say Thanks!

SoundCloud player in your terminal

Note: This is a work in progress. Documentation should be updated soon. The code is currently in a very dirty state.

screenshot

Limitations

Currently, parakeet has some limitations:

  • It will play only the last 50 favorites tracks from the user ID you provide
  • It can't read Go+ sounds even if the client ID comes from a Go+ account
  • Some tracks can't be fetched properly and will be skipped automatically

Install

From source:

$ go get github.com/Depado/parakeet
$ cd $GOPATH/src/github.com/Depado/parakeet
$ make install

Alternatively you can download the binary release of parakeet on the releases page.

This project uses beep which in turn uses oto so make sure to check the requirements before trying to run parakeet.

Configure

For now this project needs both a SoundCloud client ID and a user ID. It will fetch the first 50 favorite tracks of the user and will play them one after another just like SoundCloud would in your browser or app.

Environment Variables

Setup the following environment variables:

  • PARAKEET_CLIENT_ID: Your SoundCloud client ID
  • PARAKEET_USER_ID: Your SoundCloud user ID

Flags

You can also pass these settings using flags when running parakeet:

$ parakeet --client_id <yourclientID> --user_id <youruserID>

TODO

  • Display more metadata in the information panel
  • Allow to pass directly an URL to a playlist or user to stream music from
  • Implement pagination
  • Refactor player logic
  • Handle clicks (move cursor in track, play/pause, etc)

parakeet's People

Contributors

depado avatar renovate[bot] avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

menduz

parakeet's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

dockerfile
Dockerfile
  • golang 1.22.2-alpine
droneci
.drone.yml
  • golang 1.22.2
  • golang 1.22.2
  • golang 1.22.2
gomod
go.mod
  • go 1.21
  • github.com/Depado/soundcloud v0.2.1
  • github.com/faiface/beep v1.1.0
  • github.com/gizak/termui/v3 v3.1.0
  • github.com/rs/zerolog v1.32.0
  • github.com/sirupsen/logrus v1.9.3
  • github.com/spf13/cobra v1.8.0
  • github.com/spf13/viper v1.18.2

  • Check this box to trigger a request for Renovate to run again on this repository

make install debian 10 error

Hi, I'm getting this error on make install under debian 10 buster

go build -ldflags "-X main.Version=0.1.0 -X main.Build=c6b1734a115d39e868d7e014b1d3b71e01542eb8" -o parakeet 
main.go:16:2: cannot find package "github.com/Depado/parakeet/cmd" in any of:
	/usr/src/github.com/Depado/parakeet/cmd (from $GOROOT)
	/root/go/src/github.com/Depado/parakeet/cmd (from $GOPATH)
main.go:17:2: cannot find package "github.com/Depado/parakeet/player" in any of:
	/usr/src/github.com/Depado/parakeet/player (from $GOROOT)
	/root/go/src/github.com/Depado/parakeet/player (from $GOPATH)
main.go:18:2: cannot find package "github.com/Depado/parakeet/sc" in any of:
	/usr/src/github.com/Depado/parakeet/sc (from $GOROOT)
	/root/go/src/github.com/Depado/parakeet/sc (from $GOPATH)
main.go:19:2: cannot find package "github.com/Depado/parakeet/ui" in any of:
	/usr/src/github.com/Depado/parakeet/ui (from $GOROOT)
	/root/go/src/github.com/Depado/parakeet/ui (from $GOPATH)
main.go:9:2: cannot find package "github.com/faiface/beep/speaker" in any of:
	/usr/src/github.com/faiface/beep/speaker (from $GOROOT)
	/root/go/src/github.com/faiface/beep/speaker (from $GOPATH)
main.go:10:2: cannot find package "github.com/gizak/termui/v3" in any of:
	/usr/src/github.com/gizak/termui/v3 (from $GOROOT)
	/root/go/src/github.com/gizak/termui/v3 (from $GOPATH)
main.go:11:2: cannot find package "github.com/sirupsen/logrus" in any of:
	/usr/src/github.com/sirupsen/logrus (from $GOROOT)
	/root/go/src/github.com/sirupsen/logrus (from $GOPATH)
main.go:12:2: cannot find package "github.com/spf13/cobra" in any of:
	/usr/src/github.com/spf13/cobra (from $GOROOT)
	/root/go/src/github.com/spf13/cobra (from $GOPATH)
main.go:13:2: cannot find package "github.com/spf13/viper" in any of:
	/usr/src/github.com/spf13/viper (from $GOROOT)
	/root/go/src/github.com/spf13/viper (from $GOPATH)
main.go:14:2: cannot find package "github.com/yanatan16/golang-soundcloud/soundcloud" in any of:
	/usr/src/github.com/yanatan16/golang-soundcloud/soundcloud (from $GOROOT)
	/root/go/src/github.com/yanatan16/golang-soundcloud/soundcloud (from $GOPATH)
make: *** [Makefile:15: build] Error 1

error on make install (dependency issue ?)

I'm getting an error on compiling with make install. My guess is github.com/hashicorp/hcl/hcl don't exist (anymore).

go get github.com/Depado/parakeet
package github.com/hashicorp/hcl/hcl/printer: cannot find package "github.com/hashicorp/hcl/hcl/printer" in any of:
	/usr/src/github.com/hashicorp/hcl/hcl/printer (from $GOROOT)
	/home/michael/go/src/github.com/hashicorp/hcl/hcl/printer (from $GOPATH)

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.