17 comments

[ 2.8 ms ] story [ 47.9 ms ] thread
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)

Awesome!. Would love to see mobile apps soon available to start using it.
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.

Are these bindings for Dart? Or does it somehow compile directly to the various platform targets?
Since half the code on the GitHub is in Dart, I'm guessing the latter.
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
Felt or Flet?
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".

Anyway, if you have any questions let me know.

Finally a way to use flutter without having to actually write code in dart. I suspect a lot of people will be interested in this.
> Install it on mobile as PWA or view via Flet app for iOS and Android.

Is there no way of building an actual native app for production?

Building native mobile apps is on our roadmap.
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.

The headline is wrong :) it’s Flet, not Felt…
I really like this. Plus the pages loads really fast. Is it hosted on Flet?
Honestly I do python in my day job and made two flutter apps for fun. Just learn Dart. No need to shim another language in there
This seems like it'd be slightly better for quick and dirty UIs. Plus if you can use python libraries this would be awesome for ML applications