I know that some of the former questions in this forum already deal with my question. Most of all, the question “Customize shinyproxy navbar and landing page” brought up the issue already. So please apologize some doubling. But as far as I can tell, non of the replies provide a definite answer to the questions. So I’ll try it again.
I have a single shiny app and I want to send users directly to this app. Apparently, I could change the index.html in the way jpg suggested. I am not an IT.Expert, but I always thought it is a dirty workaround to change source code.
Moreover, when I open shinyproxy_###.jar, change code and create a ###.jar fille again, I am not able to start this file anymore (it is now “corrupt”). So, is there another way to send users directly to the only app that I offer after sign in?
Plus, I want to customize the navbar. Namely, I want to change the black background into white, I want to change the color of the font and I want to change the blue color of buttons. Again, I could change the css, but I wonder if there is a direct way to change css or even to add my own css file (similar to shiny, where I can add my css-file to a www folder).
This URL will still be intercepted for login (if you have authentication configured), but it will skip the index page.
Regarding css customization, we are currently working towards a templating mechanism that would allow such customizations without having to recompile the jar. A contribution has already been submitted, this will be integrated in Shinyproxy soon: https://github.com/openanalytics/shinyproxy/pull/42
great, thanks for your reply. I’m sorry, I have to ask for some details. I guess, I have to put the url anywhere in application.yml, bur where exactly?
Hi!
How would you rewrite the URL to go directly to the app? I tried various ways of doing that, but without success. Do you need to modify the application.yml file as well?
If a user visits the first link, they will get a login screen and then the app listing page.
If a user visits the second link, they will get a login screen and then the app 01_hello.
ShinyProxy 2.2.1 allows to use the landing-page setting to redirect the user to a single Shiny app (/app/<app-name> or /app_direct/<app-name>) instead of the list of Shiny apps (default; /). See https://www.shinyproxy.io/downloads/