Open trutzig89182 opened 2 years ago
I also thought about that, I think it is a good idea and we should at least try and implement something like this. I mean, this project is also about learning new stuff, so why not. My only experience with GUIs is again Java (Swing). I also created some websites with Flask/Django, but I did not pay any attention to the actual GUI. :D
One way to buld a GUI could be the electron package from npm, which is JavaScript based. Seems more elegant than flask/django.
Roughly JavaScript would be the interface between the html and the python script.
https://efficientcoder.net/using-python-with-electron-tutorial/
https://medium.com/how-to-electron/a-complete-guide-to-packaging-your-electron-app-1bdc717d739f
Looks interesting as well. I just have no clue what is best, I think we can pick one direction and simply try it out.
I've been working quite a lot with Docker recently. If we stick to the CLI interface, using Docker might also be a solution. I am quite busy with other stuff recently, but I hope to be able to work some more on our project next week.
I only have been using docker for a web app so far. I have succeeded to build a dummy interface and will try to make it exchange information with the python scripts next.
What seems to be a bit more complicated is handing over the local path of the corpus, as html is very restrictive about access to local directories.
Another question is to design the output.
Perhaps we could create a html interface using flask. But we would have discuss if that is something of value for this project or not first.