arise-browser 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ metadata:
|
|
|
8
8
|
openclaw:
|
|
9
9
|
emoji: "🌐"
|
|
10
10
|
requires:
|
|
11
|
-
bins: ["npx"]
|
|
11
|
+
bins: ["npx", "docker"]
|
|
12
12
|
---
|
|
13
13
|
|
|
14
14
|
# AriseBrowser
|
|
@@ -63,7 +63,7 @@ npm install -g arise-browser
|
|
|
63
63
|
|
|
64
64
|
Start:
|
|
65
65
|
```bash
|
|
66
|
-
npx arise-browser --virtual-display --port 9867
|
|
66
|
+
npx arise-browser --virtual-display --port 9867 &
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
**Wait for ready (MANDATORY):**
|
|
@@ -77,13 +77,9 @@ First run takes ~2 minutes (Docker pulls Neko Chrome image ~700MB).
|
|
|
77
77
|
|
|
78
78
|
After installation succeeds, inform the user:
|
|
79
79
|
|
|
80
|
-
1. **
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
- `52000-52100/udp` — WebRTC media data
|
|
84
|
-
2. **Watch the browser**: Open `http://<server-ip>:6090` in your browser, password: `neko`
|
|
85
|
-
3. **HTTPS (optional)**: For production, put Caddy in front with `tls internal` (self-signed, no domain needed).
|
|
86
|
-
4. **Passwords**: Default Neko passwords are `neko` (viewer) and `admin` (admin). Change via CLI flags.
|
|
80
|
+
1. **Watch the browser**: Open `http://localhost:6090` in your browser, password: `neko`
|
|
81
|
+
2. **Remote access**: Add `--host 0.0.0.0` and `ARISE_BROWSER_TOKEN=<secret>` to the start command, then open ports `9867/tcp`, `6090/tcp`, `52000-52100/udp` in your firewall.
|
|
82
|
+
3. **Passwords**: Change default Neko passwords via `--neko-password` and `--neko-admin-password` flags.
|
|
87
83
|
|
|
88
84
|
## Step 2: Core Loop
|
|
89
85
|
|
|
@@ -161,7 +157,7 @@ The Docker container is automatically stopped and cleaned up.
|
|
|
161
157
|
- Use `?diff=true` after the first snapshot to save tokens.
|
|
162
158
|
- Batch actions: `POST /actions` with `{"actions": [...], "stopOnError": true}`.
|
|
163
159
|
- Tabs: `GET /tabs`, `POST /tab` with `{"action": "create|switch|close"}`.
|
|
164
|
-
- Screenshot (`GET /screenshot`) is useful to show the user what you see
|
|
160
|
+
- Screenshot (`GET /screenshot`) is useful to show the user what you see.
|
|
165
161
|
|
|
166
162
|
## Troubleshooting
|
|
167
163
|
|