Skip to content

jw-12138/m42

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

M42

m42 (message for two) is an Instant Messaging App.

m42

Features

  • 🔐 end-to-end encryption
  • ☝️ no group chat, 1-on-1 only
  • 😎 no chat history stored
  • 🫣 no login needed
  • 🫡 1-end session
  • ☠️ self-destroy room when no activity
  • ⚙️ easy deploy

Deploy

Prerequisites

  • nodejs 12+
  • npm 6+
# clone repo
git clone https://github.com/jw-12138/m42.git
cd m42

# copy `env_temp` to `.env`
# Linux / macOS
cp env_temp .env
# Windows
copy env_temp .env

# install dependencies
npm i

# build m42
npm run build

# run m42 server
npm run serve

now visit localhost:5009, enjoy!


development

first stage

  • UI
  • send text
  • security
    • self-destroy when no activity
    • 1-end session
    • end-to-end encryption

second stage

  • send images and files
  • user selectable theme
  • push notification
  • notification sound