39 lines
901 B
Markdown
39 lines
901 B
Markdown
# osui
|
|
|
|
`osui` is a Text User Interface (TUI) library written in Rust.
|
|
|
|
# Please Read
|
|
OSUI is still in early development. Which means that the way you interact with OSUI will change.
|
|
Currently we are writing OSUI in Go and we will make a API that can be used by many popular languages like rust
|
|
|
|
Here is the OSUI Go version: https://github.com/orus-dev/osui
|
|
|
|
## Features
|
|
|
|
- **React-Like**: Easily write components.
|
|
- **Cross-Platform Support**: Works on various operating systems.
|
|
- **Flexible Layout**: Easily create and manage complex UIs.
|
|
- **Efficient Performance**: Designed for high performance and low latency.
|
|
|
|
## Installation
|
|
|
|
To use `osui` in your Rust project, run the following:
|
|
|
|
`cargo add osui`
|
|
|
|
```rust
|
|
use osui::{
|
|
components::text,
|
|
oml, App
|
|
};
|
|
|
|
fn main() {
|
|
let mut app = App::new();
|
|
app.set_component(oml!(
|
|
text("Hello, World!";)
|
|
));
|
|
app.run();
|
|
}
|
|
```
|
|
|