#plant-uml #sql #mermaid #postgresql

bin+lib sqlant

Generate PlantUML/Mermaid ER diagram textual description from SQL connection string

9 releases

0.3.1 Apr 14, 2024
0.3.0 Apr 4, 2024
0.2.0 Oct 29, 2023
0.1.5 Apr 25, 2023
0.1.0 Aug 30, 2022

#514 in Command line utilities

Download history 657/week @ 2024-06-15 42/week @ 2024-06-22 108/week @ 2024-06-29 62/week @ 2024-07-06 37/week @ 2024-07-13 42/week @ 2024-07-20 130/week @ 2024-07-27 46/week @ 2024-08-03 50/week @ 2024-08-10 39/week @ 2024-08-17 51/week @ 2024-08-24 62/week @ 2024-08-31 54/week @ 2024-09-07 54/week @ 2024-09-14 55/week @ 2024-09-21 141/week @ 2024-09-28

321 downloads per month

MIT license

37KB
875 lines

sqlant

Generate PlantUML/Mermaid ER diagram textual description from SQL connection string
Inspired by planter

Currently, supports only PostgreSQL NoTls connection

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

cargo install sqlant

Usage

PlantUML

sqlant postgresql://sqlant_user:sqlant_pswd@localhost/sqlant_db

example link

postgresql://sqlant_user:sqlant_pswd@localhost/sqlant_db -o mermaid

Mermaid

image

Dependencies

~8–17MB
~245K SLoC