HarmonyHub is a lightweight, stateless Discord bot built with Node.js & discord.js v14 that instantly fetches song details, artist info, and lyrics using public music APIs.
Get detailed metadata of any song.
/song name:[song name]
Get insights about an artist.
/artist name:[artist name]
Fetch lyrics for a song (Discord-safe length).
/lyrics song:[song name] artist:[artist name]
- Node.js
- discord.js v14
- Spotify Web API
- Lyrics.ovh / Genius API
- axios
- dotenv
HarmonyHub/
├── commands/
│ ├── song.js
│ ├── artist.js
│ └── lyrics.js
├── services/
│ ├── spotify.service.js
│ └── lyrics.service.js
├── utils/
│ └── embedBuilder.js
├── index.js
├── .env
├── package.json
└── README.md
Create a .env file in the root:
DISCORD_TOKEN=your_discord_bot_token
CLIENT_ID=your_discord_application_id
SPOTIFY_CLIENT_ID=your_spotify_client_id
SPOTIFY_CLIENT_SECRET=your_spotify_client_secretgit clone https://github.com/Suvanwita/HarmonyHub.git
cd HarmonyHub
npm install
npm start
MIT License © 2025 HarmonyHub
-
Spotify Web API
-
Lyrics.ovh / Genius
-
discord.js