npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

bilicom

v3.8.0

Published

Bilibili 直播弹幕助手

Readme

bilicom Bilibili 直播弹幕助手

This is based on the original project by payne

Bilibili 直播弹幕助手 是一个帮助播主快速查看直播弹幕以及摆脱Flash观看B站直播的软件。

有几个功能:

  • 同步连接B站弹幕服务器
  • 断线重连
  • 弹幕通过aosd在屏幕上显示
  • 保存弹幕
  • 发送弹幕(使用cookie或者登录)
  • 保存密码加密后的cookie-file,不用重复登录/使用cookie
  • 观看B站直播视频流

安装与使用

安装

  1. 安装必须的软件: nodejs
  2. 安装可选软件: mpv, libaosd(aosd_cat)
  • mpv - 观看直播视频
  • libaosd - 屏幕上显示弹幕
  1. 安装本弹幕助手: sudo npm install -g bilicom

如何安装libaosd

使用

安装完成后运行bilicom <直播间id>

命令行参数:

  • -c--cookie <string> : 设置cookie
  • -C--cookie-file <filename> : 设置cookie文件名
  • -l--log : 保存弹幕
  • -d--dir <dirname> : 设置弹幕保存目录
  • -L--login : 登录B站
  • -p--picexec <program name> : 查看验证码的程序(<program name> <filename>可以看图片的那种)

快捷键| 效果 -----| --------------- q | 退出程序 m | 打开播放器看直播 p | 调整弹幕提示位置 +/- | 增加减小提示字体 t | 是否显示弹幕时间 u | 是否显示弹幕发送者 w | 是否显示欢迎信息 n | 是否显示弹幕提示 回车| 发送弹幕 D | (发送测试弹幕)

发送弹幕

使用Cookie发弹幕

  1. 首先需要导出登录cookie
    1. 在chrome中登录B站后
    2. 打开开发者工具
    3. 输入document.cookie
    4. 拷贝返回的字符串(含引号)
  2. 使用bilicom <直播间号> -c <字符串>运行程序
  3. 回车键进入弹幕发送模式
  4. 回车发送弹幕(空弹幕不会发送)

B站登录发弹幕

  1. 使用bilicom <直播间号> -L运行程序
  2. 输入用户名和密码
  3. 验证码有的时候可以不用输(少年,赌一把吧~)
  4. 登录成功?发弹幕吧

Cookie file

  1. -C <filename>指定文件,即可保存cookie(会询问加密密码)
  2. 使用时需指定-C <filename> 指定cookie-file
  3. 解密后就可以发弹幕了

没图说个XX

弹幕机界面

image

多个弹幕的叠加效果

image

使用弹幕机观看直播

image