Check it out: https://juanojeda.github.io/new-music-friday/
A minimal web app that fetches, displays, and lets you play public "New Music Friday" YouTube Music playlists. No login required. Playlists update weekly.
- Clone the repo and install dependencies:
git clone <repo-url> cd new-music-friday npm install
- Add a
.envfile with your YouTube API key and channel ID:YOUTUBE_API_KEY=your-key YOUTUBE_CHANNEL_ID=your-channel-id
- Fetch the latest playlists:
npm run fetch-playlists
- Start the app:
npm run dev
Visit http://localhost:5173 to use the app.
The site is automatically deployed to GitHub Pages using GitHub Actions:
- On every push to the
mainbranch, a GitHub Actions workflow builds the site and deploys the contents of thedist/directory to thegh-pagesbranch. - GitHub Pages is configured to serve from the
gh-pagesbranch in repository settings. - No manual deployment steps are required for standard updates—just push to
main. - For details on the deployment workflow, see REQ-010-github-pages-deployment.md.