Run scripts from Stream Deck with Script Kit

You can find a "Prepare Script for Stream Deck" command in the main menu:

CleanShot 2021-09-14 at 07 45 45

(the code examples below are a bit out-dated)