Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

sigvt/masterchat

Repository files navigation

Masterchat

npm npm: total downloads npm: publish size typedoc

Masterchat is the most powerful library for YouTube Live Chat, supporting parsing 20+ actions, video comments and transcripts, as well as sending messages and moderating chats.

Install

npm install masterchat
import { Masterchat, stringify } from "masterchat";
const mc = await Masterchat.init("oyxvhJW1Cf8");
const chats = mc.iter().filter((action) => action.type === "addChatItemAction");
for await (const chat of chats) {
 console.log(`${chat.authorName}: ${stringify(chat.message)}`);
}

See MANUAL for further instructions.

CLI

npm i -g masterchat-cli
mc watch --org Hololive

See masterchat-cli for detailed usage.

Desktop App

See β˜„οΈKomet for further information.

Community

Contributing

  • Use masterchat with DEBUG=masterchat and report logs that are prefixed with [action required]
  • Squash TODOs

See Contribution Guide for more information. 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 are welcome!

Projects using Masterchat

Related projects

Sponsor this project

Contributors 5

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /