An end-of-stream credits widget that automatically scrolls with all stream contributors (moderators, follows, subs, cheers, raids, etc.).
It is built in a simple HTML page, with HTML, CSS and vanilla JS.
Credits are a native function of streamer bot. The widget handles receiving and displaying the information.
Consult the official documentation of streamer bot directly to learn how to configure your credits.
This step is crucial for streamer bot to communicate with the widget and send information recorded during the stream.
Open the widget page with the code editor of your choice. Each editable section is commented to be easily found. Details are in the customisation section below.
local file boxTo use the credits, simply enable the source in OBS. To refresh the credits you can use the "refresh browser source" button from the source properties, or disable then re-enable the source.

Groups must be configured in Streamer.bot beforehand.

The scroll speed is calculated in the duration const of the script from the height of your OBS browser source. Modify the factor by which the function is multiplied to increase or decrease the scroll speed until it matches what you want.

The styles of this widget have been kept very simple to allow you to modify them as you wish. CSS is included directly in the page.
| Selector | Description |
|---|---|
| .wrapper | Credits container. |
| h1 | Section titles (Events & Users Present). |
| h2 | Group titles. |
| .name | Usernames. |
| #license | This page licence information. |

Modify the request value to enable test mode.
Use test mode to:
GetCredits before starting your stream!