Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
flet
Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Hey all, author here.
I had some time off last week so I built a little tool I've been planning on using for a while now.
Thought I'd just comment on my motivations for building this.
I bought a little chromebook tablet to take on holidays. I've been enjoying the experience of using a remote IDE to code on my personal server.
I thought it would be neat if I could quickly make myself GUIs for other utilities on my remote server that get rendered on my chromebook. Doing this like being able to run bash scripts remotely.
I start utility scripts with this tool and then just use ssh port forwarding to view it locally.
The fun bit is the application itself is then just written in python.
There are some similar alternatives[1] but I wanted to be able to write GUI elements like ImGUI so I decided to build my own tool in the end.
I just wrote it in python because that's what I've been using at work lately.
[1] https://github.com/dbohdan/liveviews#python
Another LiveView-like UI framework for Python: https://github.com/flet-dev/flet - created specifically for highly interactive real-time experiences. You build your UI from controls made of Flutter widgets and partial UI updates are passed to a browser via WebSockets.
Dear ImGUI also has python bindings [1] which I've had great success with in tuning computer vision algorithms interactively. It's a slightly different use case than your project here since it doesn't use a browser and only works locally.
[1]https://github.com/pyimgui/pyimgui
Absolutely, an app's entry-point "main" function is called for every new user session with unique instance of a "page": https://github.com/flet-dev/examples/blob/main/python/apps/h...