镜像自地址
https://github.com/lhly/search-syntax-pro.git
已同步 2026-10-20 14:27:47 +08:00
docs: 添加商店资产指南、隐私政策和商店发布内容文档
添加三个新文档: - STORE_ASSETS_GUIDE.md:商店资产准备指南,包含图片处理脚本使用说明 - PRIVACY.md:隐私政策文档,中英文双语版本 - STORE_LISTING_CONTENT.md:商店发布内容,包含描述、关键词和截图建议
这个提交包含在:
父节点
1d4f719c6f
当前提交
8c6a54f923
185
PRIVACY.md
普通文件
185
PRIVACY.md
普通文件
@ -0,0 +1,185 @@
|
|||||||
|
# 隐私政策 / Privacy Policy
|
||||||
|
|
||||||
|
> **SearchSyntax Pro** - 搜索语法大师
|
||||||
|
|
||||||
|
**最后更新日期**: 2025-11-12
|
||||||
|
**版本**: 1.0
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📜 中文版
|
||||||
|
|
||||||
|
### 1. 信息收集
|
||||||
|
|
||||||
|
**SearchSyntax Pro 不收集任何个人信息**。我们郑重承诺:
|
||||||
|
|
||||||
|
- ❌ **不收集**用户的个人身份信息
|
||||||
|
- ❌ **不收集**浏览历史或访问记录
|
||||||
|
- ❌ **不收集**搜索查询内容
|
||||||
|
- ❌ **不收集**任何可识别用户身份的数据
|
||||||
|
|
||||||
|
### 2. 数据存储
|
||||||
|
|
||||||
|
本扩展使用的所有数据**仅存储在您的本地设备**上:
|
||||||
|
|
||||||
|
- ✅ 搜索历史记录 - 存储在本地浏览器存储(Chrome Storage API)
|
||||||
|
- ✅ 用户设置(主题、语言等)- 存储在本地浏览器存储
|
||||||
|
- ✅ 自定义搜索模板 - 存储在本地浏览器存储
|
||||||
|
|
||||||
|
**本地存储说明**:
|
||||||
|
- 所有数据仅保存在您的设备上
|
||||||
|
- 数据不会同步到任何外部服务器
|
||||||
|
- 您可以随时在扩展设置中清除所有数据
|
||||||
|
|
||||||
|
### 3. 权限说明
|
||||||
|
|
||||||
|
本扩展请求的权限及其用途:
|
||||||
|
|
||||||
|
| 权限 | 用途 | 数据处理 |
|
||||||
|
|------|------|---------|
|
||||||
|
| `storage` | 保存搜索历史和用户设置 | 仅本地存储,不上传 |
|
||||||
|
| `activeTab` | 在当前标签页执行搜索 | 不读取或存储页面内容 |
|
||||||
|
| `contextMenus` | 提供右键菜单快捷搜索 | 仅处理选中文本,不存储 |
|
||||||
|
|
||||||
|
### 4. 第三方服务
|
||||||
|
|
||||||
|
**本扩展不使用任何第三方分析服务**:
|
||||||
|
|
||||||
|
- ❌ 无 Google Analytics
|
||||||
|
- ❌ 无统计追踪
|
||||||
|
- ❌ 无广告网络
|
||||||
|
- ❌ 无数据收集服务
|
||||||
|
|
||||||
|
**搜索引擎交互**:
|
||||||
|
- 当您点击"执行搜索"时,扩展会在新标签页打开相应的搜索引擎网站
|
||||||
|
- 此后的交互遵循该搜索引擎的隐私政策
|
||||||
|
- 本扩展不会拦截、记录或传输您与搜索引擎的交互数据
|
||||||
|
|
||||||
|
### 5. 数据安全
|
||||||
|
|
||||||
|
- ✅ 所有数据加密存储在本地浏览器存储中
|
||||||
|
- ✅ 扩展代码开源,接受社区审查
|
||||||
|
- ✅ 定期安全更新和维护
|
||||||
|
- ✅ 符合 Manifest V3 安全标准
|
||||||
|
|
||||||
|
### 6. 用户权利
|
||||||
|
|
||||||
|
您拥有完全的数据控制权:
|
||||||
|
|
||||||
|
- **查看数据**:所有本地数据可通过扩展设置查看
|
||||||
|
- **导出数据**:可导出搜索历史和设置为 JSON 文件
|
||||||
|
- **删除数据**:可在设置中一键清除所有本地数据
|
||||||
|
- **卸载扩展**:卸载扩展将自动删除所有本地存储的数据
|
||||||
|
|
||||||
|
### 7. 儿童隐私
|
||||||
|
|
||||||
|
本扩展不针对 13 岁以下儿童,且不会故意收集儿童的个人信息。
|
||||||
|
|
||||||
|
### 8. 政策更新
|
||||||
|
|
||||||
|
我们可能会不定期更新本隐私政策。重大变更时,我们会在扩展更新说明中通知用户。
|
||||||
|
|
||||||
|
### 9. 联系我们
|
||||||
|
|
||||||
|
如有任何隐私相关问题或疑虑,请联系:
|
||||||
|
|
||||||
|
- **Email**: lhlyzh@qq.com
|
||||||
|
- **GitHub Issues**: https://github.com/lhly/search-syntax-pro/issues
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📜 English Version
|
||||||
|
|
||||||
|
### 1. Information Collection
|
||||||
|
|
||||||
|
**SearchSyntax Pro does not collect any personal information**. We solemnly promise:
|
||||||
|
|
||||||
|
- ❌ **No collection** of personal identity information
|
||||||
|
- ❌ **No collection** of browsing history or access records
|
||||||
|
- ❌ **No collection** of search query content
|
||||||
|
- ❌ **No collection** of any user-identifiable data
|
||||||
|
|
||||||
|
### 2. Data Storage
|
||||||
|
|
||||||
|
All data used by this extension is **stored locally on your device only**:
|
||||||
|
|
||||||
|
- ✅ Search history - Stored in local browser storage (Chrome Storage API)
|
||||||
|
- ✅ User preferences (theme, language, etc.) - Stored in local browser storage
|
||||||
|
- ✅ Custom search templates - Stored in local browser storage
|
||||||
|
|
||||||
|
**Local Storage Notes**:
|
||||||
|
- All data is saved only on your device
|
||||||
|
- Data is not synced to any external servers
|
||||||
|
- You can clear all data at any time in extension settings
|
||||||
|
|
||||||
|
### 3. Permissions Explanation
|
||||||
|
|
||||||
|
Permissions requested by this extension and their purposes:
|
||||||
|
|
||||||
|
| Permission | Purpose | Data Processing |
|
||||||
|
|------------|---------|----------------|
|
||||||
|
| `storage` | Save search history and user settings | Local storage only, not uploaded |
|
||||||
|
| `activeTab` | Execute searches in current tab | Does not read or store page content |
|
||||||
|
| `contextMenus` | Provide right-click menu quick search | Only processes selected text, not stored |
|
||||||
|
|
||||||
|
### 4. Third-Party Services
|
||||||
|
|
||||||
|
**This extension does not use any third-party analytics services**:
|
||||||
|
|
||||||
|
- ❌ No Google Analytics
|
||||||
|
- ❌ No tracking statistics
|
||||||
|
- ❌ No advertising networks
|
||||||
|
- ❌ No data collection services
|
||||||
|
|
||||||
|
**Search Engine Interaction**:
|
||||||
|
- When you click "Execute Search", the extension opens the respective search engine website in a new tab
|
||||||
|
- Subsequent interactions follow that search engine's privacy policy
|
||||||
|
- This extension does not intercept, log, or transmit your interaction data with search engines
|
||||||
|
|
||||||
|
### 5. Data Security
|
||||||
|
|
||||||
|
- ✅ All data is encrypted and stored in local browser storage
|
||||||
|
- ✅ Extension code is open source, subject to community review
|
||||||
|
- ✅ Regular security updates and maintenance
|
||||||
|
- ✅ Complies with Manifest V3 security standards
|
||||||
|
|
||||||
|
### 6. User Rights
|
||||||
|
|
||||||
|
You have complete control over your data:
|
||||||
|
|
||||||
|
- **View Data**: All local data can be viewed through extension settings
|
||||||
|
- **Export Data**: Can export search history and settings as JSON files
|
||||||
|
- **Delete Data**: Can clear all local data with one click in settings
|
||||||
|
- **Uninstall Extension**: Uninstalling the extension automatically deletes all locally stored data
|
||||||
|
|
||||||
|
### 7. Children's Privacy
|
||||||
|
|
||||||
|
This extension is not directed to children under 13 and does not knowingly collect personal information from children.
|
||||||
|
|
||||||
|
### 8. Policy Updates
|
||||||
|
|
||||||
|
We may update this privacy policy from time to time. For significant changes, we will notify users in the extension update notes.
|
||||||
|
|
||||||
|
### 9. Contact Us
|
||||||
|
|
||||||
|
For any privacy-related questions or concerns, please contact:
|
||||||
|
|
||||||
|
- **Email**: lhlyzh@qq.com
|
||||||
|
- **GitHub Issues**: https://github.com/lhly/search-syntax-pro/issues
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📋 合规声明 / Compliance Statement
|
||||||
|
|
||||||
|
本扩展符合以下隐私和数据保护标准:
|
||||||
|
This extension complies with the following privacy and data protection standards:
|
||||||
|
|
||||||
|
- ✅ **GDPR** (General Data Protection Regulation)
|
||||||
|
- ✅ **CCPA** (California Consumer Privacy Act)
|
||||||
|
- ✅ **Microsoft Edge Add-ons 隐私政策要求**
|
||||||
|
- ✅ **Chrome Web Store 隐私政策要求**
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**项目主页 / Project Homepage**: https://github.com/lhly/search-syntax-pro
|
||||||
|
**开源协议 / License**: MIT
|
||||||
211
docs/STORE_ASSETS_GUIDE.md
普通文件
211
docs/STORE_ASSETS_GUIDE.md
普通文件
@ -0,0 +1,211 @@
|
|||||||
|
# 📐 商店资产准备指南
|
||||||
|
|
||||||
|
## 快速开始
|
||||||
|
|
||||||
|
### 1️⃣ 准备原始截图
|
||||||
|
|
||||||
|
将你的原始截图文件放到 `screenshots/` 目录:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir screenshots
|
||||||
|
# 将截图文件复制到此目录
|
||||||
|
```
|
||||||
|
|
||||||
|
支持的格式:PNG, JPG, JPEG, WebP
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### 2️⃣ 使用便捷命令处理
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# 处理商店截图 (1280x800)
|
||||||
|
npm run resize:screenshots
|
||||||
|
|
||||||
|
# 处理扩展徽标 (300x300)
|
||||||
|
npm run resize:logo
|
||||||
|
|
||||||
|
# 处理小促销磁贴 (440x280)
|
||||||
|
npm run resize:promo-small
|
||||||
|
|
||||||
|
# 处理大型促销磁贴 (1400x560)
|
||||||
|
npm run resize:promo-large
|
||||||
|
|
||||||
|
# 一键处理所有尺寸
|
||||||
|
npm run resize:all
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### 3️⃣ 获取处理后的文件
|
||||||
|
|
||||||
|
所有处理后的文件会保存在 `store-assets/` 目录,可以直接上传到商店。
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🎨 高级用法
|
||||||
|
|
||||||
|
### 自定义背景颜色
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# 白色背景(适合非透明图片)
|
||||||
|
node scripts/resize-screenshots.js screenshot ./screenshots ./store-assets --background=white
|
||||||
|
|
||||||
|
# 自定义 hex 颜色
|
||||||
|
node scripts/resize-screenshots.js screenshot ./screenshots ./store-assets --background=#F0F0F0
|
||||||
|
```
|
||||||
|
|
||||||
|
### 自定义对齐方式
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# 顶部对齐
|
||||||
|
node scripts/resize-screenshots.js screenshot ./screenshots ./store-assets --position=top
|
||||||
|
|
||||||
|
# 底部对齐
|
||||||
|
node scripts/resize-screenshots.js screenshot ./screenshots ./store-assets --position=bottom
|
||||||
|
|
||||||
|
# 左对齐
|
||||||
|
node scripts/resize-screenshots.js screenshot ./screenshots ./store-assets --position=left
|
||||||
|
|
||||||
|
# 右对齐
|
||||||
|
node scripts/resize-screenshots.js screenshot ./screenshots ./store-assets --position=right
|
||||||
|
|
||||||
|
# 居中对齐(默认)
|
||||||
|
node scripts/resize-screenshots.js screenshot ./screenshots ./store-assets --position=center
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📏 支持的预设尺寸
|
||||||
|
|
||||||
|
| 预设名称 | 尺寸 | 用途 | 命令 |
|
||||||
|
|---------|------|------|------|
|
||||||
|
| `screenshot` | 1280x800 | 商店截图 | `npm run resize:screenshots` |
|
||||||
|
| `screenshot-small` | 640x400 | 小尺寸截图 | 需手动指定 |
|
||||||
|
| `logo` | 300x300 | 扩展徽标 | `npm run resize:logo` |
|
||||||
|
| `small-promo` | 440x280 | 小促销磁贴 | `npm run resize:promo-small` |
|
||||||
|
| `large-promo` | 1400x560 | 大型促销磁贴 | `npm run resize:promo-large` |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 💡 使用技巧
|
||||||
|
|
||||||
|
### 1. 批量处理不同类型的图片
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# 将不同类型的原始文件放到不同目录
|
||||||
|
mkdir screenshots/store-screenshots
|
||||||
|
mkdir screenshots/logos
|
||||||
|
mkdir screenshots/promos
|
||||||
|
|
||||||
|
# 分别处理
|
||||||
|
node scripts/resize-screenshots.js screenshot ./screenshots/store-screenshots ./store-assets
|
||||||
|
node scripts/resize-screenshots.js logo ./screenshots/logos ./store-assets
|
||||||
|
node scripts/resize-screenshots.js small-promo ./screenshots/promos ./store-assets
|
||||||
|
```
|
||||||
|
|
||||||
|
### 2. 预览处理效果
|
||||||
|
|
||||||
|
在处理前,先用单个文件测试:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir test-input test-output
|
||||||
|
cp your-screenshot.png test-input/
|
||||||
|
node scripts/resize-screenshots.js screenshot ./test-input ./test-output
|
||||||
|
# 检查 test-output/ 中的结果
|
||||||
|
```
|
||||||
|
|
||||||
|
### 3. 保持原图质量
|
||||||
|
|
||||||
|
脚本自动保持图片纵横比,只缩放到能完整显示在目标画布上的最大尺寸,不会拉伸变形。
|
||||||
|
|
||||||
|
### 4. 文件命名建议
|
||||||
|
|
||||||
|
为了便于管理,建议使用有意义的文件名:
|
||||||
|
|
||||||
|
```
|
||||||
|
screenshots/
|
||||||
|
├── main-interface.png → 主界面
|
||||||
|
├── advanced-search.png → 高级搜索
|
||||||
|
├── search-history.png → 搜索历史
|
||||||
|
├── settings-page.png → 设置页面
|
||||||
|
├── multi-engine-support.png → 多引擎支持
|
||||||
|
└── dark-theme.png → 深色主题
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🚨 常见问题
|
||||||
|
|
||||||
|
### Q: 图片太大,处理后文件太大怎么办?
|
||||||
|
|
||||||
|
A: 可以先用其他工具压缩图片,或者调整原图质量:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# 使用 ImageMagick 压缩
|
||||||
|
convert input.png -quality 85 -strip compressed.png
|
||||||
|
|
||||||
|
# 然后再用脚本处理
|
||||||
|
node scripts/resize-screenshots.js screenshot ./compressed ./output
|
||||||
|
```
|
||||||
|
|
||||||
|
### Q: 透明背景在某些地方显示为黑色?
|
||||||
|
|
||||||
|
A: 这通常是因为某些图片查看器不支持透明度。在浏览器或 Preview(预览)中打开可以正确显示透明背景。
|
||||||
|
|
||||||
|
### Q: 可以处理其他格式吗?
|
||||||
|
|
||||||
|
A: 支持 PNG, JPG, JPEG, WebP。输出统一为 PNG 格式(支持透明背景)。
|
||||||
|
|
||||||
|
### Q: 处理后的图片模糊?
|
||||||
|
|
||||||
|
A: 脚本只会缩小图片,不会放大。如果原图分辨率低于目标尺寸,建议使用更高分辨率的原图。
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📋 Microsoft Edge 商店要求速查
|
||||||
|
|
||||||
|
### 必需资产
|
||||||
|
|
||||||
|
- [x] **扩展徽标**: 300x300 像素(最小 128x128)
|
||||||
|
- [x] **屏幕截图**: 1280x800 或 640x400(最多 6 张)
|
||||||
|
- [x] **扩展描述**: 明确详细地描述功能
|
||||||
|
|
||||||
|
### 可选资产
|
||||||
|
|
||||||
|
- [ ] **小促销磁贴**: 440x280 像素
|
||||||
|
- [ ] **大型促销磁贴**: 1400x560 像素
|
||||||
|
- [ ] **YouTube 视频**: 演示视频 URL
|
||||||
|
- [ ] **搜索词**: 最多 7 个(每个 ≤30 字符)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🎬 完整工作流示例
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# 1. 创建目录结构
|
||||||
|
mkdir -p screenshots store-assets
|
||||||
|
|
||||||
|
# 2. 准备原始截图(手动截图或从其他工具导出)
|
||||||
|
# 将文件复制到 screenshots/
|
||||||
|
|
||||||
|
# 3. 批量处理
|
||||||
|
npm run resize:all
|
||||||
|
|
||||||
|
# 4. 验证结果
|
||||||
|
ls -lh store-assets/
|
||||||
|
|
||||||
|
# 5. 上传到 Microsoft Edge 商店
|
||||||
|
# 访问: https://partner.microsoft.com/zh-cn/dashboard/microsoftedge/
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🔗 相关资源
|
||||||
|
|
||||||
|
- [Microsoft Edge 扩展开发者指南](https://docs.microsoft.com/zh-cn/microsoft-edge/extensions-chromium/)
|
||||||
|
- [商店发布要求](https://docs.microsoft.com/zh-cn/microsoft-edge/extensions-chromium/publish/publish-extension)
|
||||||
|
- [Sharp 文档](https://sharp.pixelplumbing.com/)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**提示**: 如有问题或需要帮助,请参考项目 README 或提交 Issue。
|
||||||
426
docs/STORE_LISTING_CONTENT.md
普通文件
426
docs/STORE_LISTING_CONTENT.md
普通文件
@ -0,0 +1,426 @@
|
|||||||
|
# 📝 Microsoft Edge 商店发布内容
|
||||||
|
|
||||||
|
> 基于项目实际代码生成 - 版本 1.6.2
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🎯 **扩展描述(中文)**
|
||||||
|
|
||||||
|
### 完整版本(推荐)
|
||||||
|
|
||||||
|
```
|
||||||
|
SearchSyntax Pro - 专业搜索语法大师,让高级搜索触手可及
|
||||||
|
|
||||||
|
🌟 核心优势
|
||||||
|
• 10大搜索引擎全覆盖:百度、Google、Bing、Twitter、Reddit、GitHub、Stack Overflow、DuckDuckGo、Brave、Yandex
|
||||||
|
• 28种高级语法支持:site:、filetype:、intitle:、inurl:、日期范围、排除关键词、OR逻辑、通配符等
|
||||||
|
• 18个专业模板:学术论文、GitHub代码、技术博客、Twitter热点、产品评测、图片素材等开箱即用
|
||||||
|
• 智能建议系统:实时语法验证、搜索优化建议、错误提示
|
||||||
|
|
||||||
|
⚡ 强大功能
|
||||||
|
✓ 快捷键支持:Ctrl+Shift+F (Windows) / Cmd+Shift+F (Mac) 秒开搜索面板
|
||||||
|
✓ 历史管理:自动保存搜索记录,一键复制重用,支持导入导出
|
||||||
|
✓ 模板系统:内置学术、技术、新闻、社交、购物等6大分类18个模板
|
||||||
|
✓ 自定义快捷键:录制个人专属快捷键组合
|
||||||
|
✓ 深色/浅色主题:自动跟随系统或手动切换
|
||||||
|
✓ 完整国际化:中英文界面无缝切换
|
||||||
|
|
||||||
|
🎓 适用场景
|
||||||
|
• 学术研究:快速搜索 PDF 论文、Google Scholar 文献、最新研究成果
|
||||||
|
• 技术开发:GitHub 代码搜索、Stack Overflow 问答、官方文档查找、NPM 包检索
|
||||||
|
• 信息收集:Twitter 热点追踪、Reddit 社区讨论、最新新闻聚合
|
||||||
|
• 购物比价:产品评测、多平台价格对比
|
||||||
|
• 素材查找:高清图片、免费商用素材
|
||||||
|
|
||||||
|
🛡️ 隐私保护
|
||||||
|
• 所有数据仅存储在本地设备
|
||||||
|
• 不收集任何用户个人信息
|
||||||
|
• 不向第三方服务器传输数据
|
||||||
|
• 符合 GDPR 和隐私保护标准
|
||||||
|
|
||||||
|
🔧 技术亮点
|
||||||
|
• 基于 Manifest V3 最新标准
|
||||||
|
• React 18 + TypeScript 5 构建
|
||||||
|
• 完整的单元测试和E2E测试覆盖
|
||||||
|
• 12,000+ 行专业代码,采用适配器模式设计
|
||||||
|
• Vite 5 闪电构建,性能卓越
|
||||||
|
|
||||||
|
📦 安装即用
|
||||||
|
点击安装后,工具栏会出现扩展图标。点击图标或使用快捷键即可开始使用。无需额外配置,开箱即用。
|
||||||
|
|
||||||
|
无论你是研究人员、开发者、学生还是信息工作者,SearchSyntax Pro 都是你的高效搜索助手!
|
||||||
|
|
||||||
|
🔗 开源地址:https://github.com/lhly/search-syntax-pro
|
||||||
|
📧 反馈邮箱:lhlyzh@qq.com
|
||||||
|
```
|
||||||
|
|
||||||
|
### 简洁版本(如果字数有限制)
|
||||||
|
|
||||||
|
```
|
||||||
|
专业搜索语法工具,支持10大搜索引擎(百度、Google、Bing、Twitter、Reddit、GitHub等)和28种高级语法。内置18个专业搜索模板,涵盖学术、技术、新闻、社交、购物等场景。
|
||||||
|
|
||||||
|
核心功能:
|
||||||
|
✓ 快捷键快速打开 (Ctrl+Shift+F / Cmd+Shift+F)
|
||||||
|
✓ 智能语法生成和实时验证
|
||||||
|
✓ 搜索历史管理和一键复制
|
||||||
|
✓ 深色/浅色主题切换
|
||||||
|
✓ 中英文界面支持
|
||||||
|
✓ 完全本地存储,保护隐私
|
||||||
|
|
||||||
|
基于 Manifest V3 + React 18 + TypeScript 5 构建,专业、高效、安全。
|
||||||
|
|
||||||
|
开源项目:https://github.com/lhly/search-syntax-pro
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🌍 **扩展描述(英文)**
|
||||||
|
|
||||||
|
### 完整版本(推荐)
|
||||||
|
|
||||||
|
```
|
||||||
|
SearchSyntax Pro - Professional Search Syntax Master for Power Users
|
||||||
|
|
||||||
|
🌟 Core Advantages
|
||||||
|
• 10 Search Engines Supported: Baidu, Google, Bing, Twitter, Reddit, GitHub, Stack Overflow, DuckDuckGo, Brave, Yandex
|
||||||
|
• 28 Advanced Syntax Types: site:, filetype:, intitle:, inurl:, date range, exclude keywords, OR logic, wildcards, and more
|
||||||
|
• 18 Built-in Templates: Academic papers, GitHub code, tech blogs, Twitter trends, product reviews, image assets, ready to use
|
||||||
|
• Smart Suggestion Engine: Real-time syntax validation, search optimization tips, error alerts
|
||||||
|
|
||||||
|
⚡ Powerful Features
|
||||||
|
✓ Keyboard Shortcut: Ctrl+Shift+F (Windows) / Cmd+Shift+F (Mac) for instant access
|
||||||
|
✓ History Management: Auto-save search records, one-click copy & reuse, import/export support
|
||||||
|
✓ Template System: 18 templates across 6 categories (Academic, Tech, News, Social, Shopping, Media)
|
||||||
|
✓ Custom Shortcuts: Record your personalized key combinations
|
||||||
|
✓ Theme Support: Auto dark/light mode or manual toggle
|
||||||
|
✓ Full i18n: Seamless English/Chinese interface switching
|
||||||
|
|
||||||
|
🎓 Use Cases
|
||||||
|
• Academic Research: Quickly search PDF papers, Google Scholar citations, latest research
|
||||||
|
• Tech Development: GitHub code search, Stack Overflow Q&A, official docs, NPM packages
|
||||||
|
• Information Gathering: Twitter trending topics, Reddit discussions, latest news aggregation
|
||||||
|
• Shopping Comparison: Product reviews, multi-platform price comparison
|
||||||
|
• Asset Finding: HD images, free commercial-use stock photos
|
||||||
|
|
||||||
|
🛡️ Privacy Protection
|
||||||
|
• All data stored locally on your device
|
||||||
|
• No personal information collection
|
||||||
|
• No data transmission to third-party servers
|
||||||
|
• GDPR and privacy standard compliant
|
||||||
|
|
||||||
|
🔧 Technical Highlights
|
||||||
|
• Built on Manifest V3 latest standard
|
||||||
|
• React 18 + TypeScript 5 powered
|
||||||
|
• Full unit and E2E test coverage
|
||||||
|
• 12,000+ lines of professional code with adapter pattern design
|
||||||
|
• Vite 5 lightning-fast builds, exceptional performance
|
||||||
|
|
||||||
|
📦 Install & Use
|
||||||
|
After installation, the extension icon appears in your toolbar. Click the icon or use the shortcut to start. No configuration needed, works out of the box.
|
||||||
|
|
||||||
|
Whether you're a researcher, developer, student, or information worker, SearchSyntax Pro is your efficient search companion!
|
||||||
|
|
||||||
|
🔗 Open Source: https://github.com/lhly/search-syntax-pro
|
||||||
|
📧 Feedback: lhlyzh@qq.com
|
||||||
|
```
|
||||||
|
|
||||||
|
### 简洁版本
|
||||||
|
|
||||||
|
```
|
||||||
|
Professional search syntax tool supporting 10 search engines (Baidu, Google, Bing, Twitter, Reddit, GitHub, etc.) with 28 advanced syntax types. Includes 18 built-in templates for academic, tech, news, social, and shopping scenarios.
|
||||||
|
|
||||||
|
Core Features:
|
||||||
|
✓ Quick access via keyboard shortcut (Ctrl+Shift+F / Cmd+Shift+F)
|
||||||
|
✓ Smart syntax generation with real-time validation
|
||||||
|
✓ Search history management and one-click copy
|
||||||
|
✓ Dark/Light theme toggle
|
||||||
|
✓ English/Chinese interface support
|
||||||
|
✓ Fully local storage, privacy-focused
|
||||||
|
|
||||||
|
Built with Manifest V3 + React 18 + TypeScript 5. Professional, efficient, and secure.
|
||||||
|
|
||||||
|
Open Source: https://github.com/lhly/search-syntax-pro
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🔍 **搜索词(Keywords)**
|
||||||
|
|
||||||
|
### 中文市场(7个)
|
||||||
|
|
||||||
|
**版本 1 - 功能导向**
|
||||||
|
```
|
||||||
|
1. 搜索语法
|
||||||
|
2. 高级搜索
|
||||||
|
3. 搜索工具
|
||||||
|
4. GitHub搜索
|
||||||
|
5. Twitter搜索
|
||||||
|
6. 学术搜索
|
||||||
|
7. 快捷搜索
|
||||||
|
```
|
||||||
|
|
||||||
|
**版本 2 - 场景导向**
|
||||||
|
```
|
||||||
|
1. 搜索助手
|
||||||
|
2. 语法工具
|
||||||
|
3. 多引擎搜索
|
||||||
|
4. 开发者工具
|
||||||
|
5. 搜索优化
|
||||||
|
6. site搜索
|
||||||
|
7. 文件类型搜索
|
||||||
|
```
|
||||||
|
|
||||||
|
**版本 3 - 混合推荐** ⭐
|
||||||
|
```
|
||||||
|
1. 搜索语法
|
||||||
|
2. 高级搜索工具
|
||||||
|
3. GitHub搜索
|
||||||
|
4. 多引擎搜索
|
||||||
|
5. 开发者助手
|
||||||
|
6. 学术搜索
|
||||||
|
7. 搜索优化
|
||||||
|
```
|
||||||
|
|
||||||
|
### 英文市场(7个)
|
||||||
|
|
||||||
|
**版本 1 - 功能导向**
|
||||||
|
```
|
||||||
|
1. search syntax
|
||||||
|
2. advanced search
|
||||||
|
3. search tool
|
||||||
|
4. github search
|
||||||
|
5. twitter search
|
||||||
|
6. academic search
|
||||||
|
7. quick search
|
||||||
|
```
|
||||||
|
|
||||||
|
**版本 2 - 场景导向**
|
||||||
|
```
|
||||||
|
1. search helper
|
||||||
|
2. syntax builder
|
||||||
|
3. multi-engine search
|
||||||
|
4. developer tool
|
||||||
|
5. search optimizer
|
||||||
|
6. site search
|
||||||
|
7. filetype search
|
||||||
|
```
|
||||||
|
|
||||||
|
**版本 3 - 混合推荐** ⭐
|
||||||
|
```
|
||||||
|
1. search syntax
|
||||||
|
2. advanced search tool
|
||||||
|
3. github search
|
||||||
|
4. multi-engine
|
||||||
|
5. developer helper
|
||||||
|
6. academic search
|
||||||
|
7. search optimizer
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📊 **关键卖点对比分析**
|
||||||
|
|
||||||
|
### 与竞品的差异化优势
|
||||||
|
|
||||||
|
| 特性 | SearchSyntax Pro | 普通搜索扩展 |
|
||||||
|
|------|------------------|--------------|
|
||||||
|
| **搜索引擎数量** | 10个(含GitHub、Twitter等) | 通常 2-3个 |
|
||||||
|
| **语法支持** | 28种高级语法 | 5-8种基础语法 |
|
||||||
|
| **模板系统** | 18个内置专业模板 | 无或很少 |
|
||||||
|
| **快捷键** | 可自定义 + 快捷键提示 | 固定或无 |
|
||||||
|
| **技术栈** | Manifest V3 + React 18 + TS5 | 多为老旧技术 |
|
||||||
|
| **代码规模** | 12,000+ 行专业代码 | 通常 < 2000行 |
|
||||||
|
| **测试覆盖** | 完整单元测试 + E2E | 通常无测试 |
|
||||||
|
| **隐私保护** | 完全本地,无数据上传 | 部分上传数据 |
|
||||||
|
| **开源** | ✅ MIT 协议 | 多为闭源 |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🎯 **目标用户画像**
|
||||||
|
|
||||||
|
### 主要用户群体
|
||||||
|
|
||||||
|
1. **开发者/程序员** (35%)
|
||||||
|
- 需求:GitHub 代码搜索、Stack Overflow 问答、技术文档查找
|
||||||
|
- 痛点:频繁使用高级搜索语法,手写繁琐易错
|
||||||
|
- 价值:一键生成复杂语法,快捷键快速访问
|
||||||
|
|
||||||
|
2. **学术研究者/学生** (25%)
|
||||||
|
- 需求:学术论文检索、Google Scholar 搜索、文献综述
|
||||||
|
- 痛点:需要精确搜索特定格式(PDF)、时间范围的论文
|
||||||
|
- 价值:模板化学术搜索,提升研究效率
|
||||||
|
|
||||||
|
3. **信息工作者** (20%)
|
||||||
|
- 需求:新闻追踪、Twitter 热点、Reddit 讨论、产品评测
|
||||||
|
- 痛点:跨平台搜索繁琐,需要掌握不同平台的语法
|
||||||
|
- 价值:统一界面管理多平台搜索
|
||||||
|
|
||||||
|
4. **内容创作者** (10%)
|
||||||
|
- 需求:素材查找、免费图片、相关资料收集
|
||||||
|
- 痛点:搜索效率低,找不到高质量素材
|
||||||
|
- 价值:模板化素材搜索,提升创作效率
|
||||||
|
|
||||||
|
5. **一般用户** (10%)
|
||||||
|
- 需求:日常搜索优化、购物比价
|
||||||
|
- 痛点:不了解高级搜索语法
|
||||||
|
- 价值:可视化界面降低使用门槛
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 💡 **使用场景示例**
|
||||||
|
|
||||||
|
### 场景 1:开发者查找 React Hooks 代码示例
|
||||||
|
```
|
||||||
|
1. 按 Ctrl+Shift+F 打开扩展
|
||||||
|
2. 选择 "GitHub 代码搜索" 模板
|
||||||
|
3. 输入关键词:"useEffect cleanup"
|
||||||
|
4. 自动生成搜索:site:github.com useEffect cleanup language:TypeScript
|
||||||
|
5. 一键执行搜索,快速找到优质代码示例
|
||||||
|
```
|
||||||
|
|
||||||
|
### 场景 2:研究生查找机器学习最新论文
|
||||||
|
```
|
||||||
|
1. 选择 "最新学术成果" 模板
|
||||||
|
2. 输入关键词:"deep learning"
|
||||||
|
3. 自动生成:deep learning filetype:pdf after:2024-01-01
|
||||||
|
4. 精准获取最新PDF论文
|
||||||
|
```
|
||||||
|
|
||||||
|
### 场景 3:产品经理追踪 Twitter 热点
|
||||||
|
```
|
||||||
|
1. 选择 "Twitter 热门话题" 模板
|
||||||
|
2. 输入关键词:"AI chatbot"
|
||||||
|
3. 自动生成:AI chatbot min_retweets:100 min_faves:500 filter:links
|
||||||
|
4. 快速了解行业热门讨论
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📸 **截图建议(6张)**
|
||||||
|
|
||||||
|
### 推荐截图顺序和内容
|
||||||
|
|
||||||
|
1. **主界面 - 功能概览** ⭐ 最重要
|
||||||
|
- 展示:搜索框、引擎选择器、快捷键提示
|
||||||
|
- 标注:核心功能区域
|
||||||
|
|
||||||
|
2. **模板选择器 - 18个专业模板**
|
||||||
|
- 展示:模板分类、模板列表、模板详情
|
||||||
|
- 突出:丰富的模板选择
|
||||||
|
|
||||||
|
3. **高级语法配置 - 28种语法**
|
||||||
|
- 展示:site:、filetype:、intitle:、日期范围等
|
||||||
|
- 突出:强大的语法支持
|
||||||
|
|
||||||
|
4. **智能建议系统**
|
||||||
|
- 展示:实时语法验证、优化建议、查询预览
|
||||||
|
- 突出:智能化特性
|
||||||
|
|
||||||
|
5. **搜索历史管理**
|
||||||
|
- 展示:历史记录列表、一键复制、导入导出
|
||||||
|
- 突出:便捷的历史管理
|
||||||
|
|
||||||
|
6. **设置页面 - 可自定义**
|
||||||
|
- 展示:快捷键自定义、主题切换、语言切换
|
||||||
|
- 突出:灵活的个性化配置
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🎨 **促销磁贴文案建议**
|
||||||
|
|
||||||
|
### 小促销磁贴 (440x280)
|
||||||
|
|
||||||
|
**文案版本 1:功能导向**
|
||||||
|
```
|
||||||
|
SearchSyntax Pro
|
||||||
|
──────────────────
|
||||||
|
✓ 10大搜索引擎
|
||||||
|
✓ 28种高级语法
|
||||||
|
✓ 18个专业模板
|
||||||
|
✓ 快捷键快速访问
|
||||||
|
|
||||||
|
让高级搜索触手可及
|
||||||
|
```
|
||||||
|
|
||||||
|
**文案版本 2:场景导向**
|
||||||
|
```
|
||||||
|
搜索语法大师
|
||||||
|
──────────────────
|
||||||
|
学术研究 • 技术开发
|
||||||
|
信息收集 • 购物比价
|
||||||
|
|
||||||
|
专业工具,开箱即用
|
||||||
|
Ctrl+Shift+F 秒开
|
||||||
|
```
|
||||||
|
|
||||||
|
### 大型促销磁贴 (1400x560)
|
||||||
|
|
||||||
|
**布局建议**:
|
||||||
|
```
|
||||||
|
┌────────────────────────────────────────────────────┐
|
||||||
|
│ │
|
||||||
|
│ [扩展截图] SearchSyntax Pro - 搜索语法大师 │
|
||||||
|
│ │
|
||||||
|
│ ✓ 10大搜索引擎全支持 │
|
||||||
|
│ ✓ 28种高级语法一键生成 │
|
||||||
|
│ ✓ 18个专业模板开箱即用 │
|
||||||
|
│ ✓ 智能建议实时优化 │
|
||||||
|
│ ✓ 快捷键 Ctrl+Shift+F 秒开 │
|
||||||
|
│ │
|
||||||
|
│ 适用:开发者 • 研究者 • 学生 │
|
||||||
|
│ │
|
||||||
|
└────────────────────────────────────────────────────┘
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📋 **发布检查清单**
|
||||||
|
|
||||||
|
### 必需资产
|
||||||
|
- [ ] **扩展徽标** (300x300) - 使用 `npm run resize:logo`
|
||||||
|
- [ ] **屏幕截图** (1280x800, 6张) - 使用 `npm run resize:screenshots`
|
||||||
|
- [ ] 主界面功能概览
|
||||||
|
- [ ] 模板选择器
|
||||||
|
- [ ] 高级语法配置
|
||||||
|
- [ ] 智能建议系统
|
||||||
|
- [ ] 搜索历史管理
|
||||||
|
- [ ] 设置页面
|
||||||
|
- [ ] **扩展描述** - 使用本文档中文/英文版本
|
||||||
|
- [ ] **搜索词** - 从推荐版本中选择
|
||||||
|
|
||||||
|
### 可选资产
|
||||||
|
- [ ] **小促销磁贴** (440x280) - 使用 `npm run resize:promo-small`
|
||||||
|
- [ ] **大型促销磁贴** (1400x560) - 使用 `npm run resize:promo-large`
|
||||||
|
- [ ] **演示视频** - YouTube 链接(后续补充)
|
||||||
|
|
||||||
|
### 文案准备
|
||||||
|
- [ ] 中文描述已复制
|
||||||
|
- [ ] 英文描述已复制
|
||||||
|
- [ ] 搜索词已选定
|
||||||
|
- [ ] 促销文案已准备(如果需要磁贴)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🚀 **发布后优化建议**
|
||||||
|
|
||||||
|
### 第一周
|
||||||
|
- 监控下载量和用户反馈
|
||||||
|
- 快速响应用户问题和建议
|
||||||
|
- 收集功能改进意见
|
||||||
|
|
||||||
|
### 第一个月
|
||||||
|
- 根据用户反馈优化描述文案
|
||||||
|
- 调整搜索词以提升可发现性
|
||||||
|
- 准备演示视频(30-60秒)
|
||||||
|
|
||||||
|
### 持续优化
|
||||||
|
- 定期更新截图展示新功能
|
||||||
|
- 根据数据分析优化关键词
|
||||||
|
- 持续改进扩展功能
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**文档版本**: 1.0.0
|
||||||
|
**生成日期**: 2025-11-12
|
||||||
|
**基于项目版本**: 1.6.2
|
||||||
|
**代码行数**: 12,367 lines
|
||||||
@ -15,7 +15,12 @@
|
|||||||
"lint:fix": "eslint . --ext ts,tsx --fix",
|
"lint:fix": "eslint . --ext ts,tsx --fix",
|
||||||
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
|
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
|
||||||
"type-check": "tsc --noEmit",
|
"type-check": "tsc --noEmit",
|
||||||
"check-version": "node scripts/check-version.js"
|
"check-version": "node scripts/check-version.js",
|
||||||
|
"resize:screenshots": "node scripts/resize-screenshots.js screenshot ./screenshots ./store-assets",
|
||||||
|
"resize:logo": "node scripts/resize-screenshots.js logo ./screenshots ./store-assets",
|
||||||
|
"resize:promo-small": "node scripts/resize-screenshots.js small-promo ./screenshots ./store-assets",
|
||||||
|
"resize:promo-large": "node scripts/resize-screenshots.js large-promo ./screenshots ./store-assets",
|
||||||
|
"resize:all": "npm run resize:screenshots && npm run resize:logo && npm run resize:promo-small && npm run resize:promo-large"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@headlessui/react": "^2.2.9",
|
"@headlessui/react": "^2.2.9",
|
||||||
|
|||||||
正在加载...
在新工单中引用
屏蔽一个用户