Sign inSign up

n1try/mininote

By n1try

•Updated about 5 years ago

Image
0

10K+

n1try/mininote repository overview

⁠ MiniNote

GitHub package.json version GitHub code size in bytes GitHub last commit


A simple, self-hosted, encrypted Markdown note-taking app built with Vue 3⁠, and Express⁠. Check out the hosted demo⁠!

⁠⚠️ Breaking Changes

With the release of version 1.0.0, encryption was introduced. However, due to this non-trivial change, this release is not backwards-compatible with previous versions. Attempting to run version 1.0.0 with a database created with an earlier version will cause the application to crash.

Currently, no automated migration is provided, sorry. To migrate to 1.0.0, you will need to run two parallel instances and manually copy your notes.

⁠⚙️ Requirements

  • NodeJS >= 12.19.0 LTS

⁠⌨️ How to run?

# Clone the repo
$ git clone https://github.com/muety/mininote

# Install backend dependencies
$ yarn

# Install frontend dependencies and build
$ cd webapp && yarn && yarn build && cd ..

# Run
$ yarn start
⁠Use HTTPS for backend
  1. Open config.js
  2. Edit the HTTPS_KEY and HTTPS_CERT field, and insert the file locations at which your private key and site certifications are stored.
  3. Launch the backend server -> To switch back to the HTTP server, nullify either field and relaunch again.

⁠🐳 How to run with Docker?

# Create a persistent volume
$ docker volume create mininote-data

# Run the container
$ docker run -d -p 3000:3000 -v mininote-data:/app/data --name mininote n1try/mininote

⁠🔒 Encryption

MiniNote features encryption, i.e. every note's title and content are encrypted on the client-side (i.e. in your browser) using symmetric AES-GCM provided by the Web Crypto API⁠. However, a notebook's password is used to derive the encryption key. That is, encryption is only as strong as your password⁠. Moreover, although notes are sent to the server encryptedly, this cannot be considered true end-to-end encryption, since the server technically has a chance to log your password the moment you create a new notebook in the first place. MiniNote aims for a decent level of security, but does not claim to be NSA-proof.

⁠🧑‍💻 Contributing

Feel free to contribute! All contributions that add value to the project are welcome. However, please be aware that you are not done after having opened a PR. In order to keep quality high, it is expected that you implement change requests and react to comments within an adequate time, until your code is merged. Otherwise your PRs will be closed after a while, sorry!

⁠📓 License

MIT @ Ferdinand Mütsch⁠

Tag summary

Content type

Image

Digest

Size

216 MB

Last updated

about 5 years ago

docker pull n1try/mininote