Skip to content

Add Blazwitcher - Fuzzy Chrome Search - #32429

Merged
raycastbot merged 4 commits into
raycast:mainfrom
Julian0197:ext/blazwitcher-raycast
Nov 4, 2026
Merged

raycastbot merged 4 commits into
raycast:mainfrom
Julian0197:ext/blazwitcher-raycast

Conversation

@Julian0197

@Julian0197 Julian0197 commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Description

Blazwitcher brings Chinese/Pinyin and English fuzzy search to Chrome tabs, bookmarks, and history in Raycast. Run Search Browser to find a page by what you remember of its title or domain, then switch to its tab or reopen it with Enter.

This is the Raycast edition of the existing Blazwitcher Chrome extension, built around the same text-search-engine matching library and adapted to Raycast's native list, Actions, preferences, and keyboard shortcuts.

Chinese, Pinyin, and English fuzzy search

Use Chinese characters, full Pinyin, Pinyin initials, English, or a mixture in the same query. Space-separated words can match across the title and domain in any order; more consecutive matches rank higher.

The recordings demonstrate narrowing similar pages, rather than matching a single distinctive title:

Query What it finds in the demo
sxw → sxwlx Three “上下文” pages → “上下文类型” (Context Types) using Pinyin initials
shangxiawen → shangxiawen tq The same three pages → “上下文提取” (Context Extraction) using full Pinyin plus initials
kuaisu rm claude.com “快速入门” (Quickstart) on Claude's domain; rm claude.com kuaisu finds the same page
skills github.com → skills github.com openai Narrows similar English Skills pages, with openai/skills ranked first

Search is debounced, with the previous results retained while the next query finishes to reduce flicker.

Tabs, bookmarks, and history in one command

Search all three together, or narrow the source without leaving the command:

Prefix Source Default shortcut
/t Open tabs ⌘⇧1
/b Bookmarks ⌘⇧2
/h History ⌘⇧3

The source dropdown provides the same filters; ⌘⇧0 returns to all sources. Source changes preserve the search keywords. Open tabs retain their Chrome group labels, and bookmark/history results can be scoped to a selected Chrome profile or all profiles.

Customize search and keyboard behavior

Open Actions → Extension Preferences to configure:

  • Search Mode: title/domain matching aligned with the Chrome edition, or Full URL Search to also match paths, query parameters, and fragments.
  • Strict Search: require consecutive English-character matches while retaining Chinese Pinyin and initials.
  • History scope: date range and number of recent records to read.
  • Result counts: history results, bookmark results, and Top Suggestions.
  • Startup Cache and inclusion of Incognito Tabs.

Actions → Shortcut Settings lets users customize additional shortcuts and restore defaults. Enter focuses an existing tab or opens a saved/visited page in its source profile; ⌘Enter opens a new tab, ⇧Enter uses the captured current tab, and ⌘C copies the full URL.

Optional ⌘D page-content preview

With the official Raycast Browser Extension installed and enabled in Chrome, ⌘D opens the detail panel with extracted page text, matched title/URL highlights, and a Tab/History/Bookmark badge. Bookmarks and history show metadata only. Basic search and navigation work without the companion extension.

Setup and data access

Supports Google Chrome on macOS. Allow Raycast to control Chrome when macOS prompts. Tabs and navigation use JXA through osascript; bookmarks are read from Chrome's local JSON files and history from its local SQLite database. Search runs locally, needs no API key, and does not send browsing data to a search or AI service. The optional startup cache stores a bounded bookmark/history snapshot locally for five minutes. The Chrome edition's AI tab grouping is not included in this Raycast extension.

Screencast

Recorded in the dedicated raycast-blaz Chrome profile using public documentation and open-source projects. GIF demonstrations are included in the Store README.

Pinyin initials and full Pinyin

Pinyin search narrowing similar Chinese titles

English project and domain search

English search narrowing similar Skills tabs

Additional demonstrations: word order and domain matching, /b and /h filters, ⌘D page preview, and search preferences.

Three 2000 × 1250 Store screenshots are included in metadata/.

Validation and source

  • The Store files in extensions/blazwitcher/ are generated from source master 5e527ad and recorded in production 264eeda. The submitted extension tree matches that production commit exactly; all 36 runtime source files match master.
  • Clean source verification with Node.js 26.8.2 passed: isolated distribution build, TypeScript, 163 tests, official Raycast lint, ESLint, and Prettier.
  • The generated package independently passed npm ci --ignore-scripts --no-audit --no-fund, official Raycast lint, distribution build, and TypeScript. Retained dependency versions are unchanged.
  • Tests, diagnostic tools, planning documents, developer documentation, and the Chinese README remain in master. The Store package uses the five standard scripts and a README focused on setup and usage.
  • Prior native Raycast verification (October 16) covered Pinyin/English searches, source filters, Chrome navigation, and extracted page previews. The October 18 hidden-preview shortcut fix from source PR #22 was verified with six component/configuration tests. This packaging update leaves runtime code unchanged; native UI was not re-tested.

Checklist

- Merge pull request raycast#21 from cjinhuo/codex/store-media-20261016
- docs(store): 📝 require merged master for publication
- chore(merge): 🔀 sync Store docs with master
- Merge pull request raycast#19 from cjinhuo/feat/preview-match-highlights
- chore(merge): 🔀 resolve preview PR against master
- docs(media): 📝 clarify Store screenshot window framing
- docs(media): 📝 refresh Store demos from latest master
- Merge pull request raycast#20 from cjinhuo/feat/preview-svg-source-tags
- feat(preview): ✨ render highlighted previews with source tags
- fix(preview): 🐛 use native padded match highlights
- feat(preview): ✨ highlight matched title and URL text
- Merge pull request raycast#18 from cjinhuo/codex/store-ready
- fix(check): 🐛 generate Raycast types before validation
- fix(search): 🐛 address initial Raycast Store review
- docs(store): 📝 更新英文演示与商店截图
- docs(profiles): 📝 说明多配置搜索范围与默认行为
- feat(store): ✨ 准备 Raycast 英文界面与发布配置
- Merge pull request raycast#17 from cjinhuo/codex/readme-store
- docs(media): 📝 补齐录制后的原生恢复验证
- docs(readme): 📝 重录拼音搜索与功能演示
- fix(deps): 🐛 使用公共 npm 源锁定测试依赖
- fix(search): 🐛 防抖输入并避免来源切换时列表闪烁
- docs(readme): 📝 完善中英文 README 与功能演示素材
- Merge pull request raycast#16 from cjinhuo/codex/chrome-search-parity
- feat(search): ✨ 对齐 Chrome 搜索并开放参数配置
- Merge pull request raycast#15 from Julian0197/codex/raycast-multi-field
- fix(search): 🐛 迁移多字段 SDK 并修复 Unicode 漏搜
- Merge pull request raycast#14 from Julian0197/codex/preview-entry
- fix(preview): 🐛 兼容 Tinycast 并优化预览菜单入口
- Merge pull request raycast#12 from Julian0197/codex/history-bookmark-icons
- test(browser): ✅ 同步主分支并补齐图标缓存回归
- Merge pull request raycast#13 from Julian0197/codex/detail-preview-trial
- test(preview): ✅ 补齐详情读取与结果操作的仓库回归
- docs(preview): 📝 补充详情预览实拍与使用说明
- feat(preview): ✨ 添加可选详情预览试用版
- fix(browser): 🐛 补齐书签和历史网页图标
- feat(search): ✨ 统一入口并支持结果操作与快捷键配置
- Merge pull request raycast#10 from Julian0197/codex/local-favicons
- feat(browser): ✨ 接入可选浏览器图标 Adapter
- Merge pull request raycast#9 from Julian0197/codex/deduplicate-search-results
- Merge pull request raycast#8 from Julian0197/codex/search-sections-tab-groups
- fix(search): 🐛 对齐 Chrome 扩展的跨来源去重
- feat(search): ✨ 展示最优建议和 Chrome 标签组
- Merge pull request raycast#7 from Julian0197/codex/update-dependencies
- merge: 合入 master 并解决 README 验证说明冲突
- perf(browser): ⚡️ 加快启动并渐进展示搜索结果 (raycast#6)
- fix(browser): 🐛 稳定统一搜索首屏顺序并补充安装说明
- chore(deps): ⬆️ 更新 Raycast API 并移除未使用依赖
- feat(history): ✨ 显示最近访问时间 (raycast#5)
- fix(search): 🐛 优先标题拼音命中并补回重叠词结果 (raycast#4)
- feat(search): ✨ 支持保留关键词的来源快捷切换 (raycast#1)
- perf(browser): ⚡️ 独立加载书签与历史记录 (raycast#3)
- fix(browser): 🐛 保留配置切换期间刷新的目标配置 (raycast#2)
- feat: ✨ 初始化 Blazwitcher Raycast 拼音搜索扩展
@raycastbot raycastbot added the new extension Label for PRs with new extensions label Oct 16, 2026
@raycastbot

Copy link
Copy Markdown
Collaborator

Congratulations on your new Raycast extension! 🚀

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days.

Once the PR is approved and merged, the extension will be available on our Store.

@Julian0197 Julian0197 changed the title Add blazwitcher-raycast extension Add Blazwitcher — Chinese/Pinyin and English fuzzy browser search Oct 16, 2026
@Julian0197
Julian0197 marked this pull request as ready for review October 16, 2026 06:06
@socket-security

socket-security Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​text-search-engine@​1.6.08310010088100

View full report

@greptile-apps

greptile-apps Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge, with no outstanding findings.

Summary

Adds Blazwitcher, a local Chrome search extension for Raycast.

  • Search Browser finds Chrome pages from remembered words and source filters.
  • Search results come from local Chrome data and lead back to their pages.
  • A selected Chrome tab can show its page text and matching highlights.
  • People can set extra keyboard shortcuts for browser actions.
  • The Blazwitcher extension includes its own build and legal files.

Reviews (4) · Last reviewed commit: "Update CHANGELOG.md and optimise images" · Reviewed by Greptile

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Julian0197 👋

Thanks for your contribution 🔥 Bringing Blazwitcher's Pinyin and initials matching to Chrome tabs, bookmarks and history is a really nice touch for Chinese-speaking users, and the detailed PR description and demos made this easy to review.

Here's everything I found in this pass:

Blocking

  • Please remove the agent and planning files from the extension: AGENTS.md, CONTRIBUTING.md, the openspec/ folder and the docs/ folder (plans, verification notes, store-submission notes and screenshots). The extension should only ship what users need.
  • Please remove the tests/ folder and scripts/inspect-local.ts, along with the test, test:local and check scripts and the tsx dev dependency. Keep only the standard build, dev, lint, fix-lint and publish scripts.
  • Please remove the "Install and get started" developer steps (git clone, npm install, npm run dev) and the "Contribute" section from the README. The Store README is for users, so it should only cover setup (the Chrome automation permission) and usage. The links to docs/ should go too, since that folder is being removed. Any developer docs can stay in your own repository.

As mentioned in our docs here ↗

Optional

  • All three screenshots show the mouse cursor with a highlight halo near the search bar. Retaking them without the cursor would look cleaner.
  • The README links to .mp4 files that the Store can't play inline, and media/ is about 4 MB. The GIFs already show the same flows, so you could drop the MP4s.
  • The Store only renders README.md, so README.zh-CN.md won't be visible there. It's fine to keep it in your own repository instead.
  • The -raycast suffix in "name": "blazwitcher-raycast" is redundant inside the Store. blazwitcher would be enough, with the folder renamed to match.
  • Blazwitcher on its own doesn't say what the extension does. A title like Blazwitcher - Pinyin Browser Search would help people find it.
  • Since the Raycast edition lives in @cjinhuo's repository, you could add cjinhuo to contributors in package.json.
  • A few places build failure toasts by hand (search-browser.tsx:194, browser-actions.tsx:62, shortcut-settings.tsx:56). showFailureToast from @raycast/utils would keep these consistent and shorter.

Feel free to reach me here or on Slack if anything is unclear.

@0xdhrv
0xdhrv marked this pull request as draft October 26, 2026 05:24
@0xdhrv 0xdhrv self-assigned this Oct 26, 2026
@Julian0197 Julian0197 changed the title Add Blazwitcher — Chinese/Pinyin and English fuzzy browser search Add Blazwitcher - Fuzzy Chrome Search Oct 26, 2026
@Julian0197

Copy link
Copy Markdown
Contributor Author

Thanks for the detailed review! I’ve addressed the three blocking items: the submission now contains only Store files, uses the five standard scripts, and has a README focused on permissions and usage. Tests and development docs stay in the source repository.

I also removed the duplicate MP4s and Chinese README from the submission, renamed the extension to blazwitcher, and updated the title to Blazwitcher - Fuzzy Chrome Search to reflect its Chinese, English, and Pinyin fuzzy search support.

The Store package is generated from master into the production branch. The runtime source is unchanged, and the generated package passes Raycast lint and build.

@Julian0197
Julian0197 marked this pull request as ready for review October 31, 2026 12:18
@Julian0197

Copy link
Copy Markdown
Contributor Author

Hi @0xdhrv, a gentle follow-up on this PR. The three blocking items from your review have been addressed in 5a88084, and I marked the PR ready for review again on October 31. All checks are passing.

Could you please take another look when you have a chance? Happy to address any further feedback. Thanks for your time!

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved ✅

@raycastbot
raycastbot merged commit b321c02 into raycast:main Nov 4, 2026
2 checks passed
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new extension Label for PRs with new extensions platform: macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants