Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@hyrious/blivec
Advanced tools
Personal tool for viewing 弾幕 and other utils in bilibili live streaming.
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.
You don't have to install it if you have npx
,
npx @hyrious/blivec ...args
Or you can choose to install it globally, which will give you a shortcut name bl
,
npm i -g @hyrious/blivec
bl ...args
bl <room_id> [--json]
bl <room_id> <message>
This command requires a cookie file named cookie.txt
to be put at the current working directory or at your home folder.
bl get <room_id> [--json]
bl d <room_id> [--mpv] [--interval=1] [--on-close=quit] [-- ...player_args]
Use ffplay
or mpv
(if --mpv
is specified) to play the stream. If it is not available, wait interval minutes and try again.
--mpv
: Use mpv
instead of ffplay
.--interval=<minutes>
: Wait minutes before trying again. Default is 1 minute.--on-close=<action>
: What to do when the player window is closed.
default
: Restart the player. This is super useful when there is network errors and you don't have to touch the keyboard or mouse to keep watching the stream.quit
: Quit the whole program.ask
: Search stream URLs and ask you for a new one to play or just quit. This is useful when you want to switch the stream quality quickly.--quit
: Same as --on-close=quit
.--ask
: Same as --on-close=ask
.Note: You can have a ~/.config/blivec.json
to config default arguments:
{
"dd": ["--mpv", "--quit", "--", "--volume=50"]
}
PR & issues are welcome!
MIT @ hyrious
FAQs
bilibili live cli
We found that @hyrious/blivec demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.