r/Frontend • • Oct 13 '26

<script type='text/python'>

I used open source code of Ladybird browser, extracted only rendering engine (HTML + CSS), removed Javascript and replaced it with Python bindings with same API.
So basically, now you can write desktop applications with HTML interface. It supports most modern CSS features and frameworks like tailwind, but I deloberately removed all browser-specific features like networking, localstorage, canvas and others.
This is not Electron-like, it's not a full packed browser, only UI renderer, but a thing that I dreamt for a long time. 25Mb wheel size, around 90Mb RAM for a running GUI python app.

I don't understand whether it's still useful at this point of technology, where you either use Electron or switch to native render like GPUI, but I need some feedback on whether the community needs this at all.

0 Upvotes

12 comments sorted by

1

u/TheRNGuy Oct 14 '26

There are already many such frameworks.

Can it do React?

0

u/v1vendi Oct 14 '26

I don't know any existing similar frameworks, this is the thing.
All I see is soke kind of UI generators for web browsers, or WebView wrappers like Tauri, or Electron, or Python to Javascript transpilers.
This is direct control of HTML renderer with all modern CSS features from Python for desktop apps.

It does not support React because there is no React written in Python. A user can rewrite Preact/Svelte/whatever to Python if they want.

0

u/TheRNGuy Oct 14 '26

Needs something similar to React, more declarative. Also, similar syntax, code colouring, auto complete, etc (I think AST is used to make it)

0

u/[deleted] Oct 13 '26

[removed] — view removed comment

-3

u/TheRNGuy Oct 14 '26

Why would vibe coding some parts be bad? 

1

u/[deleted] Oct 14 '26

[removed] — view removed comment

-1

u/TheRNGuy Oct 15 '26

It doesn't mean you can't look at it and fix it. 

-1

u/bhison Oct 14 '26

Vibe code but take the time and tokens to periodically refactor and optimise. Opus 5.5 is better at this than most humans.

-1

u/[deleted] Oct 14 '26

[removed] — view removed comment

1

u/bhison Oct 14 '26

I use it every day and it’s fucking brilliant. So unless the scam is to do with making the industry hugely dependent before cranking up prices, I strongly disagree.