A cross-platform bilibili live danmaku console receiver.
Inspired and getting some core code from copyliu/bililive_dm
Real Room ID detector's code is come from zyzsdy/biliroku
Go to Microsoft dotnet website to get a binary file to install dotnet SDK environment.
Follow the step from this website to install dotnet SDK environment.
This application need dotnet 2.0 or above SDK.
git clone https://github.com/yyc12345/bili-live-dm-console.git
dotnet restore
dotnet run -- [-nr] [-debug]
-nr also is a optional parameter. By sign it, you can disable the function of recording danmaku into file.
-debug is a optional parameter for developer. Signing it will make application show more information during running.
You can press tab to get a command inputer.
bili-live-dm-console > ls
bili-live-dm-console > select EXPRESS [-re]
bili-live-dm-console > c ROOM_ID [-s]
bili-live-dm-console > connect ROOM_ID [-s]
bili-live-dm-console > dc ROOM_ID
bili-live-dm-console > disconnect ROOM_ID
bili-live-dm-console > exit
If you input nothing or input a wrong command. This application will remind you.
ls will list all live room which you connect and also show it's the number of viewer.
select will provide a way to filter your received danmaku.
If you want use regular express, please use -re switch.
If you want to cancel this function, please specified String.Empty. but it not mean you need to input select
. You must input select ""
to do this.
connect will connect to a live room and get all of it's danmaku.
ROOM_ID is bilibili live room's id. It must be a number. Some room id is equal with url id but some not.
-s is a optional parameter. If you sign it, it mean that application need to search actual room id and you must make sure your ROOM_ID parameter is url id.
disconnect just like it's name.
Please ensure ROOM_ID is what you use to connect the live room which you want to cancel now.
exit will make you exit this application naturally.
Except some special situation. Using this command to exit is the best way.