Helix Shortcut Quiz
A web quiz built with yew for testing your knowledge of helix editor shortcuts.
Development
Installation
Frontend
If you don't already have it installed, it's time to install Rust: https://www.rust-lang.org/tools/install.
To compile Rust to WASM, we need to have the wasm32-unknown-unknown
target installed. Install it with the following command:
rustup target add wasm32-unknown-unknown
Install trunk:
cargo install trunk
GIF generation
The yew
app serves GIFs generated by vhs
. The current state of vhs
doesn't support the recording of the helix block cursor. The problem lies deeper within the ttyd
dependency which uses the xterm.js
canvas addon.
If you want to generate the GIFs yourself you should go ahead, clone the custom forks I made and use those binaries instead. After building the two binaries place them in the gif_generation/
directory and execute generate_all_gifs.sh
.
Running
trunk serve