You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -29,26 +29,26 @@ See [benchmark details](https://github.com/lightpanda-io/demo).
29
29
30
30
### Javascript execution is mandatory for the modern web
31
31
32
-
Back in the good old times, grabbing a webpage was as easy as making an HTTP request, cURL-like. It’s not possible anymore, because Javascript is everywhere, like it or not:
32
+
In the good old days, scraping a webpage was as easy as making an HTTP request, cURL-like. It’s not possible anymore, because Javascript is everywhere, like it or not:
33
33
34
-
- Ajax, Single Page App, Infinite loading, “click to display”, instant search, etc.
34
+
- Ajax, Single Page App, infinite loading, “click to display”, instant search, etc.
35
35
- JS web frameworks: React, Vue, Angular & others
36
36
37
37
### Chrome is not the right tool
38
38
39
-
So if we need Javascript, why not use a real web browser. Let’s take a huge desktop application, hack it, and run it on the server, right? Hundreds or thousands of instances of Chrome if you use it at scale. Are you sure it’s such a good idea?
39
+
If we need Javascript, why not use a real web browser? Take a huge desktop application, hack it, and run it on the server. Hundreds or thousands of instances of Chrome if you use it at scale. Are you sure it’s such a good idea?
40
40
41
41
- Heavy on RAM and CPU, expensive to run
42
42
- Hard to package, deploy and maintain at scale
43
43
- Bloated, lots of features are not useful in headless usage
44
44
45
45
### Lightpanda is built for performance
46
46
47
-
If we want both Javascript and performance, for a real headless browser, we need to start from scratch. Not yet another iteration of Chromium, really from a blank page. Crazy right? But that’s we did:
47
+
If we want both Javascript and performance in a true headless browser, we need to start from scratch. Not another iteration of Chromium, really from a blank page. Crazy right? But that’s we did:
48
48
49
49
- Not based on Chromium, Blink or WebKit
50
50
- Low-level system programming language (Zig) with optimisations in mind
51
-
- Opinionated, without graphical rendering
51
+
- Opinionated: without graphical rendering
52
52
53
53
## Status
54
54
@@ -66,13 +66,13 @@ Here are the key features we have implemented:
66
66
-[x] DOM dump
67
67
-[x] Basic CDP/websockets server
68
68
69
-
NOTE: There are hundreds of Web APIs. Developing a browser, even just for headless mode, is a huge task. It's more about coverage than a _working/not working_ binary situation.
69
+
NOTE: There are hundreds of Web APIs. Developing a browser (even just for headless mode) is a huge task. It's more about coverage than a _working/not working_ binary situation.
70
70
71
71
You can also follow the progress of our Javascript support in our dedicated [zig-js-runtime](https://github.com/lightpanda-io/zig-js-runtime#development) project.
72
72
73
73
## Install
74
74
75
-
We do provide [nighly builds](https://github.com/lightpanda-io/browser/releases/tag/nightly) for Linux x86_64 and MacOS aarch64.
75
+
We provide [nighly builds](https://github.com/lightpanda-io/browser/releases/tag/nightly) for Linux x86_64 and MacOS aarch64.
0 commit comments