Skip to content

ahaCode你的代码片段管理器

使用文件夹、标签和 AI 语义搜索来管理代码片段。免费、开源、本地优先、基于 Markdown。

ahaCode
Code Snippets
Build a reusable code library across projects and languages. Organize snippets with folders, tags, and fragments, then edit them with CodeMirror , format them with Prettier , preview HTML & CSS in real time, inspect JSON visually, and export polished screenshots when you need to share code.
AI / MCP Server
Search your snippet library with natural language from any MCP-compatible client — Claude Desktop, Cursor, Claude Code, Zed, and more. A built-in MCP server exposes semantic RAG search and snippet creation, powered by a local embedding model with zero API keys required.
Open & Local
Keep your data on your machine and in your control. Snippets are stored as plain Markdown files with YAML frontmatter, so syncing with iCloud, Dropbox, or Git stays simple and portable.
Localization
Use ahaCode in the language you are most comfortable with. The app is available in 15 languages, including English, Deutsch, Español, Français, Русский, 日本語, and 中文.
Custom Themes
Adapt ahaCode to your taste with full UI and editor syntax themes. Themes are stored as JSON files and hot-reload on change — create a new theme from Settings or drop one into the themes directory.

ahaCode 基于 AGPL v3 协议发布。Fork 自 massCode