Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I planned to extend dillo with lua. I so far I have patch with the includes and the lua interpreter init.. annnnd that's it. I know nothing about interfacing interpreter with the browser components (dom, etc) so I stopped.


Dillo specifically avoids scripting, so I doubt the internals are well-suited to that sort of integration. You could try extending NetSurf[1], though. It uses Duktape[2] as its Javascript engine and its API is pretty similar to Lua's.

1: http://www.netsurf-browser.org/ 2: http://duktape.org/


Thanks, I should look how others did it. It's true that dillo never cared about scripting, I felt like plugin lua in would force a rewrite of every part..


You may find the Luakit browser interesting. https://luakit.github.io/


Thanks, I looked at it, I wanted a crude web browser, not a modern html5/css3/js(6).

The point was to make an extremely light, yet programmatic access to web data and almost static html.

When I use dillo I don't miss much, maybe a few css fix here and there. What I feel is that I want some emacs-ish capabilities in it so I can do more with less. And I love the ridiculous resource consumption of dillo, 30 dillo tabs = half a chromium one; and without parsing js and fetching scripts .. network + rendering is hard to measure.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: