You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-3Lines changed: 13 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
8
8
> **Alpha** — under active development; APIs may change between releases.
9
9
10
-
Rezi is a TypeScript/Node.js terminal UI framework with a native rendering engine (Zireael).
10
+
Rezi is a TypeScript terminal UI framework for Node.js and Bun, with a native rendering engine (Zireael).
11
11
You build UIs in TypeScript while Rezi emits compact drawlists and delegates terminal diff/present to native code.
12
12
13
13
In our terminal benchmark suite (`120x40`, PTY mode), Rezi is consistently in the same performance class as native TUIs: slightly slower than ratatui (Rust) by a low single-digit multiplier, while remaining substantially faster than classic JS TUI stacks in the same scenarios.
Copy file name to clipboardExpand all lines: docs/getting-started/faq.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
### What is Rezi?
6
6
7
-
Rezi is a code-first terminal UI framework for Node.js. It provides a declarative widget API for building rich terminal applications with features like automatic focus management, theming, and keyboard navigation.
7
+
Rezi is a code-first terminal UI framework for Node.js and Bun. It provides a declarative widget API for building rich terminal applications with features like automatic focus management, theming, and keyboard navigation.
8
8
9
9
### Is Rezi like React for the terminal?
10
10
@@ -27,9 +27,12 @@ Rezi supports:
27
27
28
28
Prebuilt native binaries are included for all supported platforms.
29
29
30
-
### What Node.js versions are supported?
30
+
### What runtime versions are supported?
31
31
32
-
Rezi requires Node.js 18 or later (18.18+ recommended).
32
+
Rezi supports:
33
+
34
+
- Node.js 18+ (18.18+ recommended)
35
+
- Bun 1.3+
33
36
34
37
## Architecture
35
38
@@ -48,7 +51,7 @@ This architecture enables high performance while keeping the TypeScript code por
48
51
49
52
`@rezi-ui/core` is runtime-agnostic by design. It contains no Node.js-specific APIs (no `Buffer`, `worker_threads`, `fs`, etc.).
50
53
51
-
The Node.js integration is provided by `@rezi-ui/node`. Additional backends for other runtimes (Deno, Bun, etc.) could be implemented using the same core package.
54
+
Node.js and Bun integration is provided by `@rezi-ui/node`. Additional backends for other runtimes (for example Deno) could be implemented using the same core package.
You should see a counter UI. Use Tab to navigate between buttons, Enter to activate them, and 'q' to quit. You can also click the buttons with the mouse if your terminal supports mouse tracking.
81
104
82
105
## Understanding the Code
@@ -91,7 +114,7 @@ const app = createApp<State>({
91
114
```
92
115
93
116
-`createApp<State>` creates a typed application instance
94
-
-`backend` specifies the rendering backend (Node.js in this case)
117
+
-`backend` specifies the rendering backend (`@rezi-ui/node` for Node.js and Bun)
95
118
-`initialState` provides the initial application state
0 commit comments