News for hackers. Stuff that matters.
Re:Edbrowse – A Command Line Editor Browser by shiomiru on Thursday July 21, 2022 @01:25AM (#32176048)
> I'm lately thinking I want to see a text-mode browser that just glues together libcurl, curses, simple HTML rendering, and maybe an existing HTML parsing library.

I had a similar idea a while ago, except mine was to glue together components from the nim stdlib.

So I wrote something like that, then I thought "hey, why not implement some CSS too?" and that sent me down the rabbit hole of writing an actual CSS-based layout engine... I eventually also realized that the stdlib html parser is woefully inadequate for my purposes.

In the end, I wrote my own mini browser engine with an HTML5 parser and whatnot. Right now I'm trying to bring it to a presentable state (i.e. integrate libcurl instead of using the curl binary, etc.) so I can publish it.

Anyways, if there's a moral to this story it's that writing a browser engine is surprisingly fun, so go for it :)

Re:Edbrowse – A Command Line Editor Browser by ttgurney on Thursday July 21, 2022 @09:39AM (#32179242)
I look forward to seeing your 1st release of this program!

> Anyways, if there's a moral to this story it's that writing a browser engine is surprisingly fun, so go for it :)

Good to know. I'd been fairly intimidated by the idea.