I just found this tiny web browser project that is crazy small it also implements some kind of scripting language. What do you think about adding a browser widget? There is not much info but I looked through the files a bit. It uses OpenGL, Glad and SDL for the rendering so that all needs to be adapted but the parser and the rest is really light weight. The entire download is under 450kb and 33KB of that is a doge picture
It would let users create an ebook, newspaper, rss reader, a digital display, one of those mirrors with news and weather info integrated and many other cool gadgets.
It wouldnât need the full html spec or css for most purposes to keep it small enough but having the basic elements to display text and images and set some colors would be plenty. A MCU wouldnât be powerful enough for modern html anyway. A lot of projects just require displaying text and images and linking which can all be done with html and inline html styles.
I donât think it is high priority but would be nice to keep in mind for later releases. Once the basics are integrated others can worry about extending it more.
Wow, this looks pretty cool! I think replacing the graphics stuff wonât be a big deal; it has a well-defined API for that.
The license is an issue. Itâs Apache 2 so I think weâd want to keep it as an external library and avoid integrating it into the LVGL repo directly.
Yea I was thinking an external library would be best anyway since many projects wonât need to use it so no point in adding a bunch of bloat. I have seen some other minimal browser libs in various stages of completeness and complexity let me know if you would like to check them out and I will look them up again.
I am glad you like it and canât wait to see what people do with it.
I think a good partion of rendering requirements could be full filled by LVGL. Iâm more concerned about the JS part. It could be really complex, with a lot of external (CDN) libraries.
So loading any website with an MCU is probably not feasible, however some custom ones really could work.
For my needs, I want to design a screen using the tech I know already (html and images).
If you actually wanted to browse the web, since you canât run chromium on an MCU, youâd instead run chromium headless on a web service, and simply transfer the remote-rendered screen buffer onto the MCUs screen. Kindoflike how TVâs can show web pages, because your PC thatâs running chromium is sending the screen data via the chromecast protocol to the display. Your MCU is the TV⌠who knows, maybe that protocol is simple enough to even use it directly?