Comment on Display A ‘Song Of The Day’ In MOTD From Navidrome Playlist

<- View Parent
irmadlad@lemmy.world ⁨2⁩ ⁨hours⁩ ago

For security, you may want to look at vault for secrets management so you don’t have to expose plaintext secrets in your script.

Yes, you are correct. For what I’ve got surrounding it as far as security wise, I feel fairly secure, not 100%, but more prudence would be much better. Would you have any recommendations maybe in which direction I could go in?

I would have just baked an api call to navidrome in a shell script with an interpreter like js and some bash variable manipulation and called it directly from motd.

Oh well, see now you’re just showing off. LOL I may do that at some later date. I actually had a good time doing what seems like a simple thing, and I learned a thing or three, so a good time was had all around.

original
Sort:hotnewtop