Set Up the Overlay in OBS Studio
The overlay is the donation popup that floats over your stream â donor name, amount, message, all with animations. This guide gets you from zero to seeing it in OBS in about 5 minutes.
The app supports two overlay modes:
- Compact â fixed-size box that you can drag anywhere in OBS (recommended)
- Fullscreen â 1920Ã1080 full-frame, position is set inside Settings
What you'll needâ
- OBS Studio installed and open
- At least one source connected (Streamlabs / YouTube / Twitch)
- TTS already tested working (if you're using it)
Step 1 â Pick a Preset and tweak the Styleâ
- Go to Settings â Overlay
- In the Preset section, pick a style from the 12 available (good starters: Classic Box or Banner)
- Adjust:
- Font â choose from 10 fonts including Thai, plus size, color, weight
- Background â color + transparency
- Border â color, thickness, corner radius
- Donor name color, Amount color
- Animation â slide / fade / bounce / zoom / none
Watch the Live Preview on the right for instant feedback (click Pin to keep it visible).
Step 2 â Pick a Display Duration Modeâ
In the same section:
- Fixed Time â overlay shows for a fixed duration (3â30 seconds)
- TTS Sync â overlay hides when TTS finishes speaking, plus the delay you set
If you're using TTS, TTS Sync is recommended so the overlay vanishes right as the audio ends.
Step 3 â Copy the Compact OBS URLâ
- Scroll to the OBS Browser Source URL section
- There are two URLs: Fullscreen and Compact â go with Compact
- Click Copy next to the Compact URL
Example URL: http://localhost:3001/overlay?mode=compact&width=500
Step 4 â Add the Browser Source in OBSâ
- Open OBS Studio
- In the Sources dock, click + â pick Browser
- Name the source (e.g. "Donation Overlay") â OK
- In the properties dialog:
- URL â paste the URL you copied from the app
- Width â match the
widthvalue in the URL (default 500) - Height â 200â300 is plenty (Compact mode doesn't fill the screen)
- â Check Shutdown source when not visible to save CPU
- Click OK
Step 5 â Position it and run a testâ
- Drag the browser source in the OBS preview to where you want it
- Back in the app â open the Test Panel (
/test) - Fill in donor + amount + message â click Send Test
- The overlay pops in the OBS preview immediately
:::tip Pin the overlay to position it In the Test Panel, click Pin Overlay â it stays on screen until you unpin, making it much easier to drag/resize in OBS. :::
Tips & Troubleshootingâ
- Browser source is white/blank: make sure Donari is running and the URL is correct, and that port 3001 isn't being blocked by your firewall.
- Overlay disappears too fast: bump up Display Duration or switch to TTS Sync.
- Want to change presets without redoing OBS: you don't have to â the same URL picks up the new preset instantly (Socket.io syncs it for you).
- Multiple scenes: copy the browser source in OBS and paste as a Reference in each scene â uses the same source everywhere.