13 unstable releases (4 breaking)
0.5.0 | Feb 2, 2025 |
---|---|
0.4.0 | Nov 11, 2024 |
0.3.4 | Nov 10, 2024 |
0.3.1 | Apr 14, 2024 |
0.1.3 | Oct 10, 2022 |
#481 in Command line utilities
295 downloads per month
43KB
1K
SLoC
sqlant
Generate PlantUML/Mermaid ER diagram textual description from SQL connection string
Inspired by planter
Why created
I like the idea of planter and I use it in
internal confluence documentation with PlantUML plugin for my projects.
But I want to make it better
Installation
Compiled Binary (Linux only)
Download the binary file from releases page
Docker (Compressed size around 6MB)
The Docker image contains the sqlant
binary and serves as a wrapper for executing it.
link
docker pull kurotych/sqlant:latest
Cargo
cargo install sqlant
Usage
PlantUML
Binary
sqlant postgresql://sqlant_user:sqlant_pswd@localhost/sqlant_db --legend -e
Docker
docker run --network host kurotych/sqlant postgresql://sqlant_user:sqlant_pswd@localhost/sqlant_db
postgresql://sqlant_user:sqlant_pswd@localhost/sqlant_db -o mermaid
Mermaid
Dependencies
~9–22MB
~340K SLoC