[[file:rusticify.gif]]
* Inspiration I use lucid.app at work quite often to brainstorm ideas with colleagues or even solo. I often share the ideas via sharing lucid.app diagrams or just screenshot of it. I don't use banch of features there. Just simple rectangles, arrows, why not build something similiar in rust, for the sake of learning rust and having some *fun?
** What's implemented
- β
add/remove rectangle
- β
rectangle resizing
- β
rectangle repositioning
- β
wrapped text inside rectangles
- β
paste screenshot from clipboard
- β
connect nodes with arrows
- β
make app snapshot in memory and load from it (command + s[l])
- β
save app state to file and load from it (command + shift + s[l] or Save[Load] button)
- β
change background color of rectangle
- β
move rectangle to front/back
- β
positioning text in rectangle
- β
introduce tabs
- β
buttons to cut/copy/paste text in rectangle and open all links in rectangle
** Run
Tested only on MacOS, should work on Linux and Windows as well
cargo r
It runs on wasm as well, but it's not very useful, since it doesn't have clipboard/file system features, also only landscape mode is supported.
cargo r --target wasm32-unknown-unknown --release wasm-server-runner target/wasm32-unknown-unknown/release/rusticify.wasm
** Pre-commit actions
cargo fmt cargo clippy --fix --allow-staged -- -A clippy::type_complexity
** Screenshot [[file:rusticify.png]]
Contributions are always welcome! Please adhere to this project's code of conduct.