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

[Feature request] Support for env vars in monitor, bookmarks widgets #273

Open
mgrimace opened this issue Dec 7, 2024 · 1 comment
Open
Labels
work completed Work for this has been completed but it may not yet be merged / released
Milestone

Comments

@mgrimace
Copy link

mgrimace commented Dec 7, 2024

Hello, this request is to support inline env vars for both the monitor and bookmarks widgets.

The use-case is to avoid putting IPs or personal domains in plain-text on the glances.yml. This is useful for sharing configs/setups without having to redact information, and ideally safer practices. This is useful particularly if a user is using bookmarks or monitor to show homelab services.

For example,

                  - title: Overseerr
                    url: http://${SERVER_IP}:5055
                    icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/svg/overseerr.svg

or,

                 - title: Overseerr
                    url: https://overseer.${PERSONAL_DOMAIN}
                    icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/svg/overseerr.svg

This could potentially be useful for sensitive embedded keys, tokens, etc. as well, e.g.,url: https://connect.raspberrypi.com/devices/${RPI_2_UUID}/remote-shell-session

@svilenmarkov
Copy link
Member

Hey, I'll get this added in v0.7.0.

@svilenmarkov svilenmarkov added this to the v0.7.0 milestone Dec 7, 2024
@svilenmarkov svilenmarkov added the work completed Work for this has been completed but it may not yet be merged / released label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
work completed Work for this has been completed but it may not yet be merged / released
Projects
None yet
Development

No branches or pull requests

2 participants