• 4 Posts
  • 3.73K Comments
Joined 2 years ago
cake
Cake day: September 21st, 2024

help-circle






  • I don’t know much about homarr but it sounds like going with jq and envsubst might give you a faster solution that you can just iframe in your dashboard. though the learning curve can be steep if you’re unfamiliar with Linux command line.

    I’m pretty sure you can literally pass in base64 encoded HTML to an iframe it will load in or pass it a publicly accessible file and it will work too.

    I had messed around with building a locally hosted dashboard using similar methods so I’m pretty sure it will work.


  • lots of ways to do it, where will it be displayed? if it’s in a console, jq would more than suffice.

    if you want it to be processed heavily and added to an HTML document, probably something like a mix of jq and envsubst. you could forego all that and just use sed to inject the json into HTML then have JavaScript parse it out for you browser side.

    if you want to store it in a database why not just store the whole json?

    your requirements aren’t very clear on what you want this data for or how it will be used. without that there’s just too many variable solutions.

    can you parse json? sure! what for/how will it be used? not sure.

    hope this helps.