#notes #front-end #markdown #storage #applications #zettelkasten #eingang

eingang-frontend

Take notes using Zettelkasten method with Markdown files (frontend)

1 unstable release

0.1.0 Jan 30, 2021

#10 in #zettelkasten

MIT license

23KB
590 lines

Eingang

Minimal note taking application via WASM & Rust.

Stages

  • Interactive session example
  • Temporary storage of data (across reloads)
  • Temporary storage of data (across sessions)
  • Use common crate for models between backend and frontend
  • Enable persistent storage of data (on disk) for Backend API
  • Use safe/load from persistent storage via Backend API

Todo

  • Implement similar structure like todo example here.

Usage

First, generate the WASM bindings and save them in ./static/. Afterwards, serve the files using any web server e.g. miniserve.

  1. Build WASM bindings
make build  # or wasm-pack build --target web --out-name wasm --out-dir ../static ./frontend/
  1. Serve files
make serve  # or miniserve ./static --index index.html

The default make command is make serve. Erase all created files via following command:

make clean  # or rm -f ./static/wasm* ./static/package.json

Dependencies

~4.5–6.5MB
~114K SLoC