• Stars
    star
    193
  • Rank 201,081 (Top 4 %)
  • Language
    HTML
  • License
    MIT License
  • Created almost 3 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A starting place for a new JavaScript Stream Deck plugin.

Stream Deck Plugin Template

The Stream Deck Plugin Template is a template to let you get started quickly when writing a JavaScript plugin for Stream Deck. Stream Deck Plugin Template requires Stream Deck 6.0 or later.

Description

Stream Deck Plugin Template is a complete plugin that shows you how to

  • load and save settings using Stream Deck's persistent store
  • setup and communicate with the Property Inspector
  • pass messages directly from Property Inspector to the plugin (and vice versa)
  • localize your Property Inspector's UI to another language

Features

  • code written in Javascript
  • cross-platform (macOS, Windows)
  • localization support
  • styled Property Inspector included
  • Property Inspector contains all required boilerplate code to let you instantly work on your plugin's code.

Quick Start Guide

A short guide to help you get started quickly.

Clone the repo

git clone https://github.com/elgatosf/streamdeck-plugin-template

Replace Name

Rename the folder as well as any references.

com.elgato.template.sdPlugin with my.domain.plugin-name.sdPlugin

Important

When sym-linking the plugin, the folder name must end with .sdPlugin.

Get the latest library

You can either clone the javascript library or add it as a submodule to your repository.

Clone

git clone https://github.com/elgatosf/streamdeck-javascript-sdk src/my.domain.plugin-name/libs

Add Submodule

git submodule add https://github.com/elgatosf/streamdeck-javascript-sdk src/my.domain.plugin-name/libs

Start Coding

You can get started in app.js!

const myAction = new Action('com.elgato.template.action');

/**
 * The first event fired when Stream Deck starts
 */
$SD.onConnected(({ actionInfo, appInfo, connection, messageType, port, uuid }) => {
  console.log('Stream Deck connected!');
});

myAction.onKeyUp(({ action, context, device, event, payload }) => {
  console.log('Your key code goes here!');
});

myAction.onDialRotate(({ action, context, device, event, payload }) => {
  console.log('Your dial code goes here!');
});

More Repositories

1

streamdeck-plugintemplate

Stream Deck SDK: Plugin Template
JavaScript
228
star
2

streamdeck-philipshue

Stream Deck SDK: Philips Hue sample plugin
JavaScript
196
star
3

streamdeck-javascript-sdk

A library for plugins used for connecting to Stream Deck.
CSS
125
star
4

streamdeck-cpu

Stream Deck SDK: CPU sample plugin
C++
125
star
5

streamdeck-numberdisplay

Stream Deck SDK: NumberDisplay sample plugin
CSS
91
star
6

streamdeck

Stream Deck SDK.
TypeScript
76
star
7

streamdeck-pisamples

Stream Deck SDK: PISamples sample plugin
HTML
69
star
8

streamdeck-counter

Stream Deck SDK: Counter sample plugin
HTML
48
star
9

streamdeck-analogclock

Stream Deck SDK: Analog Clock sample plugin
JavaScript
47
star
10

streamdeck-applemail

Stream Deck SDK: AppleMail sample plugin
Objective-C
45
star
11

streamdeck-obs-plugin

OBS Plugin to communicate with the Stream Deck app
C
44
star
12

streamdeck-obs-plugin2

Stream Deck - OBS Studio plugin 2.0
C++
36
star
13

gamecapture

Game Capture HD open source components.
C++
35
star
14

jonah

Develop, Test, and Deploy Django inside Docker
Python
24
star
15

streamdeck-memorygame

Stream Deck SDK: Memory Game sample plugin
C++
23
star
16

cli

CLI tool for building with Stream Deck.
TypeScript
22
star
17

streamdeck-kit-ipad

Swift library for controlling Stream Deck hardware from an iPadOS application.
Swift
21
star
18

capture-device-support

C++
15
star
19

sample-clock-plugin

Stream Deck SDK sample to show how to create a plugin which uses SD+ panels
JavaScript
12
star
20

streamdeck-timerfix

Stream Deck SDK: Demonstrate how to have a reliable Javascript timer in a Stream Deck plugin
JavaScript
11
star
21

sample-customlayout

Stream Deck SDK sample to show how to create and use custom layouts on SD+ panels
JavaScript
7
star
22

sample-indicator-plugin

Stream Deck SDK sample to show how to update indicator-bars on Stream Deck + panels
JavaScript
7
star
23

sample-doubleindicator-plugin

Stream Deck SDK sample to show how to use double-indicator-bars on Stream Deck + panels
JavaScript
6
star
24

sample-layouts

Stream Deck SDK sample to show how to create and use layouts on SD+ panels
JavaScript
5
star
25

streamdeck-sample-plugins

Collection of Sample Plugins for Stream Deck
JavaScript
3
star
26

streamdeck-kit-macros

Macros for the Stream Deck Kit library.
Swift
2
star
27

schemas

JSON schemas, and TypeScript declarations, for building with Stream Deck.
TypeScript
2
star
28

prettier-config

Prettier configuration used by Elgato projects.
2
star
29

elgato

1
star
30

sample-textlayout

StreamDeck + sample plugin that demonstrates how to create a list of strings as a `layout` shown on Stream Deck's touch-panel and how to update those strings efficiently.
JavaScript
1
star