himanshu-711 commited on
Commit
9ec772b
·
verified ·
1 Parent(s): e1f5977

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +37 -0
README.md CHANGED
@@ -8,4 +8,41 @@ app_port: 7860
8
  pinned: false
9
  ---
10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
8
  pinned: false
9
  ---
10
 
11
+ # OpenClaw on Hugging Face Docker Space
12
+
13
+ This Space runs OpenClaw with a web dashboard on port 7860 (Hugging Face requirement) and includes Chromium for headless browsing.
14
+
15
+ ## Setup (Hugging Face Secrets)
16
+
17
+ Go to your Space → **Settings** → **Secrets** and add:
18
+
19
+ - `OPENCLAW_SECRET_KEY` = a long random string (keep it private)
20
+
21
+ Example (locally):
22
+ - Use any password generator, or make one like:
23
+ `my-super-long-secret-...`
24
+
25
+ ## Ports
26
+
27
+ Hugging Face exposes only port **7860**.
28
+ This Space sets:
29
+
30
+ - `PORT=7860`
31
+ - `OPENCLAW_PORT=7860`
32
+
33
+ ## Browser / Headless
34
+
35
+ Chromium is installed and OpenClaw is pointed to:
36
+
37
+ - `/usr/bin/chromium-browser`
38
+
39
+ If you need to confirm inside logs, the environment variables include:
40
+ - `CHROME_BIN`
41
+ - `PUPPETEER_EXECUTABLE_PATH`
42
+
43
+ ## Open the UI
44
+
45
+ After the Space is running, open the Space URL and you should see the OpenClaw dashboard.
46
+
47
+
48
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference