MCPcopy Index your code
hub / github.com/Snap-Mind/snap-mind

github.com/Snap-Mind/snap-mind @v0.5.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.5.3 ↗ · + Follow
503 symbols 1,198 edges 112 files 54 documented · 11%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

SnapMind

snapmind icon

思维的速度,AI 的力量

English | 简体中文

Discord X GitHub stars

License Release Download Conventional Branch Build and Release

SnapMind 是一款桌面 AI 助手,让你可以在系统的任意位置即时调用LLM。只需选中文本 + 按下快捷键,即可完成翻译、改写、总结、解释等任务 —— 无需切换应用,让工作流保持专注和顺畅。


功能特性

  • 极速响应 — 一键触发 AI,瞬间完成任务
  • 🎯 无缝体验 — 在任意应用中使用,不打断你的工作流
  • 🛠 高度定制 — 可为常用任务配置专属快捷指令
  • 🔌 多模型提供商 — 见下方已支持的模型

已支持的模型

OpenAI    Anthropic    Azure (OpenAI / Foundry)    Google Gemini    DeepSeek    Qwen

OpenAI · Anthropic · Azure (OpenAI / Foundry) · Google Gemini · DeepSeek · Qwen


使用场景

  • 即时翻译 — 快速翻译选中文本,支持多语言
  • 润色与改写 — 让文字更简洁、更专业、更流畅
  • 秒级总结 — 将长文、报告快速提炼成要点
  • 快速解释 — 高亮概念、术语或代码,立刻得到简单说明
  • 智能起草 — 生成邮件、回复或文本片段
  • 学习助手 — 检查语法、简化复杂表达,辅助理解
  • 即时头脑风暴 — 将笔记或想法转化为结构化的思路和行动方案

演示

SnapMind demo


安装

普通用户

前往 👉 snap-mind.github.ioReleases 下载最新安装包。

目前支持 macOSWindows

Windows上运行之前, 您需要以管理员权限运行此应用程序(右键以管理员身份运行)。

MacOS上安装应用程序后, 您需要在系统偏好设置中允许应用程序的权限。

  • 允许辅助功能权限,以便应用程序可以读取您选中的文本。
  • 允许钥匙串访问,以便应用程序可以存储您的 API 密钥。

开发者

克隆仓库:

git clone git@github.com:Snap-Mind/snap-mind.git

安装依赖:

npm install

启动开发环境:

npm run dev:electron

macOS打包:

npm run build:prod

Windows打包:

npm run build:win-prod

开源协议

Apache 2.0

Extension points exported contracts — how you extend this code

Provider (Interface)
(no doc) [2 implementers]
src/types/providers.d.ts
TextSelectionCallbacks (Interface)
(no doc)
electron/TextSelectionService.ts
ThemeServiceOptions (Interface)
(no doc)
electron/ThemeService.ts
AutoUpdateOptions (Interface)
(no doc)
electron/AutoUpdateService.ts
TokenCacheEntry (Interface)
(no doc)
electron/FoundryCliTokenService.ts
MergeOptions (Interface)
(no doc)
electron/utils/mergeDeep.ts
HotkeyPickerModalProps (Interface)
(no doc)
src/components/HotkeyPickerModal.tsx
SettingsGeneralProps (Interface)
(no doc)
src/pages/Settings/SettingsGeneral.tsx

Core symbols most depended-on inside this repo

sendMessage
called by 107
src/types/providers.d.ts
setupFetchMock
called by 105
test/utils/mockFetch.ts
mockFetchResponse
called by 80
test/utils/mockFetch.ts
info
called by 36
electron/LogService.ts
error
called by 34
electron/LogService.ts
listModels
called by 26
src/types/providers.d.ts
mockStreamingFetchResponse
called by 20
test/utils/mockFetch.ts
error
called by 20
src/services/LoggerService.ts

Shape

Function 247
Method 146
Interface 72
Class 38

Languages

TypeScript98%
C#2%

Modules by API surface

electron/SettingsService.ts30 symbols
src/types/providers.d.ts27 symbols
src/pages/ChatPopup/ChatPopup.tsx16 symbols
electron/LogService.ts14 symbols
main.ts13 symbols
electron/ThemeService.ts13 symbols
src/services/AutoUpdateManager.ts12 symbols
src/components/HotkeyRecorder.tsx12 symbols
helper/SelectedTextWin/SelectedText.cs12 symbols
electron/utils/mergeDeep.ts12 symbols
electron/AutoUpdateService.ts12 symbols
src/services/SettingsManager.ts11 symbols

For agents

$ claude mcp add snap-mind \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact