rust-editor
rust-editor copied to clipboard
An implementation of text editor with Rust/WebAssembly.
rust-editor
WIP
An implementation of text editor with Rust/WebAssembly.

This is a hobby project just for my study, but I'm trying to make it as much as practical.
This editor is roughly based on kilo, but has some improvements.
- Support ASCII/UTF-8 encoded texts
- Support Undo/Redo
- Run on terminal in UNIX, and on browser with WebAssembly
NOTE: Some features are not implemented completely.
Demo
https://inokawa.github.io/rust-editor/
Start
CLI
git clone [email protected]:inokawa/rust-editor.git
cd rust-editor
cargo run "path/to/file.txt"
Shortcuts | Action |
---|---|
Ctrl+Z | Undo |
Ctrl+Y | Redo |
Ctrl+F | Search |
Ctrl+S | Save |
Ctrl+Q | Quit |
Web
git clone [email protected]:inokawa/rust-editor.git
cd rust-editor/web
npm install
npm start
References
Thank you for this great tutorial of kilo:
- https://viewsourcecode.org/snaptoken/kilo/
And thank you for other great implementations of kilo:
- https://github.com/rhysd/kiro-editor
- https://github.com/ilai-deutel/kibi
- https://www.philippflenker.com/hecto/
- https://github.com/nkon/ked-texteditor