# massCode

> Project is no longer maintained, and may have bugs and security issues. Feel free to fork but no pull request or security alert will be answered. 
> 
> This is the repository for massCode v1. A new version of massCode is available in this [repository](https://github.com/massCodeIO/massCode).


A free and open source code snippets manager for developers.

<p align="center">
  <img src="./logo.png" width="80">
</p>
<p align="center">
  <img alt="GitHub Workflow Status" src="https://img.shields.io/github/workflow/status/antonreshetov/massCode/CI">
  <img alt="GitHub package.json version" src="https://img.shields.io/github/package-json/v/antonreshetov/massCode">
  <img alt="GitHub All Releases" src="https://img.shields.io/github/downloads/antonreshetov/massCode/total">
  <img alt="GitHub" src="https://img.shields.io/github/license/antonreshetov/massCode">
</p>
<p align="center">
  <img src="./preview.png">
</p>
<p align="center">
  <strong>Built with Electron, Vue & Monaco editor.</strong>
  <br>
  Inspired by applications like SnippetsLab and Quiver.
</p>
<p align="center">
  <a href="https://masscode.io">Official Website</a> | <a href="https://masscode.io/documentation">Documentation</a> | <a href="https://masscode.io/releases">Change Log</a>
</p>

## Supporting

**massCode** is open source project and completely free to use.

However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing. You can support massCode development via the following methods:


<div align="center">

[![Donate via Open Collective](https://img.shields.io/badge/donate-open%20collective-blue.svg?style=popout&logo=data:image/svg+xml;base64, )](https://opencollective.com/masscode)
[![Donate via Patreon](https://img.shields.io/badge/donate-patreon-orange.svg?style=popout&logo=patreon)](https://www.patreon.com/antonreshetov)
[![Donate via PayPal](https://img.shields.io/badge/donate-paypal-blue.svg?style=popout&logo=paypal)](https://paypal.me/antonreshetov)
[![Donate via Bitcoin](https://img.shields.io/badge/donate-bitcoin-ff9900.svg?style=popout&logo=bitcoin&logoColor=CCC)](https://blockchain.com/btc/payment_request?address=1GnNU7UGrXyKx5Zd3uDfhCLL716AYBJwAJ&amount=0.00010450&message=Contribution%20to%20massCode)

</div>

## Overview

The goal of creating this application was mostly my own growth as a developer. Also, I wanted this project to absorb the best of such applications already on the market (both free and paid). At the same time, I wanted this project to be an open source project.

massCode allows you to organize snippets using multi-level folders as well as tags. Each snippet has fragments - tabs, which gives even greater level of organization

A snippets manager must not only provide organization of snippets but also have a good code editor. That's why under the hood of massCode there's [Monaco editor](https://microsoft.github.io/monaco-editor/). Monaco is a modern code editor from Microsoft which is used in one of the most popular editor [VS Code](https://code.visualstudio.com/). The editor provides IntelliSense, validation for TypeScript, JavaScript, CSS, LESS, SCSS, JSON, HTML. It's also added a super productive [Emmet](https://emmet.io/) and [Prettier](https://prettier.io/) to code formatter.

## Development

```bash
# install dependencies
yarn
# serve with hot reload
yarn dev
```

## Building

```bash
## build application for production
yarn build
```

## License

[AGPL-3.0](https://github.com/antonreshetov/massCode/blob/master/LICENSE)

Copyright (c) 2019-present, Anton Reshetov.
