script-server
script-server copied to clipboard
Feature Request: Tkinter (or silimar) UI instead of console on server page
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.
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.
Thanks for the reply! If HTML is the problem, what about building a web app with something like Flask? Could that be integrated?
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 :(