Web-Ui to CLI app reddit / selfhosted ---------------------------------------------------------------------- Dapper-Inspector-675 · 2023-09-27 15:27 Hi I'd like to build a web-ui for a existing cli-application. This application is run with some arguments and then shows a counter to some stats. Now I'm already at building a html webpage that would fit my visual needs, but how do I get the command to run if I click a html button? And how do I get some sort of config to work, basically on/off options that change arguments. And I'also like to be able to integrate some values that are displayed in the terminal normally. I thought about PHP and then running each command in a screen enviroment, but how to extract those values? Or has anyone got a better idea on how to built a web-gui for this purpose? ---------------------------------------------------------------------- ElevenNotes · 2023-09-27 16:18 nextjs & cli & SSR are your friend, better ask on /r/nextjs though.