StewM / streamlabs-donations-printer

9 stars 2 forks source link

Streamlabs Donation Printer

This is an electron app that you can connect to your Streamlabs account to print out donations from your real, physical printer. It will parse the donation message for a JPEG or PNG image link and include it in the print. The code I am using to do this is fairly strict. The link must begin with http:// or https:// and end with .jpg or .png. It has options for setting donation threshholds and black and white prints. I have added beta support for Youtube Super Chats via Streamlabs as well, but I currently do not have a way to test them, so attempt to use this with super chats at your own risk. Warning: there is no filter for image or message content, so whatever your donators send will just print.

Installation and Usage

Contribution

If you find a bug or want to contribute, please open an issue or a pull request with your fix. The project is built in electron with Vue for the frontend. If you have any questions feel free to reach out to me.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:9080
npm run dev

# build electron application for production, webpack build and electron build are separated for CI/CD
npm run build
npm run builder