Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to add custom actions #274

Open
maddox opened this issue Apr 16, 2023 · 4 comments
Open

Ability to add custom actions #274

maddox opened this issue Apr 16, 2023 · 4 comments

Comments

@maddox
Copy link
Contributor

maddox commented Apr 16, 2023

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.

@maddox maddox changed the title Ability to add user scripts to run from web Ability to add custom actions Apr 16, 2023
@alkazar
Copy link
Member

alkazar commented Apr 16, 2023

Oh, that is a cool idea.

@alkazar
Copy link
Member

alkazar commented Apr 16, 2023

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?

@maddox
Copy link
Contributor Author

maddox commented Apr 16, 2023

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.

@Da-Boom
Copy link

Da-Boom commented Jul 4, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants