r/StreamDeckSDK • Elgato Staff • Feb 07 '22

Javascript JavaScript Stream Deck Plugin Template

Hi Devs,

I'm working on a new JavaScript Stream Deck plugin template... If anyone has some time I would love it if you could take a peek at this and let me know if it could use anything:

https://github.com/ChekTek/streamdeck-plugin-template

GOALS:

* Use modern javascript

* Remove all the unnecessary utils

* Add documentation inside the code (possibly a jsdoc)

* Make it easier to get started, and more approachable for new devs

* Make IntelliSense actually help you

* Make minimal changes that require updating the documentation site

* Separate what is the plugin and what is a library used for connecting (if you feel the need to make changes to anything inside of the "libs" folder please let me know. The end game will be to publish the "libs" folder as a node package, so we don't want to have to make changes in there.)

TODO

*Property Inspector still needs a bit of work

*Remove all classes from CSS so styles apply directly to elements easily

*Gather form data from ALL controls using name (the proper HTML way, not using sketchy classes), not just the easy ones

I don't think it's ready for prime time yet (and I still have talk to the team about getting it on the main github), but I think it is in a good place that people could try it out.

Any feedback is welcome!

10 Upvotes

13 comments sorted by

View all comments

1

u/WillingUK Feb 08 '22

This could be well handy! My streamdeck landed last week and tbh I'm frustrated by a number of things - creating custom keys being one of them, the online key designer could be so much better - for example applying a wallpaper as a whole and then defining individual keys. Changing colour of svgs, etc etc so i'll be looking into that

ALso i realised that the device would be fantastic as a cheap loop sampler - and your framework could definitely form the base for that little project. :)

1

u/elgato_zack Elgato Staff Feb 08 '22

I'm not sure of all the features you might need in a loop sampler, but you might be able to find something already built in the store. Something like the Sound Deck plugin is pretty cool, but there are a few others in the Music and Audio categories as well.