|
3 жил өмнө | |
---|---|---|
.vscode | 3 жил өмнө | |
examples | 3 жил өмнө | |
src | 3 жил өмнө | |
tests | 3 жил өмнө | |
.gitignore | 4 жил өмнө | |
Cargo.toml | 3 жил өмнө | |
README.md | 3 жил өмнө | |
test.html | 3 жил өмнө |
The fastest portable TUIs in the west 🔫🤠🔫 🐎🔥🔥🔥
Rink lets you build terminal user interfaces in Rust with Dioxus.
You can use html-esque semantics with stylesheets, inline styles, tree hierarchy, components, etc, but your Tui app is probably not going to work well or look good in the web. It still technically is a limited subset of HTML, so use at your own risk.
static App: FC<()> = |cx| {
cx.render(rsx!{
div {
width: "100%",
height: "10px",
background_color: "red",
justify_content: "center",
align_items: "center",
"Hello world!"
}
})
}
Rink is basically a port of [Ink]() but for Rust and Dioxus. Rink doesn't depend on Node.js or any other JavaScript runtime, so your binaries are portable and beautiful.
Rink features:
HTML elements supported:
CSS Supported: