A TypeScript based CLI tool to search Spotify and display the top tracks for any keyword.
- Search for songs, artists, or albums on Spotify.
- Fetches the top tracks for your keyword.
- Displays track name, artist(s), album, and a Spotify link.
- Lightweight and easy to use directly from the terminal.
- Typescript
- Node.js
- Spotify Web API
- Clone the repository:
git clone https://github.com/ajawad06/dictionary-cli.git
cd dictionary-cli- Install dependencies
npm install- Create .env file with your Spotify developer credentials
SPOTIFY_CLIENT_ID=your_client_id
SPOTIFY_CLIENT_SECRET=your_client_secretnpm start <keyword>
e.g. npm start lofi