2 unstable releases
0.4.0 | Aug 5, 2023 |
---|---|
0.3.0 | Jul 2, 2023 |
#530 in Text editors
26 downloads per month
Used in 2 crates
(via ultron-web)
2MB
26K
SLoC
Ultron
A very simple web base editor with syntax highlighting and theming. It also has undo/redo support
Pre-requisite
- rust with wasm32-unknown-unknown toolchain
- wasm-pack
- basic-http-server
- just
cargo install basic-http-server
cargo install just
Build and run the editor
git clone https://github.com/ivanceras/ultron.git
cd ultron
just serve
Then, navigate to http://localhost:4004
Demo
What is working?
- syntax highlighting
- undo -
- redo -
What's lacking?
- key composition, ie: typing unicode character
- auto-indent
- auto-pair
- remapping
- Selection
- Cut
- Copy
- Paste
Dependencies
~6–14MB
~160K SLoC