News for hackers. Stuff that matters.
Re:KyuWeb: A proposal for a simple document-oriented web by simonhamp on Friday March 25, 2022 @08:28AM (#30801293)
Why couldn't this be implemented as an extension in an existing browser?

Sending and detecting a different content type (e.g. text/kyu) that triggers (for now) a JS parser that renders the markup used into the HTML that the browser understands

This feels like the best way to get some adoption without having to build a whole new browser

Edit: it also means you could flex away from Markdown and develop your own markup language and parser as and when the need arises

Re:KyuWeb: A proposal for a simple document-oriented web by ejones on Friday March 25, 2022 @11:23AM (#30803264)
In fact it looks like there are already browser extensions that do this for Markdown:

https://chrome.google.com/webstore/detail/markdown-viewer/ck... https://chrome.google.com/webstore/detail/markdown-preview-p...

Re:KyuWeb: A proposal for a simple document-oriented web by Cyberdog on Friday March 25, 2022 @10:07AM (#30802334)
I haven't done any browser extension development. Is it possible for browser extensions to be able to read HTTP headers? Is that consistent across all browsers?
Re:KyuWeb: A proposal for a simple document-oriented web by simonhamp on Saturday March 26, 2022 @08:26AM (#30811270)
Yes and yes.

The Web Extensions standard is coming along quite nicely (at least from my perspective)

But even just targeting a single browser engine to start with feels appropriate just to get the concept out there and see how it flies