Electron has exposed some API's that make it easy to create Touch Bar apps.:
https://electronjs.org/blog/touch-bar-support
Has anyone thought about how this could be integrated with BTT? It seems there's only support for AppleScripts and Shell Scripts, and these can only return a single value.
I have a little Pomodoro Timer app (adapted from here) that'd be cool to see in my BTT Touch Bar.
As a corollary question (that maybe deserves it's own thread), is there a way to set up BTT widgets that do not run on intervals? For example, if I create a "speedtest" button that does something handy like the speedtest-cli, I would only want this script to fire & show a return value when I press the button, bc I do not always care what my current ping speed is and wouldn't want this script to run on an interval.