#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

#484 in Command line utilities

Download history 1/week @ 2024-02-21 2/week @ 2024-02-28 2/week @ 2024-03-13 115/week @ 2024-03-20 3/week @ 2024-03-27 226/week @ 2024-04-03 242/week @ 2024-04-10 51/week @ 2024-04-17 56/week @ 2024-04-24 58/week @ 2024-05-01 1122/week @ 2024-05-08

1,299 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–19MB
~343K SLoC