Browser-use web ui の超簡単セットアップメモ

BLUE💙BLUE💙
1 min read

前提

  • Mac

  • fish

    • bash, zsh でもOK
  • Homebrew

Install

mkdir browser-use
git clone https://github.com/browser-use/web-ui.git
cd web-ui

Python

  • 仮想環境のアクティベートは、bash, zsh || fish で違う
brew install uv

uv venv --python 3.11

# bash, zsh
source .venv/bin/activate

# fish
source .venv/bin/activate.fish

Package

uv pip install -r requirements.txt
playwright install

.env

cp .env.example .env

# OPENAI_API_KEY=your_api_key_here

Run

python webui.py --ip 127.0.0.1 --port 7788

ollama (optional)

  1. qwen2.5 を利用しても動いた!
# qwen2.5:7b を明示的に指定
ollama run qwen2.5:7b

ollama の対応モデルが増えるととても嬉しいなぁ〜。

0
Subscribe to my newsletter

Read articles from BLUE💙 directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

BLUE💙
BLUE💙

無職