Danpingmu is an wechat program containing live commenting (弹幕), voting and lottery activity that drawing participation and interaction of participants as one part of student party, developed and maintenanced by THUDM team.
The admin user of an activity is allowed to set up the background image and color of comments. Participants who scan the activity's QRCODE can join the activity and start to send comments or images through wechat chat window. If the comment is approved by the manager (both manual review mode and no review mode are provided) and contains no banned words, it will be displayed on the screen.
Additional options:
- Manual review
- Auto filtering - blacklist and banned words
The admin user is allowed to create a lottery activity, determining the number of winners and duration of the lottery effect with ease. Audiences will automatically take part in the lottery activity if they've scanned the QRCODE.
The administrator is able to create and publish vote activities at any time.
A program list of the party could be uploaded and users can check it by pressing the menu button below.
- Run the server
$ cd ./danpingmu/thudm
$ npm install
$ sudo ./bin/www
- Deployment
$ sudo docker build -t danpingmu .
$ sudo docker run -p 0000:80 -d danpingmu