/radio-didou

Radio Didou is a collaborative webradio

Primary LanguageTypeScriptMIT LicenseMIT

Radio-didou

Supporting Software

  • Icecast
  • LiquidSoap
  • Loopback 4
  • MongoDB
  • React
  • SpotifyDeamon

How-to install?

Icecast

  • Install Icecast2.

Spotifyd

  • Install Spotifyd https://github.com/Spotifyd/spotifyd
  • Enable systemd for user even when not connected: 'loginctl enable-linger your_user'
  • Add an aslsa virtual sound card : 'modprobe snd-aloop'
  • Add line 'snd-aloop' to /etc/modules
  • Copy /config/audio/.asoundrc in your user's home.
  • Add your user to audio group : 'sudo adduser "your_user" audio'

Liquidsoap

MongoDB

Loopback 4 (Backend)

  • Install NodeJS, NPM and Yarn.
  • In server folder do 'npm install'
  • In OpenAPI folder do 'npm install'
  • In server folder do './build.sh'
  • In the client folder do 'yarn install'
  • In the client folder do 'yarn build'
  • In your root folder, run the server with './run.sh'

How to configure ?

  • Copy the file ./config/loopback/config.yaml into the root folder.
  • Modify it to fit your needs.

CI

CI is done by Drone CI !

Contribution

If you want to contribute to this fun, full-stack typescript project, we welcome you on discord : https://discord.gg/CJrZDrt. We could also help you if you plan to set-up your own server.