Hello Jim,
Jim Campbell [2018-04-26 14:49 -0500]:
I think it is the case that all cockpit extensions need to be written
in
Javascript. Is that the case, or can they be written in other languages, as
well (as long as they only use the Cockpit APIs)?
The UI runs in the web browser, so anything that transpiles down to JavaScript
works too (e. g. CoffeeScript). I'm just not aware of any example.
In principle, something that produces WebAssembly ought to work, too, but again
I don't know any examples and I wouldn't know how to bind to a JS API from
there.
So if you want to stay on supported/known grounds, the practical answer is
mostly "yes".
Martin