masterchat-cli
v1.0.0
Published
See YouTube Live Chat through flexible filtering engine.
Downloads
19
Readme
Masterchat CLI
See YouTube Live Chat through a flexible filtering engine. For a desktop app, see ☄️ Komet.
Install
npm i -g masterchat-cli
masterchat --help
mc --help
Use
print
Print live/replay chats.
mc print <video ID or URL>
mc print WpjhEqjngRQ --filter 'isSuperchat && color === "green"' --author # Only show green super chats
mc print WpjhEqjngRQ --filter 'isMember' # Only show chats from members
mc print WpjhEqjngRQ --filter 'isModerator || isVerified || isOwner' --author # Print chats from moderators/verified accounts/channel owner
mc print WpjhEqjngRQ --filter '/^(\\[[a-z]+?\\]|[a-z]+?: )/i.test(message)' # Print live translations
mc print WpjhEqjngRQ --filter 'message.includes("草")' # Only show chat contains 草
Options
--type, -t <string>
: Chat type (top
orall
)--author, -a
: Show author name--filter, -f <string>
: Filter chat/superchat events--mod
: Print moderation events--verbose, -v
: Print additional info--collect, -c
: Save received actions as JSONLines (.jsonl)
watch
Print all events except live chats.
mc watch
mc watch --org Hololive
mc watch WpjhEqjngRQ
pbd
pb params decoder.
mc pbd 'EglwbGF5bGlzdHM%3D'
Community
Ask questions in #masterchat
channel on holodata Discord server.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!