Good-looking UI for a desktop software.
Hey!
Hope this isn't unrelated to this forum but I have a problem : I'm trying to develop a desktop software, and want to make it look pretty and modern.
This software would allow the user to host specific games servers on their computers and administrate them easely via pterodactyl-like panel.
I developed the core base of the software in python, and tried to find a way to make a good UI, but always encountered problems :
* I first tried to use customTkinter, but it wasn't much better than tk
* I then discovered pyQt, but I did not liked the result too
* I then discovered pyWebView and, as I already know web development, I tried to use this lib. I built about 1/3 of the entire app but, when I tried to bind my python file with another application for a smaller project, I found out that it wasn't really efficient and that I would have a lot of difficulties correctly implementing the "internal lib" I built to it. I could use Django to directly bind my logic to the UI but I found on internet that this technology wasn't memory efficient, and that it would take out a large amount of the RAM, impacting the servers effiency.
I so wanted to know if you had a solution (if possible that can use web interface but if you have another efficient and pretty solution I could just start over) that I could use, even if I have to learn another language (I currently know py, html, css, js, c#, java), the core part of the project is only 500 lines longs so far so I could just rewrite everything in another language without any problems.. I can't achieve to find better solutions online and am pretty desperate
Thanks a lot! And sorry for my bad english - I'm french
6 Replies
I heard that they impact the ram too.. Is it negligible?
Hmm ok I see.. But can you create docker containers on windows ? I only heard about it with linux or servers..
Okay.. So how would you do this ? If I create and handle the UI with electron, which language should I create an API with? Would python work ?
Ok, I will try that, thx a lot!
@Knocker , in my opinion, it is helpful to use react or next for UI
heard about it, but is it really worth learning ? I'm not that interested in web dev (I hope to become a software engineer) and so don't wanna take a lot of time to learn a library that complex (from what I know about it) if I only use it once or twice..
And would using react or next help me implement the UI in a desktop software or would it just be useful to optimize and build the UI quicker ?
i don't think i really wanna take advice from someone with a bored ape yacht club profile picture that's not even a hexagon
if you want a web front end, it probably has to be done in WSL or a Linux VM because windows web servers are really annoying
so you can use an apache or nginx container easily enough
ive never tried to make a web frontend in windows but the simplest and lowest overhead is either apache or nginx, but that does mean you'll have to build the entire system from scratch
you can try using something like Angular, that's the only project I have personal experience with
React would probably be a similar situation
Angular can be built in Windows but idk if it uses much overhead
i don't believe it does
Hey!
Thanks a lot for your time and sorry for the late reply, had a lot of exams last week!
I discovered tauri, which is a lighter equivalent to electron, and I'll just make those communicate with my python backend throught websockets
that means something!