This project is a simple Sveltekit webapp designed to integrate Discord push notifications with OBS (Open Broadcaster Software). It aims to enhance live streaming experiences by seamlessly displaying Discord notifications.
- Manual Discord notifications right from OBS
- Easy integration with existing OBS setups
- Customizable notification display
Add this Custom Browser Dock in OBS Vercel Deploy.
- Go to the Discord Developer Portal.
- Create a new application and give it a name.
- Go to the "Bot" tab and click "Add Bot".
- Customize your bot (name, profile picture).
- Copy the bot token (keep this secure).
After setting up your bot on Discord, you'll need to invite it to the server where you want to send notifications:
- Replace
{YOUR BOT ID HERE}
in the following URL with your actual bot's client ID:
https://discord.com/oauth2/authorize?client_id={YOUR BOT ID HERE}&permissions=2048&scope=bot
- Paste the modified URL into your web browser and hit enter.
- Select the server you want to invite the bot to from the dropdown menu.
- Click the 'Authorize' button to add the bot to your server.
Ensure that you have the 'Manage Server' permissions on the Discord server you want to invite the bot to.
- Open Discord settings.
- Navigate to 'Advanced' settings.
- Toggle 'Developer Mode' to enabled.
- Right-click on the text channel in Discord with Developer Mode enabled.
- Click 'Copy ID' to get the channel's unique identifier.
- Use the bot token and channel IDs in your project configuration as needed in the settings panel of the widget
- Open OBS (Open Broadcaster Software).
- Navigate to the scene where you want to display Discord notifications.
- Click on the 'Docks' > 'Custom Browser Docks...' menu option.
- Create a new source. Give it a name.
- In the 'URL' field, enter the following URL: Vercel Deploy.
- Click 'OK' to add the browser source.
- Click on the gear icon in the dock panel titled to open the settings.
- Fill in the 'Bot Secret' field with your Discord bot's token.
- Enter the desired 'Text Channel ID' where you want the notifications to appear.
- Type your notification 'Message' which might include custom text or commands like @everyone.
- Include a 'Twitch URL' if you want to send a link with your notifications.
- Click 'Save' to store your settings.
!! DISCLAIMER !! your bot secret is only stored locally!
Contributions to enhance or expand the functionality of this project are welcome. Please follow the standard fork-pull request workflow.
This project is licensed under the MIT License.
- Project created by Matthew Paquette