https://github.com/ivanceras/ultron
Web base text editor written in rust
https://github.com/ivanceras/ultron
Last synced: 7 months ago
JSON representation
Web base text editor written in rust
- Host: GitHub
- URL: https://github.com/ivanceras/ultron
- Owner: ivanceras
- License: mit
- Created: 2021-01-13T06:27:26.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-04T07:57:40.000Z (almost 2 years ago)
- Last Synced: 2024-04-13T20:53:58.307Z (over 1 year ago)
- Language: Erlang
- Size: 5.68 MB
- Stars: 62
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
[Install rust](https://www.rust-lang.org/tools/install)
[wasm-pack](https://rustwasm.github.io/wasm-pack/installer/)
```
cargo install basic-http-server
cargo install just
```
## Build and run the editor
```sh
git clone https://github.com/ivanceras/ultron.git
cd ultron
just serve
```
Then, navigate to http://localhost:4004
## Demo
[link](https://ivanceras.github.io/ultron)
## 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