hype-radio
v0.2.0
Published
A command-line radio application that plays the newest songs featured on Hype Machine.
Downloads
7
Maintainers
Readme
Hype Radio
A command-line radio application that plays the newest songs featured on Hype Machine.
Motivation
Hype Machine allows you to stream songs in your browser. However, playback goes from newest songs to oldest. Furthermore, you have to refresh/interact with the page to fetch new tracks.
Hype Radio provides a hands-off listening experience that plays the newest tracks for you.
How it works
Hype Radio runs headless browser automation that does the following:
- Navigates to https://hypem.com/latest
- Starts playing the oldest track from the latest page
- Plays the next oldest track, rinse and repeat
- Displays track information (i.e. artist name, track name, streaming links) in terminal
- If it runs out of tracks, it checks for new tracks and plays them
- If there aren't new tracks, it waits for them to show up
Installation
pnpm add -g hype-radio
Usage
hype-radio
Commands:
m
- (un)muteq
- quit