1.0.0 • Published 3 years ago

masterchat-cli v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

Masterchat CLI

npm npm: total downloads

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 or all)
  • --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!

1.0.0

3 years ago

0.8.0

3 years ago

0.7.3

4 years ago

0.7.2

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.4

4 years ago

0.4.1

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago