mdSilo / mdSilo-app

Lightweight Knowledge Base and Feed Reader.
https://mdsilo.com/
GNU Affero General Public License v3.0
579 stars 39 forks source link

Provide webassembly addon system in mdsilo #559

Open amiyatulu opened 1 year ago

amiyatulu commented 1 year ago

Developing all features in mdsilo can be challenging for a single maintainer. Additionally, not all users may like every feature. Implementing an addon system can prove beneficial for customization based on user needs and preferences, which any community developer can build. For example, addons could allow the loading of the PubActivity feed in mdsilo or provide a search engine for RSS feeds. WebAssembly addon can be a good choice.

Better not to use reactjs as frontend and use leptos as fronted that get benefits of rust such as compile time checking and memory safety. Use javascript packages with wasm-bindgen only when rust crates are not available.

danloh commented 10 months ago

For the editor based on React. any way for hybrid dev with React and rust frontend framework?

amiyatulu commented 10 months ago

For the editor based on React. any way for hybrid dev with React and rust frontend framework?

Though most javascript packages can be used with rust front end framework, but not react packages yet.

But for what purpose you need react packages? Most ecosystem packages already exists with leptos or yew. Like leptos-use or yew hooks, the basic things that react packages do.

Drake42 commented 7 months ago

Why would adding webassembly addons only allow people to create addons in react or rust and not either?