I think Flet looks super interesting as an app framework that combines Flutter with Python. I'm not in general convinced that Flutter solves everything, or that there is any "one size fits all" framework. However this is a really compelling framework for some apps!
Interestingly it looks like, for the web app version, they have a permanent web socket to Python on the server, a bit like Phoenix Liveview. I wander if that could be removed by using PyScript to run the Python layer in browser.
I wander if the desktop version (and planed mobile apps) is the same, with a web-socket back to a Python server.
(Just noticed my typo in the title, it should be Flet, could a mod change it? It well passed the edit window)
In the beginning, for mobile it's going to be a websocket to a Python server - kind of server-driven UI (SDUI) approach. Then we'll look into packaging everything into a standalone mobile app: https://flet.dev/blog/flet-mobile-strategy
For desktop using WebSockets within localhost doesn't really add a noticable overhead.
Sounded cool as a title, but then looking closer one will find "it's built on top of a web app". Yikes, Flutter is horrible as a web platform: poor performance, poor js compatibility
Flet! :) Creator of Flet is here. Could you fix the title please? I've been told that there is a discussion about Flet on HN, tried searching by "Flet", found only an old thread and thought "oh, well, OK then - must be a mistake".
Happy to see that golang support is on the roadmap. I felt compelled to look for golang app frameworks a little while ago and didn't find anything really competitive. This might be the answer.
Looking forward to giving this a try if I find some free cycles.
17 comments
[ 2.8 ms ] story [ 47.9 ms ] threadInterestingly it looks like, for the web app version, they have a permanent web socket to Python on the server, a bit like Phoenix Liveview. I wander if that could be removed by using PyScript to run the Python layer in browser.
I wander if the desktop version (and planed mobile apps) is the same, with a web-socket back to a Python server.
(Just noticed my typo in the title, it should be Flet, could a mod change it? It well passed the edit window)
For desktop using WebSockets within localhost doesn't really add a noticable overhead.
Anyway, if you have any questions let me know.
Is there no way of building an actual native app for production?
Looking forward to giving this a try if I find some free cycles.