/Memoma

Memo app in x platform by Electron

Primary LanguageTypeScriptMIT LicenseMIT

Memoma

A simple memo app.

License: MIT

Lang: NodeJS Lang: TypeScript

FrameWork: Electron

DocStyle: TypeDoc CodeStyle: gts

What's about?

A memo-app that can write markdown, and this app is made by electron.

Demo

demo

Installation

  1. Please download zip file from here.
  2. After unzip it, please execute Memoma.exe.

How To

  1. Create new project or open a project.
  2. Edit file.
  3. Save the project.

Create New Project

  1. Select File->Create New Project or Ctrl + n.
  2. Select the directory which you want to create new project.
  3. Input a project name.
  4. Click save button.

Open Project

  1. Select File->Open Project or Ctrl + o.
  2. Select a project file (.mmm file) and open it.

Edit File

  • Move to next tab: Ctrl + Tab
  • Move to prev tab: Ctrl + Shift + Tab
  • Toggle Preview/Edit: Ctrl + p

Save the Project

  1. Select File->Save Project or Ctrl + s.

For Developers

Introduction

# copy to local
$ git clone https://github.com/narugit/Memoma.git

# package install
$ npm install # npm i

Dev

$ npm run dev

Build

compile

This sources is made by typescript, so you have to compile the files.

We use gts to compile them and you can use this.

$ npm run compile

And then, you must move the compiled files to src/, because the files create in build/.

Below command is a shell script that can move to src/ automatically.

$ npm run movejs
# or you can use this one
$ ./jt.sh

deploy

# For Windows
$ npm run build:win

# For Mac
$ npm run build:win

code lint

$ npm run check [:your_target_file] # you can select the file to check statements.

Documentation

Here is the documentation by generating TypeDoc.

Directory

/
├ docs                      # documentation
│   └ requirement           # system requirement document
├ src                       
│   ├ app
│   │   └ modules           # core modules
│   ├ public
│   │   └ modules           # front modules
│   ├ index.html
│   ├ main.ts
│   └ style.css
├ build-mac.js              # build config for Mac
├ build-win.js              # build config for Windows
├ jt.sh                     # automation scripts
└ README.md                       

Contributors

License

MIT