This script automatically sends the latest video file from a specified folder to a webhook URL using OBS Studio.
- Automatically detects new video files in a specified folder.
- Sends the latest video file to a specified webhook URL.
- Option to delete the video file after upload.
- Prevents re-uploading the same video on OBS relaunch.
- Python 3.10 or higher(WON'T WORK ON PYTHON VERSION NOT SUPPORTED BY OBS)
- OBS Studio
-
Clone the repository:
git clone https://github.com/UVSTAR/OBS2Webhook.git cd OBS2Webhook -
Install Python 3.10:
Download and install Python 3.10 from the official Python website.
-
Install the required Python packages:
pip install -r requirements.txt
-
Add the script to OBS Studio:
- Open OBS Studio.
- Go to
Tools>Scripts. - Click the
+button and add theobs2webhook.pyscript.
-
Configure the script:
- Set the
Webhook URLto your desired webhook endpoint. - Set the
Folder Pathto the directory where your video files are saved. - Optionally, enable the
Delete video after uploadcheckbox if you want to delete the video file after it is uploaded.
- Set the
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or suggestions, please open an issue on GitHub.
requests