@@ -36,29 +36,22 @@ You can download the last binary from the [nightly
3636builds] ( https://github.com/lightpanda-io/browser/releases/tag/nightly ) for
3737Linux x86_64 and MacOS aarch64.
3838
39+ * For linux*
3940``` console
40- # Download the binary
41- $ wget https://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-x86_64-linux
42- $ chmod a+x ./lightpanda-x86_64-linux
43- $ ./lightpanda-x86_64-linux -h
44- usage: ./lightpanda-x86_64-linux [options] [URL]
45-
46- start Lightpanda browser
47-
48- * if an url is provided the browser will fetch the page and exit
49- * otherwhise the browser starts a CDP server
50-
51- -h, --help Print this help message and exit.
52- --host Host of the CDP server (default "127.0.0.1")
53- --port Port of the CDP server (default "9222")
54- --timeout Timeout for incoming connections of the CDP server (in seconds, default "3")
55- --dump Dump document in stdout (fetch mode only)
41+ $ wget -O lightpanda https://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-x86_64-linux
42+ $ chmod a+x ./lightpanda
43+ ```
44+
45+ * For MacOS*
46+ ``` console
47+ $ wget -O lightpanda https://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-aarch64-macos
48+ $ chmod a+x ./lightpanda
5649```
5750
5851### Dump an URL
5952
6053``` console
61- $ ./lightpanda-x86_64-linux --dump https://lightpanda.io
54+ $ ./lightpanda --dump https://lightpanda.io
6255info(browser): GET https://lightpanda.io/ http.Status.ok
6356info(browser): fetch script https://api.website.lightpanda.io/js/script.js: http.Status.ok
6457info(browser): eval remote https://api.website.lightpanda.io/js/script.js: TypeError: Cannot read properties of undefined (reading 'pushState')
@@ -68,7 +61,7 @@ info(browser): eval remote https://api.website.lightpanda.io/js/script.js: TypeE
6861### Start a CDP server
6962
7063``` console
71- $ ./lightpanda-x86_64-linux --host 127.0.0.1 --port 9222
64+ $ ./lightpanda --host 127.0.0.1 --port 9222
7265info(websocket): starting blocking worker to listen on 127.0.0.1:9222
7366info(server): accepting new conn...
7467```
0 commit comments