Forum Archive

Cross-platform GUI library using WebKit

mikael

So, one would like to create GUI applications using Python and the kind of solid, no-surprises UI toolkit like the one Pythonista has - and then be able to run the app on the phone and on a laptop.

How about we create a UI library that uses WebKit and HTML5 in the background?

Where has this been done before? Quick googling did not reveal anything.

Would you find such a library valuable?

enceladus

I have not tried but may be worth looking at:
https://github.com/dddomodossola/remi

mikael

@enceladus, thanks! Looks pretty close to what I was thinking about.

I did not think we would need to run a server, but it is true that the linked approach avoids having to bring in any native GUI library.

I will try this when I have a use case for that needs to run on both Pythonista & Mac.

enceladus

I am not sure whether it is relevant or useful. Anyway here is a small example that I tried.
https://gist.github.com/encela95dus/3b672b4119b598064d2c943158fabaad