Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/romeovs/radio
A simple radio controller for Raspberry Pi
https://github.com/romeovs/radio
online-radio radio raspberry-pi raspberry-pi-zero-w stream wifi
Last synced: 7 days ago
JSON representation
A simple radio controller for Raspberry Pi
- Host: GitHub
- URL: https://github.com/romeovs/radio
- Owner: romeovs
- Created: 2019-10-28T14:12:49.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-06-10T17:28:44.000Z (over 2 years ago)
- Last Synced: 2024-11-15T02:49:59.321Z (about 1 month ago)
- Topics: online-radio, radio, raspberry-pi, raspberry-pi-zero-w, stream, wifi
- Language: Go
- Size: 747 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# radio
Radio is a simple program that turns a Raspberry Pi into a radio that can play
audio from a number of different sources.## Sources
These are the sources that have been implemented for now:
- Web stream
- Airplay
- Bluetooth## Run locally
Run Radio from your shell:
```sh
go cmd/main.go
```Set a channel using curl, e.g.
```sh
curl -XPUT http://localhost:8080/select/1
```See `http.go` for more
## Dependencies
Radio uses PulseAudio. If you are on a non-linux OS you will need to install it, for example via Homebrew:
```sh
brew bundle
```And start it:
```sh
pulseaudio
```## Configuration
The radio can be configured via a config file (default `radio.json` or can be
set using the `-c` flag). See [`radio.json`](radio.json) for an example configuration.## Hardware
In the future I will post hardware I've used to build the radio here, as well as
schema's on how to wire up the GPIO for the control knobs.