Skip to content

liquidnya/pronouns-chat

Repository files navigation

pronouns-chat

Custom on-screen chat for Streamlabs Chat Box or StreamElements Custom Widget.

A screenshot of the chat overlay containing some messages by different users. Pronouns are displayed to the left of the names for some of the users.

Features

  • Replaces emoji with @twemoji/api with Unicode 17.0 support.
  • Adds pronouns next to the names of users
  • Changes the badges and emotes to use the best quality.
  • Makes name colors readable.
  • Adds support for emote effects by FFZ.
  • Clears chat messages appropriatly whenever someone is timed out, banned or if their message is deleted and also clears the whole chat when the /clear command is used.
  • Mitigates a bug in Streamlabs Chat Box where the message is HTML encoded whenever < and > are contained within the message and emotes where placed incorrectly. Note that this mitigation will not display ffz, bttv, and 7tv emotes, but at least the message is readable again.
  • Does not display /s for the display name of chatters who have spaces in their display name.

Supported browser versions

The following browsers are supported:

  • Chrome version 107
  • Edge version 107
  • Firefox version 104
  • Safari version 16

Since OBS Studio is using chromium as a browser source engine, the minimum OBS Studio version is:

  • OBS Studio version 31.0.0 (released 2024-12-07)

Please make sure to use supported versions.

How do I use this?

StreamElements

Please see streamelements/README.md for instructions on how to install this custom widget on a StreamElements overlay.

Streamlabs

Please see streamlabs/README.md for instructions on how to install this in the Streamlabs chat box widget.

Standalone Version

There are plans to create a standalone version for this widget that does not require StreamElements nor Streamlabs. liquidnya has made a proof of concept version that already works, but it is not ready to be used by others yet.

This version will have a single HTML file that needs to be downloaded and then just added as a browser source into your OBS.

Note: liquidnya has made a standalone clips-player that can be used to play twitch clips in an OBS browser source and the standalone version of pronouns-chat will be based on that.

Roadmap

  • Standalone version
    • Re-implement or find the source code of the standalone version
    • Write documentation on how to use the standalone version
    • Release the standalone version
    • Create a video explaining how to use it
  • Planned features for the standalone version
    • Opening the HTML file in your browser instead of adding it as a browser source will
      • show documentation on how to add it
      • have a UI where all the settings can be set instead of having to change code or query parameters
      • have an option to export an HTML file that contains the settings
    • Improve handling of twitch access tokens in localStorage
  • Other plans

Whenever the standalone version releases the Streamlabs and Streamelements versions might no longer receive feature updates, but they will be maintained for a bit.

Contributing

You do not need to build this widget from source to use it (see above). However, here is the documentation on how to build it from source such that it is easier for you to make changes to the source code in the contribution guidelines.

Related Projects

Please message liquidnya if you know about more projects that support pronouns for an on-screen chat overlay.

  • slime2 - A widget independant from Streamlabs/StreamElements. However this widget is source available, but not open source; as of 2026-03-29, see Terms of Use of slime2.
  • woke-chat - A fork of pronouns-chat, maintained by maia arson crimew. The style of how chat messages are displayed is different: style fixes, borders around pronouns, and a colon between name and message.

This project (pronouns-chat) has been created, because of the lack of very simple (no custom decorations) chat overlays that support pronouns and are open source.

LICENSE

The following files have their license information within the file itself:

  • src/features/ffz.ts
  • src/features/ffz.css
  • streamlabs/custom.css
  • streamlabs/custom.js
  • streamelements/custom.css
  • streamelements/custom.js

All other fies are distributed under the MIT license.

See COPYING for details.

About

Custom on-screen chat for Streamlabs Chat Box or StreamElements Custom Widget.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors