Better HN
topnewbestaskshowjobs
Log inSign up

browsergap

67 karma · joined Jul 14, 2020 (6y ago) · 111 submissions

https://BrowserGap.Dosyago.Com

The Superposition

Submissions

comment 6y ago · link · parent

No but I could add gpus to the machine. Good idea to try I guess.

Yes it's built on top of chrome Dev tools.

92.

Show HN: Spending GCloud for startups credits on a free demo(start.cloudbrowser.xyz ↗)

16 points · by browsergap · 6y ago · 11 comments

93.

Show HN: Simple open-source remote browser isolation(github.com ↗)

1 points · by browsergap · 6y ago · discuss

94.

The Browser(start.cloudbrowser.xyz ↗)

1 points · by browsergap · 6y ago · discuss

95.

Show HN: A Free Proxy Server for Headless Chrome(start.cloudbrowser.xyz ↗)

2 points · by browsergap · 6y ago · discuss

comment 6y ago · link · parent

Also, to save bandwidth, what happens is, a couple seconds after the last interaction, new screens will no longer be sent. And they will only be sent if you are moving your mouse / touching the screen. So you need to "keep active" if you are watching a video and want to keep getting images from it. Sound will continue tho.

comment 6y ago · link · parent

Thanks. Just pixel pushing screenshots from the remote browser, base64 encoded and sent through websocket. Lots of room for improvement in the speed. Also, server is in Tokyo.

comment 6y ago · link · parent

This demo is based on this open source code https://github.com/dosyago/BrowserGap

To save costs on the demo, image quality is tuned to make bandwidth as low as possible.

99.

Show HN: Self-host Clientless Remote Browser Isolation(start.cloudbrowser.xyz ↗)

2 points · by browsergap · 6y ago · 4 comments

comment 6y ago · link · parent

This is built using (ah, obviously) headless Chrome. I think a "Live Puppeteer" demo might be more suited for this HN audience, where we have, LHS a code editor to enter a puppeteer script, and RHS, a BrowserView where you can interact with it like a normal browser, and drive it with puppeteer.

Under the hood, I don't use puppeteer, nor chrome-remote-interface, I actually use the raw ToT (tip of tree) DevTools protocol over secure websocket with some helpers to send commands, and receive responses and events. The reason to not use puppeteer is because it is missing some functionalities that are useful for "virtualizing" a browser like this, such as book-keeping of JS execution contexts (isolated worlds) and sessions (connections to a tab), and it was easier to create my own API that mapped 1-to-1 with my requirements atop the raw protocol, rather than build my API atop someone else's API atop the raw protocol. Also earlier on there were times when puppeteer didn't keep up to date with the latest ToT methods which were useful such as "flat session mode" (the ability to send a command to a particular tab just by including the sessionId).

Even tho I don't use pptr to build this, you can still use pptr to connect to the debugging port of the remote headless browser. However, not in the demo I am making available, for the simple reason that, 1) such connections have no authentication, and 2) exposing them to the internet means you could connect to someone else's browser, breaking privacy and security. These blocks are affected using IPTABLES and other blocks are effected on the cloud provider (GCP) level using firewall rules. The browsers are also blocked from accessing local files via file URLs.

I originally made this as part of a "repetitive task" automation product, but realized that "remote browser isolation" is actually a thing, so I'm trying to monetize this as a product in itself. There are a LOT of competitors: Symantec, Cloudflare/S2 (who use a really cool way to save bandwidth and maintain security by transferring not pixels but vector draw instructions from the chrome render engine), Webgap, McAfee/LightPoint, Ericom. I'm hoping that by having an open source product, that's relatively solid (tho by no means the lowest bandwidth (compared to S2/CF), and by no means has the status of a product backed by an existing security company (Symantec), or by experts in this field (LightPoint, WebGap, Ericom)), well I'm hoping that I'll be able to get some customers. I do think open source can work here.

But maybe in the end using this for security will be too hard to compete against the incumbents, and it will serve better as a robust part of my original idea of repetitive task automation (RPA for web apps).

That's some of the story of development. It's around 35K SLOC, all by me, took around just over 1 year full time, and I learned a lot, and got some GitHub starrs. Yay. Code is at:

https://github.com/dosyago/BrowserGap

You can't use it for free if you're a for profit, but you can if you are government or not-for-profit. In the former case I aim to sell per seat, or per site licenses, and also charge for install and maintain. And in the latter, aim to only charge for install and maintain. What's the point of taxing the public purse more? Sometimes I doubt I can compete with products of competitors (especially capturing the vector draw instructions, tho theoretically that should be possible to implement like S2 did), and my aim is mostly to have a fairly familiar and easy to use browser experience.

comment 6y ago · link · parent

Cool. I don't like to include consciousness in this reduction, I consider that something sacred. The field that permeates all of us and everything. The thinking part of it, I think there's a chance it could be as you describe, with our brains coming with algorithms (or the ability to form similar algorithms) that do domain transformation, stateful processing, associate lookups, memory. I like to think of the consciousness, as simply being aware of this, and I guess "gently guiding" it through intention. It's what tunes us into our thinking and let's us perceive it. But the thinking could occur without that "supervisor". But perhaps somehow consciousness is the spark which gives us life, because when it leaves the body, the body and brain no longer function, or at least no longer animate. And consciousness can seem to exist within and outside the body.

Maybe what we call intelligence, and what we are trying to create with AI is just "how a brain" thinks. That version of AI definitely seems achievable, it's a;sp interesting to think what consciousness is, when it seems that people have been able to perceive things outside their body, while it was dead, and then return to that body upon it being revived, and being able to bring verifiable details back with them...Or a consciousness being able to recall things inbetween incarnations in bodies....Those impressions must involve pattern matching and thinking as well...But there's no substrate it seems. Just the universe itself. Which is pretty bizarre...Makes you wonder why our brains need to be so complex at all, if our souls can think and remember too...

Perhaps even more scary and bizarre (and not what I believe) but what if having a soul (as in some consciousness part that exists separate to the body) is actually real but not common. So the strange anecdotes of these occurrences are not more widespread simply because, for whatever reason, most bodies don't have souls...I'm sure it's not like that...but since we're speculating, may as well take this to where it goes, which is, if that's the case then consciousness (which we all have, otherwise the body is anesthetized), and the soul (which it seems some people have, owing to how they have disembodied memories that are factual) might be separate.

So if the body has consciousness that's entirely embodied, maybe AI's can have consciousness as well. Then what's the soul? And what is the soul doing when a person's brain and consciousness is doing the thinking? Or if we all have a soul (a disembodied consciousness) why can only very few people seem to have disembodied memories?

If we make the right AI substrate for consciousness, will it attract souls, like moths to a light?

comment 6y ago · link · parent

Interesting to consider tho...there must be some sort of power threshold. Above which all our questions can be merely "interpolated" from data. Right now 499B tokens is not it. But there must be, I guess, some upper limit, within which all human knowledge expressible through language can be contained and conversed upon using this method. Pretty scare to think about...that at that point, when it's 10^n tokens or whatever, we would be unable to detect if it understood or not.

Even more scary, what if our brains are simply above that power limit in their ability (if they do that) to interpolate. And what if we don't really understand anything (but, just like vision, our brains provide us the comforting sensation that we really get it), but simply are in possession of wetware/quantum computers that can interpolate better than we can poke holes in it.

comment 6y ago · link · parent

To pass a Turing test 1 part is understanding language and 1 part is understanding the world. Although it looks pretty, I don't think GPT-3 is qualitatively different from other "nonsense" models (that are not based in understanding of (a semantic structure of) language or of the world). Which is not to disparage GPT-3 or the amazing answers it gets here. Just to put it in perspective, it's a long way from usefully human.

comment 6y ago · link · parent

Yeah I'm always a fan of that. :)

105.

Show HN: A Head for Headless Chrome(start.cloudbrowser.xyz ↗)

3 points · by browsergap · 6y ago · 1 comment

106.

Show HN: Browser Inside Browser(start.cloudbrowser.xyz ↗)

2 points · by browsergap · 6y ago · 2 comments

107.

Show HN: BrowserGap – open-source remote browser isolation(github.com ↗)

2 points · by browsergap · 6y ago · discuss

108.

Show HN: Run the Browser Anywhere(github.com ↗)

1 points · by browsergap · 6y ago · discuss

comment 6y ago · link · parent

you can run your browser anywhere. Then connect to it from anywhere. the point is to make you safer and increase your privacy. thanks!

110.

BrowserGap – An Isolated Browser(github.com ↗)

1 points · by browsergap · 6y ago · 1 comment

1234