#applications #notes #wasm #zettelkasten #data #index #models

eingang

Take notes using Zettelkasten method with Markdown files (base)

1 unstable release

0.1.0 Jan 30, 2021

#8 in #zettelkasten

23 downloads per month
Used in 2 crates

MIT license

14KB
433 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

~1.7–2.9MB
~52K SLoC