shinyproxy icon indicating copy to clipboard operation
shinyproxy copied to clipboard

Allow configuring flexible startup message

Open gluc opened this issue 6 years ago • 2 comments

Thx again for this super cool application!!! Minor request: Currently, we can set the name of an app. When ShinyProxy starts the container, the browser then displays "Loading $app_name$...". The Loading is hard-coded. Instead, it would be very nice if the "Loading" and the "..." wouldn't be hard-coded, but configurable or even dynamic. Some ideas:

  1. just allow the user to configure a loading-name for each app
  2. make the "Loading" multi-lingual
  3. allow for dynamic setting of the load message, e.g. by specifying it as a parameter in the URI

gluc avatar Feb 14 '19 19:02 gluc

Hi @gluc , you can add a template folder in your shinyproxy directory, put the app.html file into $(shinyproxy directory)/template/app.html.

You can change everything inside of the app.html file until get what you want.

What's more, shinyproxy use the file in real-time, so there's no need to reboot shinyproxy when you are tweaking the page.

See https://github.com/openanalytics/shinyproxy-config-examples for more information.

shrektan avatar Feb 19 '19 06:02 shrektan

I think shinyproxy is really really flexible... I've almost achieved all I wanted after some slight tweaking and modifications... It uses the Spring framework which is a very good choice, IMHO.

shrektan avatar Feb 19 '19 06:02 shrektan