massCode

massCodeIOAGPL-3.0活跃维护

本地优先的开发者工作台,把代码片段、笔记、HTTP 请求、计算和常用开发工具集中在一个应用里,省得在多个软件间来回切换。

A free, open-source developer workspace. Snippets, notes, HTTP requests, calculations, and dev tools in one local-first app.

v6.3.1发布于 2026-10-15 03:47 UTC7,106star +7 / 7 天282fork同步于 2026-11-10 05:33 UTC

怎么上手

从 README 代码块原样提取,可能是其中一种安装方式
pnpm install
pnpm build
pnpm build:mac    # macOS
pnpm build:win    # Windows
pnpm build:linux  # Linux
硬件要求

README 没有说明硬件要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

5 个版本v6.3.1
  1. v6.3.1最新正式版2026-10-15 · 2026-10-15 03:47 UTC

    Semantic Search

    The Command Palette can now find records by meaning, not only by the words they contain. It works across languages too: дорожная карта (Russian for "roadmap") finds a note named Orbit roadmap. Results by words appear as you type, and results by meaning are added below them after a short pause without reordering what is already shown. Each result shows why it was found (Matches the name, Has your words, By meaning, Words and meaning) and a short excerpt with matched words highlighted. Weaker matches are grouped under Possibly related, and create actions stay pinned at the bottom of the palette.

    Run Turn on semantic search from the Command Palette to download the built-in model (~210 MB). It runs offline, so your records and queries stay on this computer. massCode indexes snippets, notes and HTTP requests in the background and shows progress in the space rail. The index is not synced with your vault. The AI assistant uses the same search when it looks for records in the vault. Semantic search is not available on Intel Macs.

    MCP Editing and Organization

    The MCP server can now edit and organize your vault, not only read and create items. New tools let an agent update notes and snippets, move items to Trash and restore them, create, rename, move and delete folders, move items between folders, list the folder structure and read note backlinks. create_note and create_snippet now accept a folder and tags.

    Changes to existing items require the new Allow MCP to modify existing items preference. It is off by default for new users and turned on automatically if you already had MCP enabled. Edits are checked against the current revision of an item, so an agent cannot overwrite changes it has not seen. MCP never deletes items permanently and deletes only empty folders.

    Fixes

    • Fixed Command Palette Recent and navigation history showing records from the previous vault after switching vaults
    • Fixed records getting duplicate or reassigned ids during a full vault scan, for example when a file is copied in Finder
    • Fixed files renamed outside the app losing their id, and HTTP requests losing their history after an external rename
    • Fixed edits appearing as saved when the file write failed, for example on a full disk or missing permissions
    • Fixed a failed save after renaming or moving a note or snippet leaving it out of sync with the file on disk
    • Fixed vault files being truncated when a write fails midway; files are now written atomically

    What's Changed

  2. v6.2.16.2.12026-10-12 · 2026-10-12 03:48 UTC
    查看更新说明

    Security Release

    This release replaces v6.2.0, which was not published by the maintainer. On October 11, 2026, an attacker used a leaked GitHub token to publish a malicious v6.2.0 build that collected credentials, browser data and crypto wallets. It was available from 2026-10-11 20:35 UTC until about 2026-10-12 00:05 UTC.

    v6.2.1 is built from the restored code and contains no other changes since v6.1.0. If you are on v6.2.0, updating to this version removes the malicious build.

    If you ran v6.2.0, treat every secret on that machine as compromised: rotate SSH keys, GitHub, npm and cloud tokens and saved browser passwords, and move funds from any crypto wallet on that machine. You can check whether the malware ran by looking for the .runtime file in the massCode data folder. Details and instructions: #978.

    v6.1.0 and earlier are not affected.

    Full Changelog: https://github.com/massCodeIO/massCode/compare/v6.1.0...v6.2.1

  3. v6.1.02026-10-08 · 2026-10-08 02:18 UTC
    查看更新说明

    OpenRouter Provider

    The AI assistant now supports OpenRouter. Enter your OpenRouter API key to use models from many vendors through a single account, with requests billed to your OpenRouter balance. The model list includes only models with tool calling support, and model IDs use the vendor/model format, for example anthropic/claude-sonnet-5.5.

    See the AI Assistant guide for setup.

    Workflow Improvements

    • The AI assistant shows a clear message when a provider rejects your API key, and running out of credits on OpenRouter is reported as a quota error.
    • The AI assistant can handle larger multi-step requests in a single response.
    • Updated French translations.

    Fixes

    • Fixed pasting, dropping, and inserting images in Notes when using the default vault.
    • Fixed several other actions that failed on the default vault, including AI folder icon changes and their undo, undo for AI task cleanup, and exporting rendered artifacts.
    • Fixed AI HTTP actions resetting your current HTTP session, HTTP request previews ignoring session variables, and saved execution results not appearing in HTTP.
    • Fixed the Raycast and VS Code extensions being unable to read snippets when API integrations are enabled.
    • Fixed the AI assistant returning empty or partial results when listing workspace items with some models, such as OpenAI models through OpenRouter.
    • Kept the settings button and app version visible in the sidebar in short windows.

    What's Changed

    Full Changelog: https://github.com/massCodeIO/massCode/compare/v6.0.0...v6.1.0

  4. v6.0.02026-09-27 · 2026-09-27 10:09 UTC
    查看更新说明

    AI Assistant

    The built-in AI assistant carries out tasks across Code, Notes, and HTTP. Ask it to edit and format snippets, organize notes, update tasks, or run API workflows. Attach an open record or selected text, or let it find the relevant records in your vault. One conversation stays with you as you switch spaces.

    You can combine related steps in a single request:

    • “Add a five-second timeout to this function, update the usage fragment and format both.”
    • “Find overdue tasks and move them to Follow-up.”
    • “Run this collection, explain the failed checks and save a report in Notes.”

    Requested edits apply directly. Ask for a preview to inspect changes before applying them. Sending HTTP requests and running collections require confirmation; changes to an HTTP draft still need Save. The assistant waits for action results before continuing dependent steps. You can answer its questions, adjust an active task, queue another request, or stop it. Task Undo reverses supported changes while preserving unrelated manual edits; it cannot reverse network requests, exported files or permanent deletion.

    Connect your own OpenAI, Anthropic, Google Gemini, DeepSeek, Mistral, or xAI account, or use a local model through Ollama or LM Studio. Actions require a model with tool calling support. Cloud providers receive the context used for the task and bill through your API account. For local processing, use a model running on your computer.

    See the AI Assistant guide for setup and examples.

    MCP Integration

    Connect external coding agents to your massCode vault through Model Context Protocol. Search and read snippets, notes, and HTTP requests, or save a solution as a new snippet or note without leaving your coding workflow.

    Agents can also create HTTP collections and requests, update or move saved requests, preview their settings, send them using the active environment, and inspect saved execution history. Enable API integrations and MCP access in Preferences, then connect your client with an integration token. MCP is off by default and runs locally while massCode is open.

    See the MCP guide for setup and supported tools.

    Performance

    Searching large libraries and filtering HTTP collections now take less time. Here are the results with 10,000 items in each space.

    ActionLibrary sizeBeforeAfterTime reduction
    First search in Code10,000 snippets13,792 ms1,947 ms85.88%
    First search in Notes10,000 notes4,424 ms876 ms80.20%
    Search after editing a snippet¹10,000 snippets12,376 ms1.62 ms99.99%
    Search after editing a note¹10,000 notes4,434 ms0.75 ms99.98%
    Filter HTTP requests by an exact name10,000 requests22,110–24,014 ms7–13 ms99.94–99.97%
    Clear the filter to show all HTTP requests10,000 requests18,755 ms11–17 ms99.91–99.94%

    ¹ Search time after an edit has finished saving; saving time is excluded. First-search results include preparing the search index.

    Faster startup and a more responsive app

    Startup checks and initial search indexing now run in smaller batches. You can switch spaces while the first search is being prepared, or change your query without an older result replacing the new one. Notes also skips unnecessary startup scans when there are no legacy attachments to migrate.

    In focused tests with 10,000 items per space, the longest measured processing pauses during first-search preparation fell from 3,224 to 33 ms in Code and from 673 to 11 ms in Notes. These measure interruptions to the app's ability to handle other work, not the total search time or input-to-screen delay.

    Startup was measured again using the

  5. v5.12.02026-09-14 · 2026-09-14 22:53 UTC
    查看更新说明

    Planned Links

    Plan notes, snippets, and HTTP requests directly from the internal link picker in Notes. Insert a placeholder for an item you intend to create and keep writing without interrupting your work.

    When you are ready, hold Cmd on macOS or Ctrl on Windows/Linux and click the placeholder to create the item and open it in Notes, Code, or HTTP. The placeholder becomes a regular link, and Back takes you to your note.

    Note Inspector

    The new Note inspector brings Outline, Links, and Annotations into a resizable panel beside your note. Navigate headings or drag entire sections to reorder and nest them in Raw and Live Preview.

    Inspect linked items, external addresses, planned placeholders, and missing targets in one place. Filter links by status or space, jump to their occurrences, and find Todo, Note, Important, and Warning callouts as you write.

    Shared Navigation History

    Back and Forward now share a session history across Notes, Code, and HTTP. Items opened from lists, search, Command Palette, Recent, and internal links all become part of the same navigation path.

    Revisit items across spaces using the editor buttons or History menu. Returning to a note restores its scroll position, and deleted items are skipped.

    Fixes

    • Preserved editor focus and pending description edits when renaming snippets during autosave in Code.
    • Fixed decimal values being interpreted as dates and parenthesized expressions being removed as comments in Math Notebook.
    • Prevented result flicker when switching sheets in Math Notebook.
    • Removed expression highlighting from comment lines in Math Notebook.
    • Removed extra spacing inside quotation marks in fragment menus.

    What's Changed

    Full Changelog: https://github.com/massCodeIO/massCode/compare/v5.11.0...v5.12.0

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Support

    massCode is free and open source. But building and maintaining a quality tool takes time. Your support helps keep development going and new features coming.

    Open Collective PayPal Gumroad

    About

    Originally a snippet manager, massCode now brings together snippets, notes, HTTP requests, calculations, drawings, and developer tools in one desktop app, so everyday work stays in one place.

    Features

    Code Snippets

    Use massCode as a focused snippet workspace with multi-level folders, tags, and fragments for organizing reusable code across projects and languages.

    • 160+ syntax grammars out of the box (600+ supported via .tmLanguage)
    • Integrated Prettier for code formatting
    • Real-time HTML & CSS preview for quick prototyping
    • JSON Visualizer for exploring nested structures as interactive graphs
    • Export snippets as polished images with customizable themes

    Notes

    Write longer markdown documents right next to your snippets: project docs, drafts, research notes, and personal knowledge bases.

    • Task notes with status, priority, due dates, and Today / Upcoming / Completed views
    • Completed task cleanup and auto-clean scheduling
    • Dashboard with activity overview, recent notes, top linked notes, and a notes graph preview
    • Editor, Live Preview, and Preview modes
    • Editable markdown tables with row and column controls
    • Internal links to notes, snippets, and HTTP requests, with placeholders for items you plan to create later
    • Note inspector with section navigation and reordering, link filters, and grouped callouts
    • Fullscreen notes graph for exploring internal links between notes
    • Integrated Mermaid diagrams
    • Mind maps generated from markdown heading structure
    • Fullscreen presentation mode for demos and meetings
    • Callout blocks, including TODOs for unfinished writing, and image embedding

    HTTP Client

    Build and test API workflows alongside your code snippets and project notes.

    • Send HTTP and GraphQL requests and exchange WebSocket messages
    • Organize collections and nested folders with shared auth, headers, variables, and scripts
    • Switch environments, protect tokens with local secret variables, and pass response values between requests
    • Check responses with assertions and JavaScript tests, then run collections or folders in sequence
    • Edit query parameters, headers, authentication, and JSON, text, form, or file payloads
    • Generate request code for 20 languages and runtimes, including cURL
    • Inspect responses and saved history, debug traffic in Console, and manage cookies and transport settings
    • Import collections from OpenAPI, Postman, and Bruno

    See the HTTP documentation to get started.

    Math Notebook

    A calculator-style notebook for natural-language calculations, conversions, and date math without leaving your workflow.

    • Arithmetic, percentages, unit conversions, and date/time math
    • 166+ fiat currencies, 21 cryptocurrencies with live exchange rates
    • Variables, functions, and aggregates for quick iterative calculations
    • Finance calculations (compound interest, ROI, loan repayment)

    Drawings

    Sketch diagrams, wireframes, and whiteboard ideas on an Excalidraw-powered canvas next to your snippets and notes.

    • Searchable list of drawings with keyboard navigation
    • Pan and zoom remembered per drawing, with fit-to-content to recenter
    • Export drawings as images
    • Embed drawings directly in your markdown notes

    Developer Tools

    Built-in utilities for the small tasks that usually send you to a browser tab:

    • Compare: JSON Diff
    • Text: Case Converter, Slug Generator, URL Parser, Line Break Normalizer
    • Crypto: Hash/HMAC Generator, Password Generator, UUID
    • Encoders: URL, Base64, JSON to TOML/XML/YAML, Color Converter
    • Generators: JSON Generator, Lorem Ipsum

    Command Palette

    Jump to spaces, snippets, notes, HTTP requests, and common actions from anywhere with a keyboard-first command palette.

    • Open with Cmd+P on macOS or Ctrl+P on Windows and Linux
    • Search across snippets, notes, HTTP requests, spaces, and commands
    • Run create actions for snippets, notes, HTTP requests, and folders
    • Scope search to a space with @ or open command mode with >

    Imports

    Bring existing work into your vault with preview-first imports for snippets, notes, and API collections.

    • Import snippets from VS Code, Raycast, SnippetsLab, and public GitHub Gists
    • Import markdown notes from Obsidian folders
    • Import HTTP collections from OpenAPI, Postman, and Bruno
    • Review detected items, folders, tags, environments, and warnings before writing anything

    Browser Clipper

    Save web content from Chrome, Firefox, or Safari into the local massCode app.

    • Install the Chrome version from the Chrome Web Store
    • Save selected code as snippets
    • Save selected text or readable page content as notes
    • Save pages or links as HTTP GET requests
    • Connect through the local Integration API with an API token

    AI Assistant

    Ask the built-in assistant to carry out tasks across Code, Notes, and HTTP using your own AI provider account or a local model.

    • Edit and format snippets, organize notes, and update tasks
    • Find records across your vault and use them in a conversation
    • Run HTTP collections with confirmation, explain failed checks, and save reports in Notes
    • Request a preview before edits, adjust a task while it runs, and undo changes that support Undo

    Cloud providers receive the context used for the task; use a model running on your computer for local processing. See the AI Assistant guide for setup and examples.

    MCP Integration

    Connect Claude Code, Codex, Cursor, or VS Code Copilot to your massCode vault through the built-in MCP server.

    • Find and read snippets, notes, and saved HTTP requests from your coding agent
    • Save snippets and notes to folders with tags, and update them with protection against overwriting newer changes
    • Organize folders, move items, and send them to Trash or restore them when you allow changes to existing items
    • Organize and edit HTTP requests in collections
    • Preview and send requests using the active massCode environment, then inspect saved execution history

    See the MCP setup guide to connect your agent.

    Markdown Vault

    Your snippets, notes, and HTTP requests live as plain .md files on disk with frontmatter metadata, so the data stays readable and portable.

    • Git-friendly - track changes and sync via any Git remote
    • Cloud sync - works with iCloud, Dropbox, Google Drive, Syncthing
    • Live sync - massCode watches the vault and picks up external changes in real time
    • No vendor lock-in - your data is always yours

    Custom Themes

    Customize the app UI and editor syntax highlighting with JSON theme files. Supports light and dark themes with live reload. See the theme docs.

    Contributions

    massCode accepts external pull requests only for localizations and new syntax highlighting languages. To report a bug, please open an issue. For feature requests and ideas, start a discussion in GitHub Discussions.

    See CONTRIBUTING.md for details.

    Build Locally

    Prerequisites

    • Node.js (>=20.16.0)
    • pnpm (>= 9.0.0)

    Install Dependencies

    pnpm install
    

    Build

    To build for current platform:

    pnpm build
    

    To build for a specific platform:

    pnpm build:mac    # macOS
    pnpm build:win    # Windows
    pnpm build:linux  # Linux
    

    Development

    To run in development mode:

    pnpm dev
    

    Follow

    License

    AGPL-3.0

    Copyright (c) 2019-present, Anton Reshetov.