←back to thread

233 points monax | 1 comments | | HN request time: 0s | source

We’ve been working on Vaev, a minimal web browser engine built from scratch. It supports HTML/XHTML, the CSS cascade, @page rules for pagination, and print-to-PDF rendering. It even handles calc(), var(), and percentage units—and yes, it renders Google.com (mostly).

This is an experimental project focused on learning and exploration. Networking is basic (http:// and file:// only), and grid layouts aren’t supported yet, but we’re making progress fast.

We’d love your thoughts and feedback.

Show context
khimaros ◴[] No.44024102[source]
i find myself requesting this whenever i see a new minimalist browser pop up:

it would be great to standardize alternative browsers on a consistent subset of web standards and document them so that "smolweb" enthusiasts can target that when building their websites and alternative browsers makers can target something useful without boiling the ocean

i personally prefer this approach to brand new protocols like Gemini, because it retains backward compatibility with popular browsers while offering an off ramp.

replies(7): >>44024337 #>>44024442 #>>44024575 #>>44024868 #>>44027725 #>>44036733 #>>44041548 #
idle_zealot ◴[] No.44024868[source]
> standardize alternative browsers on a consistent subset of web standards and document them so that "smolweb" enthusiasts can target that

Could such a standard be based on the subset of HTML/CSS acceptable in emails? Maybe with a few extra things for interactivity.

replies(2): >>44026336 #>>44026342 #
43920 ◴[] No.44026342[source]
AFAIK, "email HTML" isn't standardized either; most organizations that make nice-looking HTML emails have to do a ton of testing across different clients and come up with workarounds to make everything look consistent.
replies(2): >>44026966 #>>44031295 #
notpushkin ◴[] No.44026966{3}[source]
Could we standardize email HTML?
replies(2): >>44027454 #>>44027869 #
jeroenhd ◴[] No.44027869{4}[source]
If you can convince Apple, Google, and Microsoft to implement your standard: sure. Attempts have been made with varying success.

Your standard still needs to render in Outlook on Windows, though, which means you need to support the weird Office version of IE11 as an upper limit.

replies(2): >>44028465 #>>44031220 #
1. WorldMaker ◴[] No.44031220{5}[source]
Google has recently been pivoting AMP which nearly broke the web towards email. It might actually be a better use of AMP than the web, but I'm still skeptical about some of its privacy stance and ad-injection focus: https://amp.dev/about/email