refactor: rename to research-workbench, update cloudflared to research.ampbox.io
- Renamed repo from car-help to research-workbench - Remote now points to git.ampbox.io/ken/research-workbench - cloudflared: research.ampbox.io (app) + vnc.ampbox.io (browser) - Updated all references from browser.ampbox.io to research.ampbox.io
This commit is contained in:
@@ -1,42 +1,22 @@
|
|||||||
# Car Help
|
# Research Workbench
|
||||||
|
|
||||||
Used car search tool for finding Jude a reliable hybrid (HEV) in the Woodinville, WA area. Budget: $8-10K.
|
AI-powered research tool: chat + live browser + artifacts. Backed by amplifierd.
|
||||||
|
|
||||||
## Two Modes
|
See [DESIGN.md](DESIGN.md) for the full architecture.
|
||||||
|
|
||||||
### Headless (fast, no interaction)
|
## Quick Start
|
||||||
|
|
||||||
Runs Chromium headless. Good for sites that don't need login. Skips Facebook Marketplace.
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
uv sync
|
# Build
|
||||||
uv run playwright install chromium
|
docker build -t research-workbench .
|
||||||
uv run python search.py
|
|
||||||
|
# Run
|
||||||
|
docker run -d --name research-workbench \
|
||||||
|
-p 8080:8080 \
|
||||||
|
-p 6080:6080 \
|
||||||
|
-e ANTHROPIC_API_KEY="$ANTHROPIC_API_KEY" \
|
||||||
|
research-workbench
|
||||||
```
|
```
|
||||||
|
|
||||||
### Headed via noVNC (interactive, for logins/CAPTCHAs)
|
**research.ampbox.io** -- the app
|
||||||
|
**vnc.ampbox.io** -- the live browser
|
||||||
Runs Chromium inside Docker with a virtual display. Open the browser view in any web browser when you need to interact (login, solve CAPTCHAs, apply filters manually).
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Build once
|
|
||||||
docker build -t car-help .
|
|
||||||
|
|
||||||
# Run (browser visible at http://localhost:6080/vnc.html)
|
|
||||||
docker run -d --name car-help -p 6080:6080 -v $(pwd)/results:/app/results car-help
|
|
||||||
|
|
||||||
# Run a search (headed -- includes Facebook Marketplace)
|
|
||||||
docker exec -it car-help uv run python search.py
|
|
||||||
|
|
||||||
# View the browser live
|
|
||||||
open http://localhost:6080/vnc.html
|
|
||||||
|
|
||||||
# Stop
|
|
||||||
docker stop car-help && docker rm car-help
|
|
||||||
```
|
|
||||||
|
|
||||||
Results are saved to `results/search_<timestamp>.json`.
|
|
||||||
|
|
||||||
## Sites
|
|
||||||
|
|
||||||
See `sites.yaml` for the full list of car search sites, search parameters, and target models.
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
"""
|
"""
|
||||||
Car search crawler -- finds used cars based on dynamic parameters.
|
Car search crawler -- finds used cars based on dynamic parameters.
|
||||||
Always runs headed on Xvfb. View live at browser.ampbox.io.
|
Always runs headed on Xvfb. View live at research.ampbox.io.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
python search.py # runs default hardcoded search
|
python search.py # runs default hardcoded search
|
||||||
|
|||||||
Reference in New Issue
Block a user