Actions #21514
-
Hi all Cockpit is fantastic, I use it on all my Pi's, and it makes controlling them super easy. One thing I miss is a sort of action tool. A tool where I can create simple scripts/functions that I can run with a click. Br |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks for the praise! 🙇 The main way to add such functionality is by writing your own little Cockpit page, which can then embed or call these scripts and offer some convenient UI for them. Please have a look at https://cockpit-project.org/blog/creating-plugins-for-the-cockpit-user-interface.html . You can copy the pinger example and adjust it to your needs. |
Beta Was this translation helpful? Give feedback.
Thanks for the praise! 🙇
The main way to add such functionality is by writing your own little Cockpit page, which can then embed or call these scripts and offer some convenient UI for them. Please have a look at https://cockpit-project.org/blog/creating-plugins-for-the-cockpit-user-interface.html . You can copy the pinger example and adjust it to your needs.