https://github.com/lucascompython/ratatui-jvm
https://github.com/lucascompython/ratatui-jvm
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/lucascompython/ratatui-jvm
- Owner: lucascompython
- License: gpl-3.0
- Created: 2024-05-16T00:09:53.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-16T19:38:17.000Z (almost 2 years ago)
- Last Synced: 2025-01-05T09:28:11.535Z (about 1 year ago)
- Language: Rust
- Size: 75.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ratatui bindings for Java/JVM
This is a Java/JVM binding for the [Ratatui](https://github.com/ratatui-org/ratatui) library.
This project uses the [FFM API](https://openjdk.org/jeps/454) that was introduced in Java 22.
## Compiling
```bash
# Compile the Rust library
cd rust
cargo build --release
# Download the jextract files if you haven't already
cd ../jextract
./setup
# Compile the Java Bindings
cd ../java/Ratatui-JVM
./gradlew run
# If it doesn't work, try running the following command
./gradlew installDist
# then
./build/install/Ratatui-JVM/bin/Ratatui-JVM # with the proper environment variable
```