GithubHelp home page GithubHelp logo

junnishimura / chatify Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 342 KB

Chat-based music recommendation tool

License: MIT License

Go 100.00%
chatbot golang openai spotify ai music chatgpt recommendation-system spotify-api

chatify's Introduction

♫ Chatify ♫
chat-based music recommendation tool

GitHub release (latest by date) GitHub Go Report Card

chatify

📖 Overview

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.

  1. You can find the music you are looking for by answering questions.
  2. You can listen to the music by selecting the track recommended by chatify.
  3. You can store results of recommendations as playlists.

⚠️ Notice

Unfortunately, Chatify is currently not free to use; you need to have a Spotify Premium account and pay to use the OpenAI API.

👜 Prerequisites

Chatify requires two things.

  1. You need to have a Spotify Premium Account to use Spotify API.
  2. You need to have a OpenAI account to use OpenAI API.

💻 How to use

It is recommended that the terminal is set to full-screen size when to use Chatify.

1. Install

Homebrew Tap

brew install JunNishimura/tap/Chatify

Go install

go install github.com/JunNishimura/Chatify@latest

2. Preparation

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

Spotify API

Please create any app from the Spotify for Developers Dashboard and retrieve the Client ID and Secret from the settings screen.

OpenAI API

Please create an API key from the OpenAI account screen and obtain it.

3. Greetings to Chatify

You need to provide a couple of information to Chatify at first.

$ chatify greeting

スクリーンショット 2023-09-03 151906

4. Talk with Chatify

Let's talk to Chatify and embark on a journey to discover new music!

$ chatify hey

スクリーンショット 2023-09-03 152152

⌨️ Operation

Key Action
tab switch the view
characters input words
q, ctrl+c quit
enter answer, select
↑, ↓ move in list
←, → turn page

🔨 Options

greeting command

-p, --port

Flag to specify the port number for Spotify authorization. Default number is 8888.

hey command

-n, --number

Flag to specify the number of recommendations. Default number is 25 and maximum number is 100.

-p, --playlist

Flag to enable chatify to make playlist based on the recommendation. Default is false.

スクリーンショット 2023-09-03 152350

スクリーンショット 2023-09-03 152440

🪧 License

Chatify is released under MIT License. See MIT

chatify's People

Contributors

dependabot[bot] avatar junnishimura avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

deryysatt

chatify's Issues

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.