chimera
chimera copied to clipboard
Ability to add custom actions
I'm curious if the ability of adding user scripts that are available to run from the web frontend, under Actions, is of any interest, or something that's been discussed in the past and the maintainers are vehemently against.
Why
It would be helpful to add our own scripts that we can run by just visiting the web app.
What kind of scripts?
- maintenance script
- restarting a custom service
- anything you usually SSH in to do
How would they get added?
I was thinking they could be added the same way steam entries are added. Users can just write YAML files.
Concerns
Obviously, exposing scripts that run on the system could be very dangerous. But I like to think technology should treat people like adults, so it's on them.
Oh, that is a cool idea.
One note is that the chimera service runs in the user session and thus does not have root access.
Would this still be useful in that case?
I think this sounds like a great limitation to avoid anything bad.
One of my use cases is starting/stopping Sunshine, which runs as a user service, so I know that my use cases would be ok.
But again, only being able to do things in userspace sounds more safe anyways.
One note is that the chimera service runs in the user session and thus does not have root access.
Would this still be useful in that case?
I think it would, especially for people are just using the chimera web front end like me (i have an NVIDIA based PC running on a TV that ChimeraOS/Gamescope/Wayland doesn't play nicely with, so i have vanilla arch and just run a full-screen Steamdeck UI over the top of KDE Wayland with Chimera to manage some/all of the installations
This is the only desktop system oriented web front-end i can find (most front-ends have servers in mind) - its nice to manage my bedroom media system from the front end so when I'm ready to game i can lie down in bed and game
i would like to add an action that allows me to shutdown steam, run chimera -update and -tweaks also i have a few other things installed in user-space that would be great to automate with a command trigger in the actions menu