| ▲ | Tinybrowser: A browser running directly in the browser(tinybrowser.ericc.ch) |
| 97 points by auraham 6 hours ago | 42 comments |
| |
|
| ▲ | bb88 3 hours ago | parent | next [-] |
| The birth and death of javascript came true! https://www.destroyallsoftware.com/talks/the-birth-and-death... |
|
| ▲ | PufPufPuf 33 minutes ago | parent | prev | next [-] |
| Similar project: https://github.com/HeyPuter/browser.js |
|
| ▲ | catapart 5 hours ago | parent | prev | next [-] |
| This is my favorite kind of ridiculous. An impressive project, you've got here! |
|
| ▲ | fitzn 5 hours ago | parent | prev | next [-] |
| 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. |
| |
|
| ▲ | hhthrowaway1230 6 hours ago | parent | prev | next [-] |
| 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. |
| |
| ▲ | grumbel 32 minutes ago | parent | next [-] | | 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: [1] https://github.com/xanatoo/xanatoo [2] https://xanatoo.github.io/wasm/ (limited functionality due to CORS) [3] https://xanatoo.github.io/ | |
| ▲ | arcanemachiner 3 hours ago | parent | prev [-] | | Someone needs to make a website that embeds the Lynx browser... |
|
|
| ▲ | xerios 6 hours ago | parent | prev | next [-] |
| Decided to try out an oldschool browser test (acid3) and it received a 67/100 score. Neat. Just noticed that there's a full list of all sorts of tests automated. Pretty cool project overall |
|
| ▲ | dfee 5 hours ago | parent | prev | next [-] |
| Really enjoyed this section: "Agents love tinybrowser!" Thank you for the laughs |
|
| ▲ | roschdal 44 minutes ago | parent | prev | next [-] |
| Similar to Southstar browser:
https://github.com/nordstjernen-web/southstar-browser |
|
| ▲ | zergrush 3 hours ago | parent | prev | next [-] |
| also done over at https://pcbang.io |
|
| ▲ | silverFork 6 hours ago | parent | prev | next [-] |
| Cute.. it doesnt display video though.. |
|
| ▲ | flowerlad 6 hours ago | parent | prev | next [-] |
| What are some use cases for this? |
| |
| ▲ | citbl 6 hours ago | parent | next [-] | | Using one's monthly quota of tokens. | |
| ▲ | spankalee 5 hours ago | parent | prev | next [-] | | 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. | |
| ▲ | s20n 5 hours ago | parent | prev | next [-] | | 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. | | |
| ▲ | spicybright 5 hours ago | parent [-] | | But this only runs in a browser. If your client was a website you would just do an iframe, if not you'd have to load the entire blink engine anyways. | | |
| ▲ | andai 5 hours ago | parent | next [-] | | >But this only runs in a browser. From what I understood, it was specifically created to eliminate the dependency on (headless) browsers, for AI agents. It does also have an in-browser version, though (i.e. this demo). The two seem to have quite different use cases. | |
| ▲ | roywiggins 4 hours ago | parent | prev | next [-] | | You can run it directly in a WASI runtime, you don't need a full browser to host it. | |
| ▲ | s20n 5 hours ago | parent | prev [-] | | Oh sorry, I interpreted the question as "What is the use case of writing a toy browser like this?" |
|
| |
| ▲ | andai 5 hours ago | parent | prev | next [-] | | 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.) | |
| ▲ | Fnoord 5 hours ago | parent | prev | next [-] | | Well, I want to have a browser available which always uses a proxy (but does not use Tor). So I used https://docs.linuxserver.io/images/docker-firefox/ and it uses 500 MB out of the box. My server has total 64 GB RAM, and... RAM is expensive. 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. | |
| ▲ | mapontosevenths 6 hours ago | parent | prev | next [-] | | Now we can finally have an electron based web browser! | |
| ▲ | nmstoker 6 hours ago | parent | prev | next [-] | | Options for easier frontend based web scraping/automation? | |
| ▲ | krackers 6 hours ago | parent | prev | next [-] | | Sandboxing seems like a low-hanging one. | |
| ▲ | thatsabadlook 5 hours ago | parent | prev [-] | | Anthropic gets paid and free advertising. |
|
|
| ▲ | andai 5 hours ago | parent | prev | next [-] |
| Huh, very cool. Not quite interactive speed, but I guess it's meant for agents, so plenty fast for that? (Also, lol at the "testimonials"!) This reminded me, in uni I made a web scraper that ran fully in the browser. 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. 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! Original code lost, but I recall it being like 30 LoC or something. 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. https://pastebin.com/AMwCkZai |
|
| ▲ | rickcarlino 3 hours ago | parent | prev | next [-] |
| Can’t have browser compatibility issues if you run a different browser in the users browser. |
|
| ▲ | petermcneeley 4 hours ago | parent | prev | next [-] |
| You have failed the compute science community by not allowing recursion. |
| |
|
| ▲ | jbird99 6 hours ago | parent | prev | next [-] |
| Yo dawg I heard you like web browsers |
| |
|
| ▲ | spicybright 5 hours ago | parent | prev | next [-] |
| Disappointed you block it from running itself :) |
| |
| ▲ | zernoshka 5 hours ago | parent | next [-] | | Yep, I even tried copy and pasting and clicking on this link on the front page of HN. | |
| ▲ | codetiger 3 hours ago | parent | prev | next [-] | | Tried it and got disappointed. Wanted to try a few levels recursive.
But why? | |
| ▲ | Fnoord 5 hours ago | parent | prev [-] | | First thing I tried: a tinybrowser inception! Wasn't disappointed it didn't work. :> |
|
|
| ▲ | catchmeifyoucan 5 hours ago | parent | prev | next [-] |
| This looks really cool. Are there any memory benefits of using this to render a page? |
| |
| ▲ | thatsabadlook 5 hours ago | parent [-] | | Let's think this through. Does running a web browser help performance of applications that would otherwise run on ones computer? No. Does putting another browser inside of a browser improve anything inside of a browser? Also no | | |
| ▲ | catchmeifyoucan 2 hours ago | parent [-] | | Hmm, I think the whole browser-in-browser thing is a demo to prove the portability. I believe you can run this as a standalone rust application. And it might be possible. If the page doesn't load the full V8 engine, renders the DOM in its own way, skips interactivity, I don't see why it may not use less memory. I don't know their approach. |
|
|
|
| ▲ | fnord77 3 hours ago | parent | prev [-] |
| you cannot open https://tinybrowser.ericc.ch/ in it lol |