A command-line radio application that plays the newest songs featured on Hype Machine.
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.
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
pnpm add -g hype-radio
hype-radio
Commands:
-
m
- (un)mute -
q
- quit