The birth and death of javascript came true!<p><a href="https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript" rel="nofollow">https://www.destroyallsoftware.com/talks/the-birth-and-death...</a>
I didn't read the source, but how does this fetch across origins? Presumably the wasm browser gets its networking from the host page's fetch function. But fetch won't return any arbitrary page.
They are proxying sites through their server at <a href="https://tinybrowser.ericc.ch/api/hop" rel="nofollow">https://tinybrowser.ericc.ch/api/hop</a>
Seems it relies on proxying <a href="https://github.com/tinybrowser-dev/tinybrowser/tree/44ea297fa57506f454faadca3a5ff5e922ee18e5/packages/wasm#browser" rel="nofollow">https://github.com/tinybrowser-dev/tinybrowser/tree/44ea297f...</a>
This is my favorite kind of ridiculous. An impressive project, you've got here!
Sometimes I dream of a reader mode only web-bowser to cut trough the noise and an age where JS and ads don't exist.
That's what I am trying to build with xanatoo[1][3]. It's however very early, very experimental and not really all that serious of a project, more just trying to play around with what works and what doesn't. Web support is rather limited due to all the Javascript anti-bot challenges, but it does support RSS, Lemmy, Bluesky, Nostr, Gemini, Wikipedia and a bunch of other stuff. Works an Android 5+, Linux and some other systems, has a WASM demo as well[2], not optimized for phone use, but works quite well on a 10" tablet:<p>[1] <a href="https://github.com/xanatoo/xanatoo" rel="nofollow">https://github.com/xanatoo/xanatoo</a><p>[2] <a href="https://xanatoo.github.io/wasm/" rel="nofollow">https://xanatoo.github.io/wasm/</a> (limited functionality due to CORS)<p>[3] <a href="https://xanatoo.github.io/" rel="nofollow">https://xanatoo.github.io/</a>
Someone needs to make a website that embeds the Lynx browser...
Dillo, with dilloc you can write your own scripts (calling external tools and re-rendering the page) and maybe with qjs (quickjs from Bellard) pass away the JS challenges and use tons of websites.<p>The most trivial use case it's OFC doing what Libredirect does in Chrom* and FFox based browsers (Youtube->Invidious, and so on). Then would call mpv+yt-dlp with a script on every MEDIA link you find.<p>Also, Medium.com->Scribe.rip, X.com ->> xxcancel.com... just write a small URL plumber replacing "$1" (first argument, the current URL for dilloc) per domain with sed (or an AWK script) and you can do magic (think:curl can take cookies too). Paywalls? Gone. Wayback Classic? A right click in the page -> look up/archive it thanks to a really easy -novice level- script. Wget --mirror --foo --bar a whole homepage or directory? Easy, too.
Similar project: <a href="https://github.com/HeyPuter/browser.js" rel="nofollow">https://github.com/HeyPuter/browser.js</a>
Decided to try out an oldschool browser test (acid3) and it received a 67/100 score. Neat.<p>Just noticed that there's a full list of all sorts of tests automated. Pretty cool project overall
Really enjoyed this section: "Agents love tinybrowser!"<p>Thank you for the laughs
also done over at <a href="https://pcbang.io" rel="nofollow">https://pcbang.io</a>
Similar to Southstar browser:
<a href="https://github.com/nordstjernen-web/southstar-browser" rel="nofollow">https://github.com/nordstjernen-web/southstar-browser</a>
Cute.. it doesnt display video though..
What are some use cases for this?
Using one's monthly quota of tokens.
I'm building a Wasm-based graphical runtime (think GPUI, uses Taffy, etc., for layout and paint, but where every component is Wasm) and this would be a neat way to render web content without having to pull in an OS-level web view.
A few years ago I was trying to write my own HTML+CSS renderer for an email client I was writing, so that I could render HTML emails. I didn't want to embed the entire blink engine for that. This could be one use case for such a browser.
If you check "iframe vs tinybrowser", the use case is that tinybrowser loads, and the iframe does not. At least on my machine. (Maybe a web security thing? I don't understand the details here.)
Well, I want to have a browser available which always uses a proxy (but does not use Tor). So I used <a href="https://docs.linuxserver.io/images/docker-firefox/" rel="nofollow">https://docs.linuxserver.io/images/docker-firefox/</a> and it uses 500 MB out of the box. My server has total 64 GB RAM, and... RAM is expensive.<p>Regarding 'so Playwright and Selenium can drive it.' this can play botting and scraping into hands. So you can use your imagination to use this for good or bad, or think of scenarios where others would use it for either. It also mentions 'agents love tinybrowser', so there's that.
Now we can finally have an electron based web browser!
Options for easier frontend based web scraping/automation?
Sandboxing seems like a low-hanging one.
Anthropic gets paid and free advertising.
Huh, very cool. Not quite interactive speed, but I guess it's meant for agents, so plenty fast for that?<p>(Also, lol at the "testimonials"!)<p>This reminded me, in uni I made a web scraper that ran fully in the browser.<p>Or it would have, if CORS didn't exist. I had to proxy it thru a 1 line PHP script so requests would be "to the same server". Sekurity achieved.<p>Of course, web scraping is recursive, so I thought, why not visualize that? So it would extract links from each loaded page, and then fetch those pages too. And then render those websites in nested divs under the original one, and so on. Web-ception!<p>Original code lost, but I recall it being like 30 LoC or something.<p>Edit: OK Recreated it from memory but without the recursive scraping bit. So it's just a "normal" browser-in-browser now (lol). Microscopic Python proxy included. <a href="https://pastebin.com/AMwCkZai" rel="nofollow">https://pastebin.com/AMwCkZai</a>
What will be the next project? Micro browser? A browser that runs directly in Tinybrowser?
Can’t have browser compatibility issues if you run a different browser in the users browser.
Yo dawg I heard you like web browsers
You have failed the compute science community by not allowing recursion.
Disappointed you block it from running itself :)
Yep, I even tried copy and pasting and clicking on this link on the front page of HN.
Tried it and got disappointed. Wanted to try a few levels recursive.
But why?
First thing I tried: a tinybrowser inception! <i>Wasn't</i> disappointed it didn't work. :>
This looks really cool.<p>Are there any memory benefits of using this to render a page?
you cannot open <a href="https://tinybrowser.ericc.ch/" rel="nofollow">https://tinybrowser.ericc.ch/</a> in it lol
[dead]
[dead]
[dead]
[dead]