ComfyJS

github.com/instafluff/ComfyJS Twitch Tools Open-source projectOpen source

ComfyJS provides a JavaScript library that connects Node.js and browser apps with Twitch chat.

github.com/instafluff/ComfyJS
ComfyJS homepage screenshot

About ComfyJS

ComfyJS is an open-source JavaScript library that connects Node.js and browser applications to Twitch chat. Developers use it to respond to chat commands, read chat messages, and send messages to a channel. The README describes setup as a few lines of code, and it credits tmi.js as the underlying Twitch chat library.

Reading chat and responding to commands work with a channel name alone. Sending messages requires a Twitch chat OAuth token, which the README suggests storing in a local .env file. Channel point reward redemptions need additional Twitch OAuth permissions, and the customRewardId field only works with custom rewards that require text.

Key features

  • Responds to Twitch chat !commands through an onCommand handler
  • Reads chat messages through an onChat handler
  • Sends chat messages with ComfyJS.Say() using an OAuth token
  • Reports user flags including broadcaster, mod, founder, subscriber, and vip
  • Provides time since last command for cooldowns and spam filtering
  • Joins a single channel or multiple channels through Init()
Best for: JavaScript developers who want to build Twitch chat bots or chat-driven features for Node.js or browser apps.
Good for
  • Setup is described as a few lines of code
  • Works in both Node.js and browser environments
  • Open source under a published license
Watch out for
  • Sending chat messages requires a Twitch chat OAuth token
  • Channel point reward redemptions require extra Twitch OAuth permissions

ComfyJS at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

ComfyJS alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

sogeBot

github.com/sogebot/sogeBot

Run a Twitch bot built on Node.js with sogeBot; the supplied repository summary does not describe its commands or other behavior.

Open source
24 alternatives

Firebot

github.com/crowbartools/Firebot

Firebot provides desktop automation for Twitch streamers, including chat commands, events, timers, currencies, and integrations.

Open source
24 alternatives

Popular in Twitch Tools

Well-known listings from the same topic.

All 110

ComfyJS FAQ

How can a bot send messages to chat?
The library provides ComfyJS.Say(message), but connecting with it requires a Twitch chat OAuth password. The README links to twitchapps.com/tmi for generating one and suggests storing it in a .env file.
Can one instance join more than one channel?
Yes. Passing an array of channel names as the third argument to Init() joins multiple channels.
How can a developer limit how often a command is used?
The extra parameter for command handlers includes sinceLastCommand, which gives the time in milliseconds since the last use of the command by any user or by a specific user. The README notes it can be used for global cooldowns or spam filters.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing