https://github.com/mikaelhg/puni2
PlantUML native image with GraalVM
https://github.com/mikaelhg/puni2
graalvm native-image plantuml
Last synced: 5 months ago
JSON representation
PlantUML native image with GraalVM
- Host: GitHub
- URL: https://github.com/mikaelhg/puni2
- Owner: mikaelhg
- License: mit
- Created: 2022-07-29T11:41:57.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-11-01T02:30:36.000Z (8 months ago)
- Last Synced: 2025-11-01T04:14:36.139Z (8 months ago)
- Topics: graalvm, native-image, plantuml
- Language: Shell
- Homepage:
- Size: 24.4 KB
- Stars: 11
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PlantUML native image with GraalVM
PlantUML is a tool for visualizing documentation.
It is sometimes convenient to have a tool available as a simple Linux binary
executable file, rather than a Java application, requiring a separate JDK
installation. One specific use case for this is continuous integration (CI).
This project uses GraalVM to generate and distribute this binary.
The predecessor project, which had required its developer to shed quite a bit of
blood, sweat and tears, is https://github.com/vektory79/plantuml-native-image.
This project starts from scratch, since over the intervening two years, GraalVM
has advanced significantly, requiring quite a bit less custom work for each
application.
## NOTICE!
This repository will likely not be updated in the future, due to the
official PlantUML repository having gained GraalVM native-image CI/CD
pipeline scripts, and the maintainer having switched to
[d2](https://d2lang.com/) and [Mermaid](https://mermaid.js.org/).
## Usage
```bash
./run.sh
./out/plantuml-1.2022.6-glibc-x86_64 -headless -help
PLANTUML_VERSION=1.2022.5 ./run.sh
./out/plantuml-1.2022.5-glibc-x86_64 -headless -help
```
## Running the binary on Alpine
```bash
apk add gcompat libstdc++ fontconfig ttf-dejavu ttf-liberation graphviz
```