#plant-uml #sql #mermaid #postgresql #cli

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

#472 in Command line utilities

Download history 1/week @ 2024-02-18 2/week @ 2024-02-25 2/week @ 2024-03-10 116/week @ 2024-03-24 192/week @ 2024-03-31 119/week @ 2024-04-07

427 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

~9–21MB
~353K SLoC