Boilerplate to write plugins in Rust šŸ¦€

Might be better for share. But if you are a rust developer now you have a starter project to let you write Obsidian plugins in Rust using wasm-pack/rollup!

Motivation

After one too many hours fighting with node_modules and rollup I had the thought what if I only kept a small javascript shell and wrote all my code in Rust. Well, it works with some small hacks to embed the wasm module as a big base64 string generated js.

12 Likes

Thank you for sharing! Iā€™m just getting introduced to Obsidian plugin creation. Do you know if this WASM approach work for the Android Obsidian app as well?