StreamXtras
Lightweight, self-hosted extras for your stream in OBS – chat box, alerts and more – as a free alternative to hosted overlay services. A small companion app runs in the system tray, serves the overlays and a settings page on your computer and connects them to Twitch. No account with a third-party service, no tracking, no external fonts or scripts.
Feedback and bug reports are welcome as issues. Not affiliated with or endorsed by Twitch, 7TV, BetterTTV, FrankerFaceZ or Chatterino. Twitch is a trademark of Twitch Interactive, Inc.
Features
- Chat box – reads the chat anonymously (no login), shows emotes from Twitch, 7TV, BetterTTV and FrankerFaceZ, highlights announcements, removes messages deleted by moderators and filters bots and words
- Alert box – alerts for follows, subscriptions, gift subs, cheers and raids with image or video, text and sound; variants per amount, tier or Twitch user; ten images and ten sounds are included, your own files can be uploaded
- Goals – follower goal and sub goal as a progress bar, set on the settings page or taken from your Twitch dashboard
- Recent events – the latest followers, subs, gift subs, cheers or raids, e.g. for a BRB scene
- Top emotes – the most used emotes in the chat over a chosen time
- Text-to-speech – reads alerts and viewer messages aloud with the voices of the operating system
- Companion app – tray icon, local settings page with live preview, settings that apply without reloading the OBS source
Installation
Windows: download StreamXtras-<version>-windows-x64-setup.exe from Releases and run it. It installs for the current user without administrator rights (to %LOCALAPPDATA%\Programs\StreamXtras); "Install for all users" installs to C:\Program Files\StreamXtras and asks for administrator rights. Options: Start menu entry (on), desktop shortcut (off), start with Windows (off). Instead of the installer you can use the portable archive …-windows-x64-portable.zip.
macOS: download …-macos-arm64.dmg (Apple silicon), open it and drag StreamXtras into the Applications folder. StreamXtras only appears in the menu bar, not in the Dock.
Linux: on Debian, Ubuntu, Linux Mint and similar, install streamxtras_<version>_amd64.deb (e.g. sudo apt install ./streamxtras_1.3.0_amd64.deb); on Fedora, openSUSE and similar, install streamxtras-<version>-1.x86_64.rpm (e.g. sudo dnf install ./streamxtras-1.3.0-1.x86_64.rpm). Both add StreamXtras to the application menu and recommend espeak-ng for text-to-speech. For other distributions, extract …-linux-x64.tar.gz to a folder of your choice and keep the web folder next to the program.
The app is not signed, so the system may warn on the first start:
- Windows: SmartScreen → "More info" → "Run anyway"
- macOS: the app is not notarized by Apple. On the first start macOS refuses to open it; then choose System Settings → Privacy & Security → "Open Anyway" (on older versions: right-click the app → "Open"). This is needed only once.
- Linux: start
streamxtras(lowercase, as usual for commands there). The tray icon needs a desktop with StatusNotifierItem support (KDE Plasma, or GNOME with the AppIndicator extension); text-to-speech needsespeak-ng
With the portable archives, add a shortcut to your autostart to start StreamXtras with your system (Windows: press Win+R, enter shell:startup). Each download has a .sha256 file to verify it. Changes are listed in the changelog.
Installer parameters
| Parameter | Effect |
|---|---|
/CURRENTUSER | Install for the current user only (default) |
/ALLUSERS | Install for all users (asks for administrator rights) |
/DIR="C:\Path" | Installation folder |
/SILENT, /VERYSILENT | Without wizard (with or without progress window) |
/SUPPRESSMSGBOXES | No message boxes in silent mode |
/TASKS="desktopicon,autostart" | Selected options; desktopicon adds a desktop shortcut, autostart starts StreamXtras with Windows for the installing user. Without the parameter, both are off |
/NOICONS | No Start menu entry |
/LOG="C:\Path\setup.log" | Write a log file |
Example: StreamXtras-1.1.0-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /TASKS="autostart"
Settings and overlays are stored per user and are not set by the installer. Uninstalling removes the program, its shortcuts and the autostart entry but keeps the settings and your uploaded files in %APPDATA%\StreamXtras and the Twitch login in %LOCALAPPDATA%\StreamXtras.
Usage
- Start the companion app. On the first start the settings page opens in your browser; later you open it with a click on the tray icon.
- Log in with Twitch on the settings page (needed for alerts, goals, recent events and all badges) and check your channel in the chat box tab.
- Copy the URL of an overlay from its tab (e.g.
http://127.0.0.1:47820/chatbox/) and add it to OBS as a browser source with Local file unchecked. Use the same width and height as on the settings page.
Twitch login
Twitch opens with a code already filled in, you confirm, done. The login only grants read access (bits, channel point redemptions, subscriptions, followers, chat notifications for subscription tiers and messages, creator goals), is renewed automatically and stays valid as long as the app runs at least once every 30 days. If the settings page asks you to log in again after an update, a new feature needs another permission.
Release builds contain the Client ID of this project. To use your own Twitch application (or when building yourself), register one at dev.twitch.tv with client type Public and redirect URL http://localhost, and add its Client ID to config.json:
{ "twitchClientId": "your-client-id" }
Chat box
All settings are edited on the settings page with a live preview: channel, number of messages, hiding after a time, animation, position, font, size, colors, message background, spacing, emote size, badges, third-party badges, readable name colors, third-party emote providers, filters, shared chat (streamer icons, messages from partner channels) and the browser source size. Saved changes apply to open chat boxes immediately; only a new channel, other third-party badges or other emote providers reload them.
Filters hide messages from chosen bots (Nightbot, StreamElements, Streamlabs, Moobot, Fossabot, WizeBot, Sery_Bot, SoundAlerts, KofiStreamBot, StreamStickers), from the streamer, from further accounts you enter (e.g. your Streamer.bot account) and messages with blocked words. A * at the end of a word also matches longer words.
Third-party badges from 7TV, BetterTTV, FrankerFaceZ and Chatterino are off by default and can be turned on one by one.
URL parameters override the stored settings for a single browser source, e.g. ?channel=othername&fontSize=24. The parameter names are the keys in the chatbox section of config.json. Users who never picked a name color get a fixed color from Twitch's palette, based on their user ID, instead of a random one.
Alert box
The alert box shows one alert at a time; further alerts wait in a queue. Alerts always belong to the logged-in channel. The list on the left switches between the general settings and the alert types; the checkbox next to a type turns it on or off. Every type has the same options: text with placeholders ({name}, {amount} for months, gifted subs, bits or viewers, {tier}, {message}), image or video, the profile picture of the user instead, sound, duration and text-to-speech. Videos play to the end with their own sound.
Variants replace these options for single alerts, e.g. for exactly 67 bits, from 500 bits on, for a subscription tier or for a raid by a certain streamer. The first matching variant wins. In the test row below the preview you can enter a number, a tier, a Twitch name and a message: "Show in preview" plays the alert in the preview, "Send to OBS" in every open alert box. To mix the sound in OBS, enable "Control audio via OBS" in the browser source.
The "Live" row controls all open alert boxes: replay the last real alert, skip the alert shown right now (e.g. during a raid) or pause alerts, e.g. while recording. While paused, new alerts wait in the queue and a banner on every tab of the settings page shows it. The pause ends when the companion app restarts.
To show only some alert types in a browser source, add them to the URL, e.g. http://127.0.0.1:47820/alertbox/?types=follow,raid. Available types: follow, sub, gift, cheer, raid.
Text-to-speech is off by default and is turned on per alert type, with a minimum for gift subs and cheers and a choice of tiers for subscriptions. Voice, volume and maximum length are set under General. Cheer emotes like Cheer100 are removed before reading.
Uploaded files (MP3, OGG, WAV, PNG, GIF, WebP, JPEG, MP4, WebM, up to 50 MB) are stored in the media folder inside the configuration folder. The file type is detected from the content; SVG files are not accepted.
Goals, recent events and top emotes
- Goals:
http://127.0.0.1:47820/goal/?goal=followersor?goal=subs. Each goal uses either the target set on the settings page or the active goal from your Twitch creator dashboard, which moderators can set as well and which updates live. - Recent events:
http://127.0.0.1:47820/recent/?type=follow(alsosub,gift,cheer,raid). Test alerts are not listed. - Top emotes:
http://127.0.0.1:47820/topemotes/counts every emote once per message, starting when the browser source is loaded.
Languages
The settings page, the diagnostics page and the tray menu are available in several languages, see LANGUAGES.md. By default StreamXtras follows the display language of your system; the selection at the top right of the settings page overrides it. Dialects and fun languages are only offered there. The tray menu switches after StreamXtras restarts. Texts that appear in the stream, such as the alert texts, are settings and stay as you entered them.
All translations were generated by Claude (AI); reviewed files name the reviewer. Corrections are welcome as an issue or pull request. To try your own translation, copy web/lang/en.lang to lang/<code>.lang in the settings folder (Windows: %APPDATA%\StreamXtras\lang) and translate the texts; missing texts fall back to English.
Updates
When the settings page is opened, the companion app checks at most once a day whether a newer release exists and then shows a link to it next to the version. Nothing is downloaded or installed automatically.
How it works
The companion app is a small Rust program with a tray icon and a web server that only listens on 127.0.0.1 (port 47820). It serves the overlays and the settings page from its web folder; OBS shows the overlays as browser sources. Settings are sent to open overlays as they change, so OBS never has to reload them.
The chat box and the top emotes connect to the Twitch chat themselves, anonymously and read-only. With the Twitch login, the companion app receives follows, subscriptions, gift subs, cheers, raids and goal changes through Twitch EventSub and passes them to the overlays. Text-to-speech uses the speech engine of the operating system (Windows voices, say on macOS, espeak-ng on Linux).
All data stays in the folders of your user account. On Windows, everything that belongs to you and may roam with your profile is in %APPDATA%\StreamXtras, everything bound to this computer in %LOCALAPPDATA%\StreamXtras. On macOS (~/Library/Application Support/StreamXtras) and Linux (~/.config/streamxtras) everything is in one folder.
| File | Content | Windows folder |
|---|---|---|
config.json | Settings of all overlays, the language and the port | %APPDATA% |
history.json | The latest 20 events per type for the recent events | %APPDATA% |
media/ | Your uploaded images, videos and sounds | %APPDATA% |
lang/ | Your own language files (optional) | %APPDATA% |
twitch-token.json | Twitch login (access and refresh token) | %LOCALAPPDATA% |
update-check.json | Time and result of the last update check | %LOCALAPPDATA% |
Privacy
StreamXtras has no telemetry and no server of its own. The settings page and the overlays only talk to the companion app on your computer. These network accesses exist:
| Access | When | Sent | Received |
|---|---|---|---|
Twitch chat (irc-ws.chat.twitch.tv) | Chat box, top emotes, diagnostics | The channel name, anonymously | Chat messages of the channel |
| 7TV, BetterTTV, FrankerFaceZ APIs | Chat box and top emotes, per provider switchable | The Twitch ID of the channel | Emote lists |
| Emote and badge images (Twitch, 7TV, BetterTTV, FrankerFaceZ, Chatterino) | Whenever an image is shown | The image address, without referrer | The image |
| Third-party badge lists (BetterTTV, FrankerFaceZ, Chatterino, 7TV) | Only when turned on, off by default | 7TV: the Twitch ID of each chatter | Badge lists |
Twitch login and API (id.twitch.tv, api.twitch.tv, eventsub.wss.twitch.tv) | Only when logged in | Your login token, your channel ID and the IDs of the users shown | Badges, profile pictures, cheermotes, follower and subscriber counts, goals and live events |
GitHub releases (api.github.com) | At most once a day when the settings page is opened | A request without personal data | The latest version number and its link |
The Twitch token never leaves the companion app except to Twitch itself. Without the Twitch login, only the anonymous chat, the emote providers and the update check remain.
License
Release packages, the installer and the Linux packages include THIRD-PARTY-LICENSES.txt with the licenses of all third-party components built into the companion app; the overlays contain no third-party code. The CI fails if a dependency uses a license that is not on the allow list in tools/third_party_licenses.py. The list is created with Python 3 (standard library only), e.g. python ../tools/third_party_licenses.py --rust-std --output ../THIRD-PARTY-LICENSES.txt in companion; the Windows installer needs this file.