Go to file
Damien Broqua c0f6dea24a Fixed bug for CosmicFuzzFM radio 2021-10-26 15:35:25 +02:00
helpers Added !list command 2019-12-25 13:47:42 +01:00
libs Fixed typo 2020-01-30 16:11:48 +01:00
models Added debug mode for mongoose 2020-01-09 11:21:37 +01:00
.eslintrc.js Init 2019-12-24 10:18:46 +01:00
.gitignore Updated JSON 2020-01-06 20:14:12 +01:00
LICENCE.txt Init 2019-12-24 10:18:46 +01:00
README.md Added say hello on join 2019-12-25 09:40:18 +01:00
TODO.md Added !list command 2019-12-25 13:47:42 +01:00
import.js Added histories import from old version 2019-12-24 14:34:22 +01:00
index.js Fixed bug for CosmicFuzzFM radio 2021-10-26 15:35:25 +02:00
package.json Added json stream 2019-12-29 19:08:35 +01:00
yarn.lock Added json stream 2019-12-29 19:08:35 +01:00

README.md

IRC Radio Bot

Ré écriture complète

IRC Radio Bot est un bot permettant de publier sur un canal IRC le morceau en cours de diffusion sur une radio de votre choix.

Prérequis

  • NodeJS
  • MongoDB
  • Yarn (ou npm)

Configuration

Pour fonctionner ce bot a besoin d'un ensemble de variable d'environnement, en voici là liste :

# L'url du flux radion
export STREAM_URL="";
# L'alias de la radio (pour la sauvegarde en base)
export RADIO_ALIAS="ma-radio";
# L'adresse du serveur IRC
export IRC_SERVER="irc.freenode.net";
# Le pseudo du bot
export IRC_NICKNAME="IrcRadioBot";
# Le canal sur lequel le bot apparait
export IRC_CHANNEL="#foo";
# Le nom du bot
export IRC_USER_NAME="nodebot";
# Le nom réel du bot
export IRC_REAL_NAME="IRC RADIO BOT";
# L'adresse du serveur mongo et de la base associée
export MONGO_URL="mongodb://localhost/irc-radio-bot";
# Le bot souhaite la bienvenue aux arrivants ?
export SAY_HELLO="false"

Ne pas oublier d'installer les modules nodejs :

yarn install

Lancement

yarn start

Crédits

Développé par DarKou.

Licence

IRC Radio Bot est distribué sous licence MIT