Skip to content

camillemndn/radiogaga

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RadioGaGa (forked from piclodio3)

RadioGaGa is a web radio player and a also an alarm clock that can be installed on Raspberry Pi. You can add url stream to complete the collection. Scheduling alarm clock is easy and can be periodic. A local backup MP3 file is used in case of losing internet connection or if the web radio is not anymore available to be sure you'll be awaken.

Installation

Via Nix

coming soon

Via Docker

The project can be deployed via the provided docker compose file. Check this doc to install Docker and docker-compose on your RPI.

git clone https://github.com/camillemndn/radiogaga.git
cd radiogaga
docker-compose up -d

Then access the UI via your web browser with the IP of your host (type ip a to get it). E.g: "http://192.168.0.22/"

Development env

The project is split in two parts:

Installation procedures have been tested on a Raspberry Pi and on Ubuntu 18.04/20.04 but the project should works on any Linux system that can handle Django and Angular.

Web Radio URLs

There is a lot of web radio online. In most of case, websites provide a pls or m3u file that contain the URL you need to give to RadioGaGa. You can also get the URL from the console of your web browser. Look for the URL that consume the most brandwith in the network console.

Take a look to internet-radio.com for a large selection of web radio sorted by genre. Or fluxradios.

API doc

You can accees to API doc on the "/redoc" URL.

Timezone

By default the time is showed in UTC. If you want to change the timezone, update the file radiogaga/back/radiogaga/settings.py E.g:

TIME_ZONE = 'Europe/Paris'

Raspberry output jack

To set the audio out to jack instead of HDMI:

amixer cset numid=3 1
  • 1: Jack
  • 2: HDMI
  • 3: auto

License

Copyright (c) 2023. All rights reserved.

RadioGaGa is covered by the MIT license, a permissive free software license that lets you do anything you want with the source code, as long as you provide back attribution and "don't hold you liable". For the full license text see the LICENSE.md file.

About

Raspberry Pi Clock Radio

Resources

License

Stars

Watchers

Forks

Languages

  • Python 50.2%
  • TypeScript 32.4%
  • HTML 13.6%
  • JavaScript 1.3%
  • Nix 1.2%
  • Dockerfile 0.9%
  • Other 0.4%