Skip to content
/ chat Public
forked from tegioz/chat

大家可以一块听歌点歌切歌,使用腾讯音乐源,一块感受音乐的意境!!

License

Notifications You must be signed in to change notification settings

taontech/chat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MusicChat

输入"/"后面跟歌名,即可在群内播放搜出来的第一首歌!

Requires

  • Node.js
  • NPM (Node Package Manager)
  • Redis

Get the code

git clone https://github.com/taontech/chat.git

Run

Fetch dependencies:

npm install

Launch Redis:

redis-server

Launch chat server:

(don't forget to launch Redis before!)

node chatServer.js

Now open this URL in your browser:

http://localhost:8888/

and you're done ;)

Broadcast API

Send messages to all connected users:

Content-Type: application/json
POST /api/broadcast/

{"msg": "Hello!"}

About

大家可以一块听歌点歌切歌,使用腾讯音乐源,一块感受音乐的意境!!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 68.5%
  • HTML 29.5%
  • Python 1.4%
  • CSS 0.6%