Skip to content
/ blivec Public
forked from hyrious/blivec

获取 bilibili 直播弹幕

License

Notifications You must be signed in to change notification settings

esphas/blivec

 
 

Repository files navigation

> bilibili-live-cli

Personal tool for viewing 弾幕 (danmaku) in bilibili live streaming.

Why

It will cost too much CPU to open a browser when playing osu!, where the performance of CPU matters when the beatmap becomes more difficult and you need at least 240 FPS to play well.

The main goal of this tool is to provide a cheap way to interact with bilibili live streaming without hurting the game's performance. If you want a better API library, see credits.

Usage

# start listening danmaku in room 14917277
npx @hyrious/blivec 14917277
# example output (press ctrl-c to stop listening)
listening 14917277
> [username] message
^C

# install it globally, which provides a shortcut name "bl"
npm i -g @hyrious/blivec
bl 14917277

# send danmaku (requires cookie)
bl 14917277 "hello world"

Develop

PR & issues are welcome!

pnpm t 14917277

Credits

License

MIT @ hyrious

About

获取 bilibili 直播弹幕

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 75.8%
  • JavaScript 24.2%