Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Extrawurst/rust-webview-todomvc-yew
lightweight desktop todomvc implementation using rust,wasm and web-view
https://github.com/Extrawurst/rust-webview-todomvc-yew
rust rust-lang todomvc wasm webview
Last synced: 3 months ago
JSON representation
lightweight desktop todomvc implementation using rust,wasm and web-view
- Host: GitHub
- URL: https://github.com/Extrawurst/rust-webview-todomvc-yew
- Owner: extrawurst
- Created: 2019-11-13T15:13:23.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-20T22:02:48.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T19:46:56.266Z (6 months ago)
- Topics: rust, rust-lang, todomvc, wasm, webview
- Language: Rust
- Homepage:
- Size: 951 KB
- Stars: 106
- Watchers: 2
- Forks: 8
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-yew - web-view todomvc desktop app - Demo how to use yew for a todomvc that compiles to WebAssembly and is bundled as a lightweight(~2mb) desktop app by [web-view](https://github.com/Boscop/web-view), as an alternative to Electron, [web-view](https://github.com/Boscop/web-view) also has a [demo](https://github.com/Boscop/web-view/tree/master/examples#todo-yew). (Projects)
README
![screenshot](/image.png)
## rust todomvc desktop app
Demo how to use [yew](https://github.com/yewstack/yew) for a [todomvc](http://todomvc.com) implementation written in **rust** that compiles to **wasm** and is bundled as a lightweight desktop app using [web-view](https://github.com/Boscop/web-view) and serves it's static files using [hyper](https://github.com/hyperium/hyper).
This prduces a slim **~2 mb** executable compared to hundreds with [electron](https://github.com/electron/electron).
## run
use `make run` to try it.
this requires `cargo web` to be installed.