Extract webpages from a Chrome bookmark folder (based on the user-provided folder name) and produce structured summaries.
AI Research)exact or contains)python3 "scripts/extract_chrome_bookmarks.py" --folder "AI Research"
Common options:
# Fuzzy folder-name matching
python3 "scripts/extract_chrome_bookmarks.py" --folder "AI" --match-mode contains
# If multiple folders share the same name, return only the first match
python3 "scripts/extract_chrome_bookmarks.py" --folder "AI Research" --pick-first
# Extract only direct links (no subfolders)
python3 "scripts/extract_chrome_bookmarks.py" --folder "AI Research" --non-recursive
ok=false: return a clear error to the user (folder not found, invalid path, etc.)ok=true: read results[].urls[] for downstream summarization## Folder: {folder_name}
### 1) {page_title}
- URL: {url}
- Core takeaway: {summary}
- Key points:
- {point_1}
- {point_2}
- {point_3}
- Relevance: {relevance}
### 2) {page_title}
...
## Cross-Page Summary
- Shared themes: ...
- Differences: ...
- Suggested reading order: ...
~/Library/Application Support/Google/Chrome/Default/BookmarksBookmarks file path and pass it with --bookmarks.--pick-first to keep only one.共 1 个版本