Skip to content

massCodeIO/massCode

massCode

massCode

A free, open-source code snippet manager to create, organize, and instantly access your personal snippet library.

Built with Electron, Vue & Codemirror.
Inspired by applications like SnippetsLab and Quiver.

GitHub package.json version GitHub All Releases GitHub

Latest Release | Documentation | Change Log

Extensions: VS Code | Raycast

SPONSORS

 

Support

massCode is an open-source project and completely free to use.

Maintaining and adding new features requires significant time and effort. If you find massCode useful, consider supporting its development. Your contribution helps keep the project alive and moving forward.

You can support massCode through the following channels:

Donate via Open Collective Donate via PayPal Donate via Ko-Fi

Features

Organization

Organize your snippets with multi-level folders and tags. Each snippet can contain multiple fragments (tabs), giving you fine-grained control over structure and grouping.

Editor

Built on CodeMirror with .tmLanguage grammars for syntax highlighting.

  • Supports over 600 grammars, with 160+ available out of the box.
  • Integrated Prettier for clean, consistent code formatting.

Real-time HTML & CSS Preview

Write and instantly preview HTML and CSS snippets. Perfect for prototyping, testing ideas, or quick visual checks.

Markdown

Full Markdown support with syntax highlighting, tables, lists, and more.

  • Integrated Mermaid for dynamic diagrams and charts.

Presentation Mode

Turn a sequence of snippets into a presentation. Useful for classrooms, team meetings, conference talks, or simply walking through your own notes.

Mindmap

Generate mind maps from Markdown. Fast, intuitive, and ideal for structuring and visualizing ideas.

Integrations

Extend your workflow with:

Beautiful Screenshots

Export snippets as polished images with customizable themes and backgrounds.

Developer Tools

Handy built-in utilities for everyday dev tasks:

  • Text Tools: Case Converter, Slug Generator, URL Parser
  • Crypto & Security: Hash/HMAC, Password Generator, UUID
  • Encoders/Decoders: URL, Base64, JSON ⇄ TOML/XML/YAML, Text ⇄ ASCII/Binary/Unicode, Color Converter

Overview

massCode was created as a personal learning project and evolved into an open-source tool. The goal: combine the best features of snippet managers (free and paid) into one flexible, developer-friendly application.

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

This will start the application with hot reloading.

Troubleshooting

If you encounter the error message "massCode" is damaged and can't be opened. You should move it to the Trash while installing software on macOS, it may be due to security settings restrictions in macOS. To solve this problem, please try the following command in Terminal:

sudo xattr -r -d com.apple.quarantine /Applications/massCode.app

Follow

License

AGPL-3.0

Copyright (c) 2019-present, Anton Reshetov.