~dricottone/nspotify

ref: 1064d33fa7ec70edcc2b4e63cc52a1a6b87c7446 nspotify/README.md -rw-r--r-- 857 bytes
1064d33fDominic Ricottone Noted one more TODO 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# nspotify

Minimal TUI spotify client.
Read-only interface to a user's saved songs.
Playback sold separately,
see [spotifyd](https://github.com/Spotifyd/spotifyd) or
[go-librespot](https://github.com/devgianlu/go-librespot).


## Building

Depends on a small set of libraries:

 + [zmb3's spotify API wrapper](github.com/zmb3/spotify)
 + [logrus](github.com/sirupsen/logrus) for logging
 + [tview](github.com/rivo/tview) and [tcell](https://github.com/gdamore/tcell)
   for the TUI
 + external `oauth2` package

A Spotify API client ID and secret are required.
See [here](https://github.com/zmb3/spotify?tab=readme-ov-file#authentication)
for more details.
Then try:

```
go build -ldflags "-X main.CLIENTID=yourclientid -X main.CLIENTSECRET=yourclientsecret" .
```


## Licensing

I share the contents of this repository under the BSD 3 clause license.