Scripts2026年7月2日·1 分钟阅读

MassCode

Free open-source developer workspace for code snippets, notes, HTTP requests, calculations, and dev tools. Built with Electron and Vue, local-first.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
MassCode Overview
直接安装命令
npx -y tokrepo@latest install 98cf7981-7615-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

MassCode provides a unified workspace where developers can organize code snippets, write notes in Markdown, send HTTP requests, and perform quick calculations. All data is stored locally in a JSON-based database, giving users full control over their information without relying on cloud services.

What MassCode Does

MassCode lets you create, tag, and search code snippets with syntax highlighting for many programming languages. Beyond snippets, it includes a built-in REST client for testing APIs, a Markdown editor for notes, and a calculator. Snippets can contain multiple fragments (tabs) with different languages, making it easy to group related code together.

Architecture Overview

MassCode is built with Electron for the desktop shell and Vue.js for the user interface. Data is persisted locally using a JSON file-based storage system. The application follows a modular architecture with separate components for snippet management, the REST client, note-taking, and developer tools. An optional VS Code extension allows integration with the editor.

Self-Hosting & Configuration

MassCode runs entirely on your local machine with no server required. After installing, snippets are stored in a configurable local directory. You can change the storage location in settings, making it easy to sync data through services like Dropbox or Git. The application supports importing data from other snippet managers like SnippetsLab and Quiver.

Key Features

  • Multi-fragment snippets with per-fragment language selection
  • Folder and tag organization for snippets
  • Full-text search across all snippets
  • Built-in REST API client for testing endpoints
  • Markdown note editor with live preview
  • Syntax highlighting for numerous languages
  • Local-first storage with configurable data directory
  • VS Code extension for accessing snippets from the editor
  • Cross-platform support (Windows, macOS, Linux)
  • Import from SnippetsLab and other tools

Comparison with Similar Tools

Compared to cloud-based snippet managers like GitHub Gists, MassCode keeps everything local and offline. Unlike Lepton or Snibox, MassCode bundles extra developer tools (REST client, calculator) into a single workspace. Compared to general note-taking apps like Notion, MassCode is purpose-built for code with proper syntax highlighting and fragment-based organization.

FAQ

Is MassCode free? Yes, MassCode is completely free and open source under the AGPL-3.0 license.

Can I sync snippets across devices? MassCode stores data locally, but you can point the storage directory to a synced folder (Dropbox, Google Drive, or a Git repository) to share across machines.

Does MassCode support extensions? There is an official VS Code extension that lets you search and insert snippets directly from VS Code.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产