script-server icon indicating copy to clipboard operation
script-server copied to clipboard

Feature Request: Tkinter (or silimar) UI instead of console on server page

Open GMPuntigam opened this issue 4 years ago • 3 comments

Is it possible to show the users a custom-build Tkinter GUI instead of the console window inside the browser?

Use Case: I have a script that analyses some data from SAP like applications (uploaded by the user) and the field names need to be mapped by the user to some generic names that my script knows.

So far I have done this with a small Tkinter GUI but the scripts are so much easier accessible to my colleagues on the script server. I imagine this shouldn't be too hard to do but this project is quite big already I'm not sure where I could try to insert this.

The current workaround is to have the users upload some csv files that contain the mappings but for convenience a possibiliy to show a GUI on the script server would be nice.

GMPuntigam avatar Sep 21 '21 08:09 GMPuntigam

Hi @GMPuntigam unfortunately, this is not possible and there are no plans to add advanced interactive UI during execution. As far as I know, tkinter doesn't provide any HTML view, which could be used by script server.

bugy avatar Sep 28 '21 09:09 bugy

Thanks for the reply! If HTML is the problem, what about building a web app with something like Flask? Could that be integrated?

GMPuntigam avatar Oct 06 '21 18:10 GMPuntigam

Hi, @GMPuntigam I'm sorry for the super late reply. I think adding such a custom UI with user interaction is a too big topic for Script server :(

bugy avatar Nov 01 '21 15:11 bugy