{"id":37155928,"url":"https://github.com/dh1tw/streamdeck-examples","last_synced_at":"2026-01-14T18:26:55.563Z","repository":{"id":57537410,"uuid":"278763868","full_name":"dh1tw/streamdeck-examples","owner":"dh1tw","description":"A demo example application for the golang streamdeck driver","archived":false,"fork":false,"pushed_at":"2021-12-31T01:32:15.000Z","size":28513,"stargazers_count":12,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T16:34:01.468Z","etag":null,"topics":["api","buttons","example","golang","hardware","hid","streamdeck","streamdeck-tools","usb"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dh1tw.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-11T01:13:57.000Z","updated_at":"2024-06-04T17:54:40.000Z","dependencies_parsed_at":"2022-09-04T13:51:07.471Z","dependency_job_id":null,"html_url":"https://github.com/dh1tw/streamdeck-examples","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dh1tw/streamdeck-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dh1tw%2Fstreamdeck-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dh1tw%2Fstreamdeck-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dh1tw%2Fstreamdeck-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dh1tw%2Fstreamdeck-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dh1tw","download_url":"https://codeload.github.com/dh1tw/streamdeck-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dh1tw%2Fstreamdeck-examples/sbom","scorecard":{"id":339880,"data":{"date":"2025-08-11","repo":{"name":"github.com/dh1tw/streamdeck-examples","commit":"2d7714d59fd678ce4ff148cabdb5f6f08923353b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/11 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":8,"reason":"binaries present in source code","details":["Warn: binary detected: streamdeck-examples:1","Warn: binary detected: streamdeck-examples.exe:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/dh1tw/streamdeck-examples/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/dh1tw/streamdeck-examples/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/dh1tw/streamdeck-examples/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/dh1tw/streamdeck-examples/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/dh1tw/streamdeck-examples/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/dh1tw/streamdeck-examples/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:91: update your workflow using https://app.stepsecurity.io/secureworkflow/dh1tw/streamdeck-examples/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:95: update your workflow using https://app.stepsecurity.io/secureworkflow/dh1tw/streamdeck-examples/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:110: update your workflow using https://app.stepsecurity.io/secureworkflow/dh1tw/streamdeck-examples/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:124: update your workflow using https://app.stepsecurity.io/secureworkflow/dh1tw/streamdeck-examples/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:139: update your workflow using https://app.stepsecurity.io/secureworkflow/dh1tw/streamdeck-examples/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:182: update your workflow using https://app.stepsecurity.io/secureworkflow/dh1tw/streamdeck-examples/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:195: update your workflow using https://app.stepsecurity.io/secureworkflow/dh1tw/streamdeck-examples/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:213: update your workflow using https://app.stepsecurity.io/secureworkflow/dh1tw/streamdeck-examples/build.yml/master?enable=pin","Info:   0 out of  14 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.2.0 not signed: https://api.github.com/repos/dh1tw/streamdeck-examples/releases/56212774","Warn: release artifact v0.1.0 not signed: https://api.github.com/repos/dh1tw/streamdeck-examples/releases/28473704","Warn: release artifact v0.2.0 does not have provenance: https://api.github.com/repos/dh1tw/streamdeck-examples/releases/56212774","Warn: release artifact v0.1.0 does not have provenance: https://api.github.com/repos/dh1tw/streamdeck-examples/releases/28473704"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T05:32:30.274Z","repository_id":57537410,"created_at":"2025-08-18T05:32:30.274Z","updated_at":"2025-08-18T05:32:30.274Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28430804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","buttons","example","golang","hardware","hid","streamdeck","streamdeck-tools","usb"],"created_at":"2026-01-14T18:26:54.783Z","updated_at":"2026-01-14T18:26:55.552Z","avatar_url":"https://github.com/dh1tw.png","language":"Go","readme":"![Build Status](https://github.com/dh1tw/streamdeck-examples/workflows/Cross%20Platform%20build/badge.svg?branch=master)\n[![Go Report Card](https://goreportcard.com/badge/github.com/dh1tw/streamdeck-examples)](https://goreportcard.com/report/github.com/dh1tw/streamdeck-examples)\n[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)\n[![GoDoc](https://pkg.go.dev/badge/github.com/dh1tw/streamdeck-examples.svg)](https://pkg.go.dev/github.com/dh1tw/streamdeck-examples)\n\n\nThis repository contains a demo application with several examples on how the golang [streamdeck](https://github.com/dh1tw/streamdeck) driver could be used.\n\n## Install\n\nYou can either grab a copy of the pre-compiled binary from the [releases page](https://github.com/dh1tw/streamdeck-examples/releases) or compile the program locally on your machine.\n\n```bash\n\n$ mkdir -p $HOME/go/src/github.com/dh1tw \u0026\u0026 cd $HOME/go/src/github.com/dh1tw\n$ git clone https://github.com/dh1tw/streamdeck-examples.git\n$ cd streamdeck-examples\n$ go build\n$ ./streamdeck-examples\n\nThis is a demo application for the golang streamdeck driver\n\nUsage:\n   [command]\n\nAvailable Commands:\n  enumerate   enumerate all connected Stream Decks\n  help        Help about any command\n  icons       place a bunch of icons on the streamdeck\n  labels      show a bunch of labeled icons on the streamdeck\n  ledbuttons  show a bunch of buttons with status LED\n  pages       Custom nested pages with navigation\n  slideshow   picture slideshow across all buttons\n  textbuttons just buttons with custom text\n\nFlags:\n  -h, --help   help for this command\n\nUse \" [command] --help\" for more information about a command.\n```\n\n## Include static assets in binary\n\nTo include the no-golang files like images and fonts you need to install and run Mark Bates awesome [pkger](https://github.com/markbates/pkger).\n\n```\n$ go get github.com/markbates/pkger/cmd/pkger\n```\n\nThen just run `pkger` in the root folder of this repository. `pkger` will create the `pkged.go` file which includes all the assets.\n\n## Examples\n\n### Enumerate\n\nAs one would expect, this examples enumerates all connected Stream Deck devices.\n\n```bash\n$ ./streamdeck-examples enumerate\n\nFound 1 Elgato Stream Deck(s):\n        SerialNumber:        AL37G1A00424\n\n```\n\n### Icons\n\nThe [icons example](cmd/icons.go) loads from different file formats (jpg, png, gif). The icons are placed on the first row of the Stream Deck. The lightbulb icon on button 0 (upper right corner) can be toggled.\n\n```bash\n$ ./streamdeck-examples icons\n```\n\n![](.static/icons.jpeg)\n\n### Labels\n\nThe [labels example](cmd/labels.go) instantiates 15 text labels with an integer number on the Stream Deck. With the help of a counter, all numbers will be incremented every 100ms by 1. When a button is\npressed, the background is colored blue.\n\n```bash\n$ ./streamdeck-examples labels\n```\n\n![](.static/labels.gif)\n\n### Ledbuttons\n\nThe [ledbuttons example](cmd/ledbuttons.go) shows how to use the custom designed [streamdeck-buttons/ledbutton](https://github.com/dh1tw/streamdeck-buttons/ledbutton) element. It will enumerate all the buttons on the panel with their ID and with a green LED which can be activated / deactivated with a button press.\n\n```bash\n$ ./streamdeck-examples ledbuttons\n```\n\n![](.static/ledbuttons.jpeg)\n\n### Pages\n\nThe [pages example](cmd/pages.go) is the most complex example. It shows how to build an application\nconsisting of several linked and nested pages. Check out the [Page interface](https://pkg.go.dev/github.com/dh1tw/streamdeck?tab=doc#Page).\n\n```bash\n$ ./streamdeck-examples pages\n```\n\n![](.static/pages.gif)\n\n### Slideshow\n\nThe [slideshow example](cmd/slideshow.go) creates a slideshow on the Stream Deck, across all buttons.\nImages of different formats (png, jpeg, gif) are loaded, resized to match the panel and if necessary, cropped to the center.`,\n\n```bash\n$ ./streamdeck-examples slideshow\n```\n![](.static/slideshow.gif)\n\n### Textbuttons\n\nThe [textbuttons example](cmd/textbuttons.go) creates a text multi-line text button using a third\nparty font. Whenever a button is pressed, the text is altered.\n\n```bash\n$ ./streamdeck-examples textbuttons\n```\n![](.static/textbuttons.gif)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdh1tw%2Fstreamdeck-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdh1tw%2Fstreamdeck-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdh1tw%2Fstreamdeck-examples/lists"}