Skip to content

Commit b739b27

Browse files
tmaierclaude
andcommitted
docs(claude-code): add Chrome integration section to NOTES.md
Document how to use `claude --chrome` inside a Dev Container by combining the claude-code and chrome features with VNC display mode. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1b3702f commit b739b27

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

src/claude-code/NOTES.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,38 @@ Replace `vscode` with the actual name of your user (see `remoteUser` property).
3333
],
3434
```
3535

36+
## Chrome Integration (`claude --chrome`)
37+
38+
Claude Code supports a Chrome integration via `claude --chrome`. To use this inside a Dev Container, combine the `claude-code` feature with the [`chrome`](https://github.com/tmaier/devcontainer-features/tree/main/src/chrome) feature configured for VNC display mode:
39+
40+
```jsonc
41+
// .devcontainer/devcontainer.json
42+
{
43+
"features": {
44+
"ghcr.io/devcontainers/features/desktop-lite:1": {},
45+
"ghcr.io/tmaier/devcontainer-features/chrome:2": {
46+
// Extensions:
47+
// fdgfkebogiimcoedlicjlajpkdmockpc = Meta Pixel Helper (https://chromewebstore.google.com/detail/meta-pixel-helper/fdgfkebogiimcoedlicjlajpkdmockpc)
48+
// fmkadmapgofadopljbjfkapdkoienihi = React Developer Tools (https://chromewebstore.google.com/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi)
49+
"extensions": "{\"fdgfkebogiimcoedlicjlajpkdmockpc\": {}, \"fmkadmapgofadopljbjfkapdkoienihi\": {}}",
50+
"displayMode": "vnc"
51+
},
52+
"ghcr.io/tmaier/devcontainer-features/claude-code:2": {}
53+
},
54+
"forwardPorts": [5901, 6080],
55+
"portsAttributes": {
56+
"5901": { "label": "tigervnc" },
57+
"6080": { "label": "novnc" }
58+
}
59+
}
60+
```
61+
62+
After the container starts, connect to the desktop via:
63+
- **noVNC (browser):** http://localhost:6080
64+
- **VNC client:** vnc://localhost:5901
65+
66+
Then run `claude --chrome` in the terminal to launch the Chrome integration.
67+
3668
## Usage
3769

3870
After installation, run `claude` in your project directory to get started.

0 commit comments

Comments
 (0)