Skip to content
A real time user comment display system for live performance.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


A real time user comment display system for live performance.

Basic structure

This frontend is divided into to parts: The user frontend and performance frontend.

The user frontend provides basic functions (login, register, send danmaku, etc) for users, and provide other functions (show recent user list, ban user, etc) for administrators.

The performance frontend includes three modules:

  • Play the background video / images
  • Play danmuaku
  • A blackboard for displaying other applications (prize drawing, statistics, question standing, etc)



To deploy it on the server, first you have to set up the database (MySQL). You may find the schemes for database (the .sql file) at /install/installDB.sql.

At the user frontend, the system is not opened for users to register. Instead, you are supposed to generate serial numbers randomly, and add these random serial numbers to attribute reg_code of table users.

For users of the system, each of them should have one serial number, and register the system with their unique serial numbers, along with their self-specified nicknames and passwords.

backend configuration

You have to specify the backend configurations.

The configuration file is in json format, and you may find it at /src/danmakuBackend/config/config.json.

The backend configuration is mainly about database. Besides, the configuration also includes the port to run the app, and a token used to indicate the successful establishment of websocket connection.

frontend configuration

You have to specify the performance frontend configuration.

At performance frontend, there are two configuration files. One is located at /frontend/js/config.js. This config file is mainly about server information. Another is located at /frontend/js/showList.js. This configuration file is about the performance information. The administrator use this file to specify each show and their background image / video file. For show with separate background image and background music, controller has to play the background music manually.

compile it

use this command :

cd server
export GOPATH=`pwd`

at the root dir of the project.

Then, go to /src/danmakuBackend folder, and run these commands:

go get
go get
go get
go get
go build

and finally, run the compiled executable file, and open performance frontend to connect.


  • admin page: user comment list, ban user
  • blackboard: display user comment rankings
You can’t perform that action at this time.