Skip to content

A nodejs based playing system that accept song request by youtube url and play on the server side web ui. Support discord chatbot control.

Notifications You must be signed in to change notification settings

NCTU-CCCA/CCNS-Radio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CCNS Radio

A nodejs based radio system that accept song request by youtube url and play on the server side web ui. Support discord chatbot control.

Installation

edit config

$ cp config/default-sample.json config/default.json
$ vim config/default.json

start server

$ npm install 
$ npm start

development settings

$ ./scripts/install-git-hooks
$ ./node_modules/.bin/eslint --init
? How would you like to configure ESLint?
❯ Use a popular style guide
? Which style guide do you want to follow?
❯ Standard
? What format do you want your config file to be in?
❯ JSON

Costume

change kanban musume

Replace public/img/kanban-musume by your musume(?

Discord bot support

Support discord bot control.

[Command list]
/playing : Get information of currently playing song. 
/add [youtube_url] : Add a song.
/next : Skip current song.
/playpause : Play/Pause current song.
/controller : Show controller.

Web API

POST /play

  • body: none
  • response:
Play

POST /pause

  • body: none
  • response:
Pause

POST /next

  • body: none
  • response:
Next song

About

A nodejs based playing system that accept song request by youtube url and play on the server side web ui. Support discord chatbot control.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.2%
  • HTML 12.2%
  • CSS 4.4%
  • Shell 2.2%