Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zbo14/hype-radio
CLI radio that plays the newest songs on Hype Machine.
https://github.com/zbo14/hype-radio
audio browser-automation internet-radio javascript music nodejs puppeteer radio streaming
Last synced: about 1 month ago
JSON representation
CLI radio that plays the newest songs on Hype Machine.
- Host: GitHub
- URL: https://github.com/zbo14/hype-radio
- Owner: zbo14
- License: isc
- Created: 2024-04-30T17:10:17.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-01T18:17:06.000Z (8 months ago)
- Last Synced: 2024-05-02T12:00:28.259Z (8 months ago)
- Topics: audio, browser-automation, internet-radio, javascript, music, nodejs, puppeteer, radio, streaming
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/hype-radio
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hype Radio
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)
A command-line radio application that plays the newest songs featured on [Hype Machine](https://hypem.com).
## 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
```shell
pnpm add -g hype-radio
```## Usage
```shell
hype-radio
```**Commands:**
* `m` - (un)mute
* `q` - quit