Skip to content

oetzilabs/better-opentui

Repository files navigation

better-opentui

(the name is WIP and a joke, I don't really think its "better")

I made this library from "scratch" by looking at the OpenTUI codebase and trying to understand it.

"better-opentui" is an experimental reimplementation of OpenTUI, a toolkit for building terminal user interfaces with Effect-TS (website), Effect-TS (github) and Zig.

THERE WILL BE A LOT OF BREAKING CHANGES, SINCE THIS IS A WORK IN PROGRESS.

Usage

To install dependencies:

bun install

This also checks if you have zig installed and if not, it will install it for you, and build the zig project under this directory.

Examples:

bun run examples/styled-text.ts
bun run examples/multi-select.ts
bun run examples/file-select.ts

Acknowledgements

A big thanks to @sst, @kommander and every contributor for their work on OpenTUI and making it available as MIT licensed code for everyone to use.

(I copy pasted the MIT License from the OpenTUI repository, I hope that's fine)

About

reimplementation of sst/opentui with Effect-TS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages