https://github.com/54ac/yt-audio-player
A YouTube audio-only player consisting of a Javascript frontend and Node.js backend.
https://github.com/54ac/yt-audio-player
nodejs youtube
Last synced: over 1 year ago
JSON representation
A YouTube audio-only player consisting of a Javascript frontend and Node.js backend.
- Host: GitHub
- URL: https://github.com/54ac/yt-audio-player
- Owner: 54ac
- Created: 2019-02-16T02:09:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-01T18:32:02.000Z (over 1 year ago)
- Last Synced: 2025-04-01T19:40:51.045Z (over 1 year ago)
- Topics: nodejs, youtube
- Language: JavaScript
- Homepage:
- Size: 383 KB
- Stars: 21
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## The YouTube Audio Player
### What is this?
This is a YouTube audio-only player consisting of a JavaScript frontend and Node.js backend.
### What is this written in?
- JavaScript,
- Node.js.
### What are some of the main features?
- Uses [node-ytdl-core](https://github.com/fent/node-ytdl-core) to acquire the URL of an audio stream only (as YouTube provides separate video and audio streams and muxes them in-browser),
- Uses the Web Audio API to natively play the audio stream,
- Uses pure JS and DOM manipulation to provide a simple and responsive UI in the form of a player and playlist,
- Uses the Web Storage API to store the playlist in local storage.
### What's the point?
Mostly familiarizing myself with the Web Audio API and practicing DOM manipulation, although there is a point to be made about this tool being useful in limited data scenarios.
### How do I use this?
1. Paste YouTube URL in the appropriate input field,
2. Select the video in the playlist,
3. Listen.
### How do I launch this myself?
1. `git clone https://github.com/54ac/yt-audio-player.git .`
2. `npm i`
3. `npm start`