Chatify is a TUI(Terminal User Interface) tool that combines the OpenAI API with the Spotify API, allowing an AI bot to recommend the music you are looking for through conversation.
- You can find the music you are looking for by answering questions.
- You can listen to the music by selecting the track recommended by chatify.
- You can store results of recommendations as playlists.
Unfortunately, Chatify is currently not free to use; you need to have a Spotify Premium account and pay to use the OpenAI API.
Chatify requires two things.
- You need to have a Spotify Premium Account to use Spotify API.
- You need to have a OpenAI account to use OpenAI API.
It is recommended that the terminal is set to full-screen size when to use Chatify.
brew install JunNishimura/tap/Chatify
go install github.com/JunNishimura/Chatify@latest
Before saying hi to Chatify, please prepare the following three items.
1. Spotify App Client ID
2. Spotify App Client Secret
3. OpenAI API key
Please create any app from the Spotify for Developers Dashboard and retrieve the Client ID and Secret from the settings screen.
Please create an API key from the OpenAI account screen and obtain it.
You need to provide a couple of information to Chatify at first.
$ chatify greeting
Let's talk to Chatify and embark on a journey to discover new music!
$ chatify hey
Key | Action |
---|---|
tab | switch the view |
characters | input words |
q, ctrl+c | quit |
enter | answer, select |
↑, ↓ | move in list |
←, → | turn page |
Flag to specify the port number for Spotify authorization. Default number is 8888.
Flag to specify the number of recommendations. Default number is 25 and maximum number is 100.
Flag to enable chatify to make playlist based on the recommendation. Default is false.
Chatify is released under MIT License. See MIT