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
2. Open `.env` in your preferred text editor and add your API keys and other settings
85
84
85
+
#### Local Setup
86
+
1.**Run the WebUI:**
87
+
After completing the installation steps above, start the application:
88
+
```bash
89
+
python webui.py --ip 127.0.0.1 --port 7788
90
+
```
91
+
2. WebUI options:
92
+
- `--ip`: The IP address to bind the WebUI to. Default is `127.0.0.1`.
93
+
- `--port`: The port to bind the WebUI to. Default is `7788`.
94
+
- `--theme`: The theme for the user interface. Default is `Ocean`.
95
+
- **Default**: The standard theme with a balanced design.
96
+
- **Soft**: A gentle, muted color scheme for a relaxed viewing experience.
97
+
- **Monochrome**: A grayscale theme with minimal color for simplicity and focus.
98
+
- **Glass**: A sleek, semi-transparent design for a modern appearance.
99
+
- **Origin**: A classic, retro-inspired theme for a nostalgic feel.
100
+
- **Citrus**: A vibrant, citrus-inspired palette with bright and fresh colors.
101
+
- **Ocean** (default): A blue, ocean-inspired theme providing a calming effect.
102
+
- `--dark-mode`: Enables dark mode for the user interface.
103
+
3. **Access the WebUI:** Open your web browser and navigate to `http://127.0.0.1:7788`.
104
+
4. **Using Your Own Browser(Optional):**
105
+
- Set `CHROME_PATH` to the executable path of your browser and `CHROME_USER_DATA` to the user data directory of your browser. Leave `CHROME_USER_DATA` empty if you want to use local user data.
- Open the WebUI in a non-Chrome browser, such as Firefox or Edge. This is important because the persistent browser context will use the Chrome data when running the agent.
119
+
- Check the "Use Own Browser" option within the Browser Settings.
120
+
86
121
### Option 2: Docker Installation
87
122
88
123
#### Prerequisites
@@ -118,95 +153,12 @@ docker compose up --build
118
153
CHROME_PERSISTENT_SESSION=true docker compose up --build
119
154
```
120
155
121
-
122
156
4. Access the Application:
123
157
- Web Interface: Open `http://localhost:7788`in your browser
124
158
- VNC Viewer (for watching browser interactions): Open `http://localhost:6080/vnc.html`
125
159
- Default VNC password: "youvncpassword"
126
160
- Can be changed by setting `VNC_PASSWORD`in your `.env` file
127
161
128
-
## Usage
129
-
130
-
### Local Setup
131
-
1.**Run the WebUI:**
132
-
After completing the installation steps above, start the application:
133
-
```bash
134
-
python webui.py --ip 127.0.0.1 --port 7788
135
-
```
136
-
2. WebUI options:
137
-
- `--ip`: The IP address to bind the WebUI to. Default is `127.0.0.1`.
138
-
- `--port`: The port to bind the WebUI to. Default is `7788`.
139
-
- `--theme`: The theme for the user interface. Default is `Ocean`.
140
-
- **Default**: The standard theme with a balanced design.
141
-
- **Soft**: A gentle, muted color scheme for a relaxed viewing experience.
142
-
- **Monochrome**: A grayscale theme with minimal color for simplicity and focus.
143
-
- **Glass**: A sleek, semi-transparent design for a modern appearance.
144
-
- **Origin**: A classic, retro-inspired theme for a nostalgic feel.
145
-
- **Citrus**: A vibrant, citrus-inspired palette with bright and fresh colors.
146
-
- **Ocean** (default): A blue, ocean-inspired theme providing a calming effect.
147
-
- `--dark-mode`: Enables dark mode for the user interface.
148
-
3. **Access the WebUI:** Open your web browser and navigate to `http://127.0.0.1:7788`.
149
-
4. **Using Your Own Browser(Optional):**
150
-
- Set `CHROME_PATH` to the executable path of your browser and `CHROME_USER_DATA` to the user data directory of your browser. Leave `CHROME_USER_DATA` empty if you want to use local user data.
- Open the WebUI in a non-Chrome browser, such as Firefox or Edge. This is important because the persistent browser context will use the Chrome data when running the agent.
164
-
- Check the "Use Own Browser" option within the Browser Settings.
165
-
5. **Keep Browser Open(Optional):**
166
-
- Set `CHROME_PERSISTENT_SESSION=true`in the `.env` file.
167
-
168
-
### Docker Setup
169
-
1. **Environment Variables:**
170
-
- All configuration is done through the `.env` file
171
-
- Available environment variables:
172
-
```
173
-
# LLM API Keys
174
-
OPENAI_API_KEY=your_key_here
175
-
ANTHROPIC_API_KEY=your_key_here
176
-
GOOGLE_API_KEY=your_key_here
177
-
178
-
# Browser Settings
179
-
CHROME_PERSISTENT_SESSION=true # Set to true to keep browser open between AI tasks
0 commit comments